[FFmpeg-cvslog] v4l2: set default standard to NULL
Stefano Sabatini
git at videolan.org
Tue Jun 7 13:43:13 CEST 2011
ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Tue Jun 7 13:36:06 2011 +0200| [3251af90379e69faf7b13e2d0236056c37bb0922] | committer: Stefano Sabatini
v4l2: set default standard to NULL
It was errouneously changed to "NTSC" by the recent merge commit.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3251af90379e69faf7b13e2d0236056c37bb0922
---
libavdevice/v4l2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 117f7cc..7223654 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -710,7 +710,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 },
{ "pixel_format", "", OFFSET(pixel_format), FF_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC },
More information about the ffmpeg-cvslog
mailing list