[vlc-devel] [PATCH 2/2] chromecast: do not transcode anything bigger than full HD

Steve Lhomme robux4 at videolabs.io
Mon Aug 8 17:04:44 CEST 2016


---
 modules/stream_out/chromecast/cast.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index ee98875..75efa92 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -288,6 +288,7 @@ int sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
                           << ",paddright="<< i_expand_width << "}"
                           << ",width=" << i_new_width << ",height=" << i_new_height;
                 }
+                ssout << ",maxwidth=1920,maxheight=1080";
                 ssout << ",vcodec=";
                 vlc_fourcc_to_char( i_codec_video, s_fourcc );
                 s_fourcc[4] = '\0';
-- 
2.8.2



More information about the vlc-devel mailing list