Commit d32a6bc1 authored by Felix Paul Kühne's avatar Felix Paul Kühne

avcodec: remove 'lowres' option since it is ignored by libav

parent 82692c40
...@@ -119,9 +119,6 @@ vlc_module_begin () ...@@ -119,9 +119,6 @@ vlc_module_begin ()
add_integer ( "avcodec-vismv", 0, VISMV_TEXT, VISMV_LONGTEXT, add_integer ( "avcodec-vismv", 0, VISMV_TEXT, VISMV_LONGTEXT,
true ) true )
add_obsolete_integer ( "ffmpeg-lowres" ) /* removed since 2.1.0 */ add_obsolete_integer ( "ffmpeg-lowres" ) /* removed since 2.1.0 */
add_integer ( "avcodec-lowres", 0, LOWRES_TEXT, LOWRES_LONGTEXT,
true )
change_integer_range( 0, 2 )
add_obsolete_bool( "ffmpeg-fast" ) /* removed since 2.1.0 */ add_obsolete_bool( "ffmpeg-fast" ) /* removed since 2.1.0 */
add_bool( "avcodec-fast", false, FAST_TEXT, FAST_LONGTEXT, false ) add_bool( "avcodec-fast", false, FAST_TEXT, FAST_LONGTEXT, false )
add_obsolete_integer ( "ffmpeg-skiploopfilter" ) /* removed since 2.1.0 */ add_obsolete_integer ( "ffmpeg-skiploopfilter" ) /* removed since 2.1.0 */
......
...@@ -129,10 +129,6 @@ int ffmpeg_OpenCodec( decoder_t *p_dec ); ...@@ -129,10 +129,6 @@ int ffmpeg_OpenCodec( decoder_t *p_dec );
"4 - visualize backward predicted MVs of B frames\n" \ "4 - visualize backward predicted MVs of B frames\n" \
"To visualize all vectors, the value should be 7." ) "To visualize all vectors, the value should be 7." )
#define LOWRES_TEXT N_( "Low resolution decoding" )
#define LOWRES_LONGTEXT N_( "Only decode a low resolution version of " \
"the video. This requires less processing power" )
#define SKIPLOOPF_TEXT N_( "Skip the loop filter for H.264 decoding" ) #define SKIPLOOPF_TEXT N_( "Skip the loop filter for H.264 decoding" )
#define SKIPLOOPF_LONGTEXT N_( "Skipping the loop filter (aka deblocking) " \ #define SKIPLOOPF_LONGTEXT N_( "Skipping the loop filter (aka deblocking) " \
"usually has a detrimental effect on quality. However it provides a big " \ "usually has a detrimental effect on quality. However it provides a big " \
......
...@@ -225,9 +225,6 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context, ...@@ -225,9 +225,6 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
i_val = var_CreateGetInteger( p_dec, "avcodec-vismv" ); i_val = var_CreateGetInteger( p_dec, "avcodec-vismv" );
if( i_val ) p_sys->p_context->debug_mv = i_val; if( i_val ) p_sys->p_context->debug_mv = i_val;
i_val = var_CreateGetInteger( p_dec, "avcodec-lowres" );
if( i_val > 0 && i_val <= 2 ) p_sys->p_context->lowres = i_val;
i_val = var_CreateGetInteger( p_dec, "avcodec-skiploopfilter" ); i_val = var_CreateGetInteger( p_dec, "avcodec-skiploopfilter" );
if( i_val >= 4 ) p_sys->p_context->skip_loop_filter = AVDISCARD_ALL; if( i_val >= 4 ) p_sys->p_context->skip_loop_filter = AVDISCARD_ALL;
else if( i_val == 3 ) p_sys->p_context->skip_loop_filter = AVDISCARD_NONKEY; else if( i_val == 3 ) p_sys->p_context->skip_loop_filter = AVDISCARD_NONKEY;
......
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