[vlc-commits] chromecast:cast: compare fourccs as vlc_fourcc_t

Steve Lhomme git at videolan.org
Fri Jul 21 13:26:26 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Wed Jul 19 15:09:50 2017 +0200| [abfa36e7dcc7ed2ed43ed1ba4e508800cedc446c] | committer: Jean-Baptiste Kempf

chromecast:cast: compare fourccs as vlc_fourcc_t

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/stream_out/chromecast/cast.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 47eb291f31..b4b1fd9a84 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -57,8 +57,8 @@ struct sout_stream_sys_t
         delete p_intf;
     }
 
-    bool canDecodeVideo( int i_codec ) const;
-    bool canDecodeAudio( int i_codec ) const;
+    bool canDecodeVideo( vlc_fourcc_t i_codec ) const;
+    bool canDecodeAudio( vlc_fourcc_t i_codec ) const;
     bool startSoutChain(sout_stream_t* p_stream);
 
     sout_stream_t     *p_out;
@@ -197,12 +197,12 @@ static void Del(sout_stream_t *p_stream, sout_stream_id_sys_t *id)
 }
 
 
-bool sout_stream_sys_t::canDecodeVideo( int i_codec ) const
+bool sout_stream_sys_t::canDecodeVideo( vlc_fourcc_t i_codec ) const
 {
     return i_codec == VLC_CODEC_H264 || i_codec == VLC_CODEC_VP8;
 }
 
-bool sout_stream_sys_t::canDecodeAudio( int i_codec ) const
+bool sout_stream_sys_t::canDecodeAudio( vlc_fourcc_t i_codec ) const
 {
     return i_codec == VLC_CODEC_VORBIS ||
         i_codec == VLC_CODEC_MP4A ||



More information about the vlc-commits mailing list