[FFmpeg-devel] [PATCH] ffmpeg_opt: deprecate the hwaccel_lax_profile_check option

Jun Zhao mypopydev at gmail.com
Fri Oct 13 10:07:43 EEST 2017


-------------- next part --------------
From 40c45849b5146688ce6f88ca4fe20b771fb2de46 Mon Sep 17 00:00:00 2001
From: Jun Zhao <jun.zhao at intel.com>
Date: Fri, 13 Oct 2017 02:53:01 -0400
Subject: [PATCH] ffmpeg_opt: deprecate the hwaccel_lax_profile_check option

deprecate hwaccel_lax_profile_check. This only was used for VAAPI
hwaccel decoder, now use per-stream hwaccel_flags for all hwaccel
decoders.

Signed-off-by: Jun Zhao <jun.zhao at intel.com>
---
 fftools/ffmpeg_opt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 100fa76e46..f1c96ce08c 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -100,7 +100,7 @@ const HWAccel hwaccels[] = {
 #endif
     { 0 },
 };
-int hwaccel_lax_profile_check = 0;
+attribute_deprecated int hwaccel_lax_profile_check = 0;
 AVBufferRef *hw_device_ctx;
 HWDevice *filter_hw_device;
 
-- 
2.11.0



More information about the ffmpeg-devel mailing list