diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-02 02:07:15 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-11-02 11:25:48 +0200 |
commit | e1c804d883f3cca1b492147a2ac5d0aea7460076 (patch) | |
tree | 0d77d80c5cd154f7e8c5ddcdb4eb30c1f94c1b67 /libavdevice | |
parent | 2b831a59d9ea82ef5d906a58b11c41f51029b16e (diff) | |
download | ffmpeg-e1c804d883f3cca1b492147a2ac5d0aea7460076.tar.gz |
dv1394: Swap the min and max values of the 'standard' option
DV1394_NTSC has a lower value than DV1394_PAL.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/dv1394.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c index 4a637683e4..ce8efa699d 100644 --- a/libavdevice/dv1394.c +++ b/libavdevice/dv1394.c @@ -211,7 +211,7 @@ static int dv1394_close(AVFormatContext * context) } static const AVOption options[] = { - { "standard", "", offsetof(struct dv1394_data, format), AV_OPT_TYPE_INT, {.i64 = DV1394_NTSC}, DV1394_PAL, DV1394_NTSC, AV_OPT_FLAG_DECODING_PARAM, "standard" }, + { "standard", "", offsetof(struct dv1394_data, format), AV_OPT_TYPE_INT, {.i64 = DV1394_NTSC}, DV1394_NTSC, DV1394_PAL, AV_OPT_FLAG_DECODING_PARAM, "standard" }, { "PAL", "", 0, AV_OPT_TYPE_CONST, {.i64 = DV1394_PAL}, 0, 0, AV_OPT_FLAG_DECODING_PARAM, "standard" }, { "NTSC", "", 0, AV_OPT_TYPE_CONST, {.i64 = DV1394_NTSC}, 0, 0, AV_OPT_FLAG_DECODING_PARAM, "standard" }, { "channel", "", offsetof(struct dv1394_data, channel), AV_OPT_TYPE_INT, {.i64 = DV1394_DEFAULT_CHANNEL}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM }, |