[FFmpeg-cvslog] src_movie: switch to filter_frame
Michael Niedermayer
git at videolan.org
Wed Nov 28 22:03:28 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Nov 28 21:58:45 2012 +0100| [eb1424b4fef287f2cdb5e66254d693c4e2304659] | committer: Michael Niedermayer
src_movie: switch to filter_frame
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb1424b4fef287f2cdb5e66254d693c4e2304659
---
libavfilter/src_movie.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c
index ce022b1..4a15210 100644
--- a/libavfilter/src_movie.c
+++ b/libavfilter/src_movie.c
@@ -572,10 +572,7 @@ static int movie_push_frame(AVFilterContext *ctx, unsigned out_id)
case AVMEDIA_TYPE_VIDEO:
if (!movie->frame->sample_aspect_ratio.num)
buf->video->sample_aspect_ratio = st->st->sample_aspect_ratio;
- ff_start_frame(outlink, buf);
- ff_draw_slice(outlink, 0, outlink->h, 1);
- ff_end_frame(outlink);
- break;
+ /* Fall through */
case AVMEDIA_TYPE_AUDIO:
ff_filter_frame(outlink, buf);
break;
More information about the ffmpeg-cvslog
mailing list