[FFmpeg-cvslog] lavd/avfoundation: Remove unused -frame_rate option.

Carl Eugen Hoyos git at videolan.org
Wed Nov 12 13:00:17 CET 2014


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed Nov 12 09:55:11 2014 +0100| [0ea54d698be613465d92a82495001ddabae128b0] | committer: Carl Eugen Hoyos

lavd/avfoundation: Remove unused -frame_rate option.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ea54d698be613465d92a82495001ddabae128b0
---

 libavdevice/avfoundation.m |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index e756225..1207cbf 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" },



More information about the ffmpeg-cvslog mailing list