Browse Source

Fix issue2619.

regression introduced in 1762d9ced7

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer 14 years ago
parent
commit
5c20c81bfa
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ffmpeg.c

+ 2
- 1
ffmpeg.c View File

@@ -1698,7 +1698,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
av_init_packet(&opkt);

if ((!ost->frame_number && !(pkt->flags & AV_PKT_FLAG_KEY)) && !copy_initial_nonkeyframes)
continue;
goto cont;

/* no reencoding needed : output the packet directly */
/* force the input stream PTS */
@@ -1746,6 +1746,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
ost->frame_number++;
av_free_packet(&opkt);
}
cont:
#if CONFIG_AVFILTER
frame_available = (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO) &&
ost->output_video_filter && avfilter_poll_frame(ost->output_video_filter->inputs[0]);


Loading…
Cancel
Save