mirror of https://git.ffmpeg.org/ffmpeg.git
src_movie: switch to filter_frame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f7f6f281dd
commit
eb1424b4fe
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue