vlc | branch: master | Filip Roséen <fi...@atch.se> | Mon Jul 23 19:56:59 2018 +0200| [d0ed421fb2f6760147dc29a814b661aadcc3dc2c] | committer: Jean-Baptiste Kempf
sout: chromecast: use stream info helpers in intf_sys_t These changes includes usage of the relevant stream info helpers. It also adds an additional slash to the art URI, so that items can be accessed through "/chromecast/unique/unique/art/$ID", where $ID denotes the art-id as used in the implementation, instead of "[...]/art$ID". This is not a change in behavior as the URIs passed to the device is per session, and the device is given notice of the URI by us, it does not probe it implicitly. Signed-off-by: Thomas Guillem <tho...@gllm.fr> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d0ed421fb2f6760147dc29a814b661aadcc3dc2c --- modules/stream_out/chromecast/chromecast_ctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp index 2b0a0c2c34..739cfb0d59 100644 --- a/modules/stream_out/chromecast/chromecast_ctrl.cpp +++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp @@ -310,14 +310,14 @@ void intf_sys_t::prepareHttpArtwork() { /* Same art: use the previous cached artwork url */ assert( m_art_idx != 0 ); - ss_art_idx << "/art" << (m_art_idx - 1); + ss_art_idx << getHttpArtRoot() << "/" << (m_art_idx - 1); } else { /* New art: create a new httpd file instance with a new url. The * artwork has to be different since the CC will cache the content. */ - ss_art_idx << "/art" << m_art_idx; + ss_art_idx << getHttpArtRoot() << "/" << m_art_idx; m_art_idx++; vlc_mutex_unlock( &m_lock ); _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits