Browse Source

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: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
tags/n4.0
Jun Zhao Mark Thompson 7 years ago
parent
commit
2e94490225
2 changed files with 0 additions and 4 deletions
  1. +0
    -1
      fftools/ffmpeg.h
  2. +0
    -3
      fftools/ffmpeg_opt.c

+ 0
- 1
fftools/ffmpeg.h View File

@@ -624,7 +624,6 @@ extern const AVIOInterruptCB int_cb;

extern const OptionDef options[];
extern const HWAccel hwaccels[];
extern int hwaccel_lax_profile_check;
extern AVBufferRef *hw_device_ctx;
#if CONFIG_QSV
extern char *qsv_device;


+ 0
- 3
fftools/ffmpeg_opt.c View File

@@ -100,7 +100,6 @@ const HWAccel hwaccels[] = {
#endif
{ 0 },
};
int hwaccel_lax_profile_check = 0;
AVBufferRef *hw_device_ctx;
HWDevice *filter_hw_device;

@@ -3640,8 +3639,6 @@ const OptionDef options[] = {
{ "autorotate", HAS_ARG | OPT_BOOL | OPT_SPEC |
OPT_EXPERT | OPT_INPUT, { .off = OFFSET(autorotate) },
"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 */
{ "aframes", OPT_AUDIO | HAS_ARG | OPT_PERFILE | OPT_OUTPUT, { .func_arg = opt_audio_frames },


Loading…
Cancel
Save