vlc | branch: master | Steve Lhomme <[email protected]> | Fri Dec 18 12:50:55 
2015 +0100| [90335413fbfa19b55a45a3a860810b695b892fa7] | committer: 
Jean-Baptiste Kempf

Chromecast: use the sout helper functions

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

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

diff --git a/modules/stream_out/chromecast/cast.cpp 
b/modules/stream_out/chromecast/cast.cpp
index 5fa57bf..31f0b6a 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -159,7 +159,8 @@ vlc_module_end ()
 static sout_stream_id_sys_t *Add(sout_stream_t *p_stream, const es_format_t 
*p_fmt)
 {
     sout_stream_sys_t *p_sys = p_stream->p_sys;
-    return p_sys->p_out->pf_add(p_sys->p_out, p_fmt);
+
+    return sout_StreamIdAdd(p_sys->p_out, p_fmt);
 }
 
 
@@ -167,7 +168,7 @@ static void Del(sout_stream_t *p_stream, 
sout_stream_id_sys_t *id)
 {
     sout_stream_sys_t *p_sys = p_stream->p_sys;
 
-    p_sys->p_out->pf_del(p_sys->p_out, id);
+    sout_StreamIdDel(p_sys->p_out, id);
 }
 
 
@@ -176,7 +177,7 @@ static int Send(sout_stream_t *p_stream, 
sout_stream_id_sys_t *id,
 {
     sout_stream_sys_t *p_sys = p_stream->p_sys;
 
-    return p_sys->p_out->pf_send(p_sys->p_out, id, p_buffer);
+    return sout_StreamIdSend(p_sys->p_out, id, p_buffer);
 }
 
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to