summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-05-16 21:52:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-16 21:52:35 +0200
commit9763420bcc4a50a4c6e9ce2ee46f10de0bc7760c (patch)
tree0e71329f8daa832fe001f3212767efa940296807 /ffmpeg.c
parent198783744e181f047925bf829c69a2a35b85f6ab (diff)
rawdec: Allow overriding top field first.
Iam not sure this is the best way to implement it, but its the simplest and keeps the code seperate from the application. Keeping ffmpeg.c simple and not requireing user apps to duplicate this code. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index d0a5d04660..5373b7593f 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2979,6 +2979,7 @@ static int opt_qscale(const char *opt, const char *arg)
static int opt_top_field_first(const char *opt, const char *arg)
{
top_field_first = parse_number_or_die(opt, arg, OPT_INT, 0, 1);
+ opt_default(opt, arg);
return 0;
}