src_movie: switch to filter_frame

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-11-28 21:58:45 +01:00
parent f7f6f281dd
commit eb1424b4fe
1 changed files with 1 additions and 4 deletions

View File

@ -572,10 +572,7 @@ static int movie_push_frame(AVFilterContext *ctx, unsigned out_id)
case AVMEDIA_TYPE_VIDEO: case AVMEDIA_TYPE_VIDEO:
if (!movie->frame->sample_aspect_ratio.num) if (!movie->frame->sample_aspect_ratio.num)
buf->video->sample_aspect_ratio = st->st->sample_aspect_ratio; buf->video->sample_aspect_ratio = st->st->sample_aspect_ratio;
ff_start_frame(outlink, buf); /* Fall through */
ff_draw_slice(outlink, 0, outlink->h, 1);
ff_end_frame(outlink);
break;
case AVMEDIA_TYPE_AUDIO: case AVMEDIA_TYPE_AUDIO:
ff_filter_frame(outlink, buf); ff_filter_frame(outlink, buf);
break; break;