[vlc-commits] chromecast: disable SPU

Thomas Guillem git at videolan.org
Fri Feb 23 18:13:53 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb 23 18:12:29 2018 +0100| [91d7322fba43606e6de0286cc6de482ebcf43b72] | committer: Thomas Guillem

chromecast: disable SPU

cf. comment

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

 modules/stream_out/chromecast/cast.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index c068357890..5e3fa07bbe 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -44,6 +44,11 @@
 #define TRANSCODING_VIDEO 0x1
 #define TRANSCODING_AUDIO 0x2
 
+#if 0
+/* TODO: works only with internal spu and transcoding/blending for now */
+#define CC_ENABLE_SPU
+#endif
+
 struct sout_access_out_sys_t
 {
     sout_access_out_sys_t(httpd_host_t *httpd_host, intf_sys_t * const intf,
@@ -954,6 +959,7 @@ bool sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
                 p_original_video = p_es;
                 new_streams.push_back(*it);
             }
+#ifdef CC_ENABLE_SPU
             else if (p_es->i_cat == SPU_ES && p_original_spu == NULL)
             {
                 msg_Dbg( p_stream, "forcing video transcode because of subtitle '%4.4s'",
@@ -963,6 +969,7 @@ bool sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
                 p_original_spu = p_es;
                 new_streams.push_back(*it);
             }
+#endif
             else
                 continue;
         }



More information about the vlc-commits mailing list