Skip to content

Commit

Permalink
lavd/avfoundation: Remove unused -frame_rate option.
Browse files Browse the repository at this point in the history
  • Loading branch information
cehoyos committed Nov 12, 2014
1 parent 5e8e2f3 commit 0ea54d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libavdevice/avfoundation.m
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
{
AVClass* class;

float frame_rate;
int frames_captured;
int audio_frames_captured;
int64_t first_pts;
Expand Down Expand Up @@ -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" },
Expand Down

0 comments on commit 0ea54d6

Please sign in to comment.