add_string( "ffmpeg-pp-name", "default", NULL, LIBAVCODEC_PP_TEXT,
LIBAVCODEC_PP_LONGTEXT, VLC_TRUE );
#endif
+ add_integer( "ffmpeg-debug", 0, NULL, DEBUG_TEST, DEBUG_LONGTEST, VLC_TRUE );
/* chroma conversion submodule */
add_submodule();
/* *** get a p_context *** */
p_context = avcodec_alloc_context();
+ p_context->debug = config_GetInt( p_dec, "ffmpeg-debug" );
/* Set CPU capabilities */
p_context->dsp_mask = 0;
"Higher levels require considerable more CPU power, but produce " \
"better looking pictures." )
+#define DEBUG_TEST N_( "Debug mask" )
+#define DEBUG_LONGTEST N_( "Set ffmpeg debug mask" )
+
#define LIBAVCODEC_PP_TEXT N_("ffmpeg postproc filter chains")
/* FIXME (cut/past from ffmpeg */
#define LIBAVCODEC_PP_LONGTEXT \