lavd/avfoundation: Remove unused -frame_rate option.
This commit is contained in:
parent
5e8e2f3861
commit
0ea54d698b
@ -81,7 +81,6 @@ typedef struct
|
|||||||
{
|
{
|
||||||
AVClass* class;
|
AVClass* class;
|
||||||
|
|
||||||
float frame_rate;
|
|
||||||
int frames_captured;
|
int frames_captured;
|
||||||
int audio_frames_captured;
|
int audio_frames_captured;
|
||||||
int64_t first_pts;
|
int64_t first_pts;
|
||||||
@ -823,7 +822,6 @@ static int avf_close(AVFormatContext *s)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const AVOption options[] = {
|
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" },
|
{ "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" },
|
{ "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" },
|
{ "false", "", 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, AV_OPT_FLAG_DECODING_PARAM, "list_devices" },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user