aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/v4l2.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-09-11 21:14:59 +0200
committerClément Bœsch <clement@stupeflix.com>2015-09-12 18:24:49 +0200
commit5cae43e718e5226f3ef4cc3132ca83695a7a5cf4 (patch)
tree22d79b38f2f745151247b21c2d1785d5a2f83a88 /libavdevice/v4l2.c
parent7a256133ffe895f59fa66bae8132beee6efce153 (diff)
downloadffmpeg-5cae43e718e5226f3ef4cc3132ca83695a7a5cf4.tar.gz
avdevice/v4l2: use AV_OPT_TYPE_BOOL for use_libv4l2 option
Diffstat (limited to 'libavdevice/v4l2.c')
-rw-r--r--libavdevice/v4l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 2b38a00ac6..9e8ba1e5b6 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -1112,7 +1112,7 @@ static const AVOption options[] = {
{ "default", "use timestamps from the kernel", OFFSET(ts_mode), AV_OPT_TYPE_CONST, {.i64 = V4L_TS_DEFAULT }, 0, 2, DEC, "timestamps" },
{ "abs", "use absolute timestamps (wall clock)", OFFSET(ts_mode), AV_OPT_TYPE_CONST, {.i64 = V4L_TS_ABS }, 0, 2, DEC, "timestamps" },
{ "mono2abs", "force conversion from monotonic to absolute timestamps", OFFSET(ts_mode), AV_OPT_TYPE_CONST, {.i64 = V4L_TS_MONO2ABS }, 0, 2, DEC, "timestamps" },
- { "use_libv4l2", "use libv4l2 (v4l-utils) conversion functions", OFFSET(use_libv4l2), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, DEC },
+ { "use_libv4l2", "use libv4l2 (v4l-utils) conversion functions", OFFSET(use_libv4l2), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, DEC },
{ NULL },
};