[FFmpeg-cvslog] ffplay: fix sws_flags
Michael Niedermayer
git at videolan.org
Mon Jan 14 00:25:01 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Dec 31 18:30:03 2012 +0100| [2d8d63a9a07c8dca3587bd2a7b3ac56b2cbbeb24] | committer: Michael Niedermayer
ffplay: fix sws_flags
Fixes Ticket45
Reviewed-by: Marton Balint <cus at passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d8d63a9a07c8dca3587bd2a7b3ac56b2cbbeb24
---
ffplay.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ffplay.c b/ffplay.c
index b23cec2..428c78e 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1753,6 +1753,7 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c
if (!buffersink_params)
return AVERROR(ENOMEM);
+ av_opt_get_int(sws_opts, "sws_flags", 0, &sws_flags);
snprintf(sws_flags_str, sizeof(sws_flags_str), "flags=%"PRId64, sws_flags);
graph->scale_sws_opts = av_strdup(sws_flags_str);
More information about the ffmpeg-cvslog
mailing list