diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-28 20:47:17 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-28 21:18:01 +0200 |
commit | af344a69f3a8240b508183586617fba6af698bb2 (patch) | |
tree | 69c286aa664d5e2950d40eb5e7b404ce6aa15e1f /libavdevice | |
parent | f8f3f6c40bb452bb716096f455391f3fba324190 (diff) | |
download | ffmpeg-af344a69f3a8240b508183586617fba6af698bb2.tar.gz |
v4l2: set default standard to NULL
Avoid a failure with the default value of "NTSC". Not all drivers
support a standard.
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index d06ec29a87..deffa92280 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -717,7 +717,7 @@ static int v4l2_read_close(AVFormatContext *s1) #define DEC AV_OPT_FLAG_DECODING_PARAM static const AVOption options[] = { - { "standard", "", OFFSET(standard), FF_OPT_TYPE_STRING, {.str = "NTSC" }, 0, 0, AV_OPT_FLAG_DECODING_PARAM }, + { "standard", "", OFFSET(standard), FF_OPT_TYPE_STRING, {.str = NULL }, 0, 0, AV_OPT_FLAG_DECODING_PARAM }, { "channel", "", OFFSET(channel), FF_OPT_TYPE_INT, {.dbl = 0 }, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM }, { "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(video_size), FF_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC }, { NULL }, |