[FFmpeg-cvslog] avdevice/v4l2: use AV_OPT_TYPE_BOOL for use_libv4l2 option
Clément Bœsch
git at videolan.org
Sat Sep 12 18:27:31 CEST 2015
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Fri Sep 11 21:14:59 2015 +0200| [5cae43e718e5226f3ef4cc3132ca83695a7a5cf4] | committer: Clément Bœsch
avdevice/v4l2: use AV_OPT_TYPE_BOOL for use_libv4l2 option
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5cae43e718e5226f3ef4cc3132ca83695a7a5cf4
---
libavdevice/v4l2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 2b38a00..9e8ba1e 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 },
};
More information about the ffmpeg-cvslog
mailing list