From 0ea54d698be613465d92a82495001ddabae128b0 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 12 Nov 2014 09:55:11 +0100 Subject: [PATCH] lavd/avfoundation: Remove unused -frame_rate option. --- libavdevice/avfoundation.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index e75622593c..1207cbf038 100644 --- a/libavdevice/avfoundation.m +++ b/libavdevice/avfoundation.m @@ -81,7 +81,6 @@ typedef struct { AVClass* class; - float frame_rate; int frames_captured; int audio_frames_captured; int64_t first_pts; @@ -823,7 +822,6 @@ static int avf_close(AVFormatContext *s) } static const AVOption options[] = { - { "frame_rate", "set frame rate", offsetof(AVFContext, frame_rate), AV_OPT_TYPE_FLOAT, { .dbl = 30.0 }, 0.1, 30.0, AV_OPT_TYPE_VIDEO_RATE, NULL }, { "list_devices", "list available devices", offsetof(AVFContext, list_devices), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, AV_OPT_FLAG_DECODING_PARAM, "list_devices" }, { "true", "", 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, AV_OPT_FLAG_DECODING_PARAM, "list_devices" }, { "false", "", 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, AV_OPT_FLAG_DECODING_PARAM, "list_devices" },