Commit 9e574d10 authored by Steve Lhomme's avatar Steve Lhomme Committed by Thomas Guillem

chromecast: forward sout Flush and Control calls

Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
parent aa505e2c
......@@ -180,6 +180,19 @@ static int Send(sout_stream_t *p_stream, sout_stream_id_sys_t *id,
return sout_StreamIdSend(p_sys->p_out, id, p_buffer);
}
static void Flush( sout_stream_t *p_stream, sout_stream_id_sys_t *id )
{
sout_stream_sys_t *p_sys = p_stream->p_sys;
sout_StreamFlush( p_sys->p_out, id );
}
static int Control(sout_stream_t *p_stream, int i_query, va_list args)
{
sout_stream_sys_t *p_sys = p_stream->p_sys;
return p_sys->p_out->pf_control( p_sys->p_out, i_query, args );
}
/*****************************************************************************
* Open: connect to the Chromecast and initialize the sout
......@@ -289,6 +302,8 @@ static int Open(vlc_object_t *p_this)
p_stream->pf_add = Add;
p_stream->pf_del = Del;
p_stream->pf_send = Send;
p_stream->pf_flush = Flush;
p_stream->pf_control = Control;
return VLC_SUCCESS;
}
......
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