Commit a060374a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: DxVA work-around to solve perf issue

This is a HACK to work-around #14054
This is NOT a fix, but well.

It will default the Windows to "no" acceleration, until it is fixed.
parent 5962b968
......@@ -136,7 +136,13 @@ vlc_module_begin ()
add_obsolete_string( "ffmpeg-codec" ) /* removed since 2.1.0 */
add_string( "avcodec-codec", NULL, CODEC_TEXT, CODEC_LONGTEXT, true )
add_obsolete_bool( "ffmpeg-hw" ) /* removed since 2.1.0 */
add_module( "avcodec-hw", "hw decoder", "any", HW_TEXT, HW_LONGTEXT, false )
add_module( "avcodec-hw", "hw decoder",
#ifdef _WIN32
"none"
#else
"any"
#endif
, HW_TEXT, HW_LONGTEXT, false )
#if defined(FF_THREAD_FRAME)
add_obsolete_integer( "ffmpeg-threads" ) /* removed since 2.1.0 */
add_integer( "avcodec-threads", 0, THREADS_TEXT, THREADS_LONGTEXT, true );
......
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