<div dir="ltr">---<br>As briefly discussed with funman on IRC, this option is too advanced/may break/should not be publicly visible.<br>Users who really need it may always specify that in the avcodec-options field, so no functionality is lost.<br>
<br>Cheers,<br> Vittorio<br><br> modules/codec/avcodec/avcodec.c | 4 ----<br> modules/codec/avcodec/avcodec.h | 3 ---<br> modules/codec/avcodec/video.c | 5 -----<br> 3 files changed, 12 deletions(-)<br><br>diff --git a/modules/codec/avcodec/avcodec.c b/modules/codec/avcodec/avcodec.c<br>
index d85a2ea..4efafd4 100644<br>--- a/modules/codec/avcodec/avcodec.c<br>+++ b/modules/codec/avcodec/avcodec.c<br>@@ -128,10 +128,6 @@ vlc_module_begin ()<br> SKIPLOOPF_LONGTEXT, false)<br> change_safe ()<br>
change_integer_list( nloopf_list, nloopf_list_text )<br>-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 54, 41, 0 )<br>- add_bool( "avcodec-ignorecrop", false, IGNORECROP_TEXT, IGNORECROP_LONGTEXT,<br>
- true )<br>-#endif<br> <br> add_obsolete_integer( "ffmpeg-debug" ) /* removed since 2.1.0 */<br> add_integer( "avcodec-debug", 0, DEBUG_TEXT, DEBUG_LONGTEXT,<br>diff --git a/modules/codec/avcodec/avcodec.h b/modules/codec/avcodec/avcodec.h<br>
index b8b77c0..7551ab5 100644<br>--- a/modules/codec/avcodec/avcodec.h<br>+++ b/modules/codec/avcodec/avcodec.h<br>@@ -109,9 +109,6 @@ int ffmpeg_OpenCodec( decoder_t *p_dec );<br> "Force skipping of idct to speed up decoding for frame types " \<br>
"(-1=None, 0=Default, 1=B-frames, 2=P-frames, 3=B+P frames, 4=all frames)." )<br> <br>-#define IGNORECROP_TEXT N_("Discard cropping information")<br>-#define IGNORECROP_LONGTEXT N_("Discard internal cropping parameters (e.g. from H.264 SPS)." )<br>
-<br> #define DEBUG_TEXT N_( "Debug mask" )<br> #define DEBUG_LONGTEXT N_( "Set FFmpeg debug mask" )<br> <br>diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c<br>index f27fbe4..cd41fe1 100644<br>
--- a/modules/codec/avcodec/video.c<br>+++ b/modules/codec/avcodec/video.c<br>@@ -237,11 +237,6 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,<br> if( var_CreateGetBool( p_dec, "avcodec-fast" ) )<br>
p_sys->p_context->flags2 |= CODEC_FLAG2_FAST;<br> <br>-#if LIBAVCODEC_VERSION_CHECK( 54, 41, 0, 91, 100 )<br>- if( var_InheritBool( p_dec, "avcodec-ignorecrop" ) )<br>- p_sys->p_context->flags2 |= CODEC_FLAG2_IGNORE_CROP;<br>
-#endif<br>-<br> /* ***** libavcodec frame skipping ***** */<br> p_sys->b_hurry_up = var_CreateGetBool( p_dec, "avcodec-hurry-up" );<br> <br>-- <br>1.8.3.1<br><br></div>