]> git.sesse.net Git - ffmpeg/commitdiff
lavd/avfoundation: Set correct default value 0 for option capture_raw_data.
authorThilo Borgmann <thilo.borgmann@mail.de>
Mon, 8 Jul 2019 17:52:53 +0000 (19:52 +0200)
committerThilo Borgmann <thilo.borgmann@mail.de>
Mon, 8 Jul 2019 18:02:41 +0000 (20:02 +0200)
libavdevice/avfoundation.m

index 9ef6c3cc1321dffe87bf3b9fb9342a761299eb17..08deecfeeab3a37e7f8b3d57bdb2289c9ef68f15 100644 (file)
@@ -1134,7 +1134,7 @@ static const AVOption options[] = {
     { "video_size", "set video size", offsetof(AVFContext, width), AV_OPT_TYPE_IMAGE_SIZE, {.str = NULL}, 0, 0, AV_OPT_FLAG_DECODING_PARAM },
     { "capture_cursor", "capture the screen cursor", offsetof(AVFContext, capture_cursor), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, AV_OPT_FLAG_DECODING_PARAM },
     { "capture_mouse_clicks", "capture the screen mouse clicks", offsetof(AVFContext, capture_mouse_clicks), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, AV_OPT_FLAG_DECODING_PARAM },
-    { "capture_raw_data", "capture the raw data from device connection", offsetof(AVFContext, capture_raw_data), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, AV_OPT_FLAG_DECODING_PARAM },
+    { "capture_raw_data", "capture the raw data from device connection", offsetof(AVFContext, capture_raw_data), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, AV_OPT_FLAG_DECODING_PARAM },
 
     { NULL },
 };