diff options
author | Thilo Borgmann <thilo.borgmann@mail.de> | 2019-07-08 19:52:53 +0200 |
---|---|---|
committer | Thilo Borgmann <thilo.borgmann@mail.de> | 2019-07-08 20:02:41 +0200 |
commit | 70a4f46e48da8bc8a547e490f67dde5165227dd8 (patch) | |
tree | 2b0ed19f4be7014bbc4a793c2c5952259220ddfe | |
parent | d16f2fafae10ae99b16f53a34cf1486aafe93907 (diff) | |
download | ffmpeg-streaming-70a4f46e48da8bc8a547e490f67dde5165227dd8.zip ffmpeg-streaming-70a4f46e48da8bc8a547e490f67dde5165227dd8.tar.gz |
lavd/avfoundation: Set correct default value 0 for option capture_raw_data.
-rw-r--r-- | libavdevice/avfoundation.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index 9ef6c3c..08deecf 100644 --- a/libavdevice/avfoundation.m +++ b/libavdevice/avfoundation.m @@ -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 }, }; |