Commit cbae8d3b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

demux: use stream_vaControl() where applicable (fixes #9302)

parent 7e12de50
......@@ -542,13 +542,13 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
}
case DEMUX_SET_TITLE:
return stream_Control( p_demux->s, STREAM_SET_TITLE, args );
return stream_vaControl( p_demux->s, STREAM_SET_TITLE, args );
case DEMUX_SET_SEEKPOINT:
return stream_Control( p_demux->s, STREAM_SET_SEEKPOINT, args );
return stream_vaControl( p_demux->s, STREAM_SET_SEEKPOINT, args );
case DEMUX_GET_META:
return stream_Control( p_demux->s, STREAM_GET_META, args );
return stream_vaControl( p_demux->s, STREAM_GET_META, args );
case DEMUX_GET_FPS:
default:
......
......@@ -1201,13 +1201,13 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
}
case DEMUX_SET_TITLE:
return stream_Control( p_demux->s, STREAM_SET_TITLE, args );
return stream_vaControl( p_demux->s, STREAM_SET_TITLE, args );
case DEMUX_SET_SEEKPOINT:
return stream_Control( p_demux->s, STREAM_SET_SEEKPOINT, args );
return stream_vaControl( p_demux->s, STREAM_SET_SEEKPOINT, args );
case DEMUX_GET_META:
return stream_Control( p_demux->s, STREAM_GET_META, args );
return stream_vaControl( p_demux->s, STREAM_GET_META, args );
case DEMUX_CAN_RECORD:
pb_bool = (bool*)va_arg( args, bool * );
......@@ -1223,7 +1223,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
return VLC_SUCCESS;
case DEMUX_GET_SIGNAL:
return stream_Control( p_demux->s, STREAM_GET_SIGNAL, args );
return stream_vaControl( p_demux->s, STREAM_GET_SIGNAL, args );
default:
return VLC_EGENERIC;
......
......@@ -312,7 +312,7 @@ int demux_vaControlHelper( stream_t *s,
return VLC_EGENERIC;
case DEMUX_GET_META:
return stream_Control( s, STREAM_GET_META, args );
return stream_vaControl( s, STREAM_GET_META, args );
case DEMUX_GET_PTS_DELAY:
case DEMUX_GET_FPS:
......
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