[vlc-commits] avcodec: autodetect hardware acceleration by default

Rémi Denis-Courmont git at videolan.org
Thu Jul 18 18:35:47 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 18 19:35:00 2013 +0300| [f187b2ed6f8631fa351ed152f50452696a8952a1] | committer: Rémi Denis-Courmont

avcodec: autodetect hardware acceleration by default

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f187b2ed6f8631fa351ed152f50452696a8952a1
---

 modules/codec/avcodec/avcodec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/avcodec.c b/modules/codec/avcodec/avcodec.c
index 04ade54..4c9131a 100644
--- a/modules/codec/avcodec/avcodec.c
+++ b/modules/codec/avcodec/avcodec.c
@@ -139,7 +139,7 @@ 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", "none", HW_TEXT, HW_LONGTEXT, false )
+    add_module( "avcodec-hw", "hw decoder", NULL, 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 );



More information about the vlc-commits mailing list