Commit 2e944902 authored by Jun Zhao's avatar Jun Zhao Committed by Mark Thompson

ffmpeg: remove hwaccel_lax_profile_check option

This has been unused for a long time, and the original purpose has been
replaced by the per-stream hwaccel_flags.
Signed-off-by: 's avatarJun Zhao <jun.zhao@intel.com>
Signed-off-by: 's avatarMark Thompson <sw@jkqxz.net>
parent ae6fe04b
...@@ -624,7 +624,6 @@ extern const AVIOInterruptCB int_cb; ...@@ -624,7 +624,6 @@ extern const AVIOInterruptCB int_cb;
extern const OptionDef options[]; extern const OptionDef options[];
extern const HWAccel hwaccels[]; extern const HWAccel hwaccels[];
extern int hwaccel_lax_profile_check;
extern AVBufferRef *hw_device_ctx; extern AVBufferRef *hw_device_ctx;
#if CONFIG_QSV #if CONFIG_QSV
extern char *qsv_device; extern char *qsv_device;
......
...@@ -100,7 +100,6 @@ const HWAccel hwaccels[] = { ...@@ -100,7 +100,6 @@ const HWAccel hwaccels[] = {
#endif #endif
{ 0 }, { 0 },
}; };
int hwaccel_lax_profile_check = 0;
AVBufferRef *hw_device_ctx; AVBufferRef *hw_device_ctx;
HWDevice *filter_hw_device; HWDevice *filter_hw_device;
...@@ -3640,8 +3639,6 @@ const OptionDef options[] = { ...@@ -3640,8 +3639,6 @@ const OptionDef options[] = {
{ "autorotate", HAS_ARG | OPT_BOOL | OPT_SPEC | { "autorotate", HAS_ARG | OPT_BOOL | OPT_SPEC |
OPT_EXPERT | OPT_INPUT, { .off = OFFSET(autorotate) }, OPT_EXPERT | OPT_INPUT, { .off = OFFSET(autorotate) },
"automatically insert correct rotate filters" }, "automatically insert correct rotate filters" },
{ "hwaccel_lax_profile_check", OPT_BOOL | OPT_EXPERT, { &hwaccel_lax_profile_check},
"attempt to decode anyway if HW accelerated decoder's supported profiles do not exactly match the stream" },
/* audio options */ /* audio options */
{ "aframes", OPT_AUDIO | HAS_ARG | OPT_PERFILE | OPT_OUTPUT, { .func_arg = opt_audio_frames }, { "aframes", OPT_AUDIO | HAS_ARG | OPT_PERFILE | OPT_OUTPUT, { .func_arg = opt_audio_frames },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment