Commit 90335413 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

Chromecast: use the sout helper functions

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ed5ea7b2
...@@ -159,7 +159,8 @@ vlc_module_end () ...@@ -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) 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; 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) ...@@ -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; 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, ...@@ -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; 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);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment