[vlc-commits] Revert "transcode: disable hardware decoding by default"

Rémi Denis-Courmont git at videolan.org
Thu Apr 23 20:42:16 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 22 23:18:18 2015 +0300| [059d52fb1d83525b3f8bfb242e34f8e7e87caec8] | committer: Rémi Denis-Courmont

Revert "transcode: disable hardware decoding by default"

This partially reverts commit 84b23f9606eec5d6d6aa9369cb284bf5531a16a7,
which is no longer necessary.

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

 modules/stream_out/transcode/transcode.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/stream_out/transcode/transcode.c b/modules/stream_out/transcode/transcode.c
index c75bdf5..35de5a8 100644
--- a/modules/stream_out/transcode/transcode.c
+++ b/modules/stream_out/transcode/transcode.c
@@ -383,12 +383,6 @@ static int Open( vlc_object_t *p_this )
                  p_sys->f_scale, p_sys->i_vbitrate / 1000 );
     }
 
-    /* Disable hardware decoding by default (unlike normal playback) */
-    psz_string = var_CreateGetString( p_stream, "avcodec-hw" );
-    if( !strcasecmp( "any", psz_string ) )
-        var_SetString( p_stream, "avcodec-hw", "none" );
-    free( psz_string );
-
     /* Subpictures transcoding parameters */
     p_sys->p_spu = NULL;
     p_sys->p_spu_blend = NULL;



More information about the vlc-commits mailing list