aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-31 18:30:03 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-13 22:48:28 +0100
commit2d8d63a9a07c8dca3587bd2a7b3ac56b2cbbeb24 (patch)
tree901326c7d0200d8e46f4233d1639d88678f5a56b /ffplay.c
parentd676598f879ba01ddb62f9abe8e17b2e94cb91cd (diff)
downloadffmpeg-2d8d63a9a07c8dca3587bd2a7b3ac56b2cbbeb24.tar.gz
ffplay: fix sws_flags
Fixes Ticket45 Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index b23cec24ee..428c78e747 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);