Commit 7478a423 authored by Laurent Aimar's avatar Laurent Aimar

Let the input handle meta data and attachments for ac3 audio

(there was no meta data support for ac3).
parent 5a419c91
......@@ -245,11 +245,21 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{
demux_sys_t *p_sys = p_demux->p_sys;
if( i_query == DEMUX_SET_TIME )
{
return VLC_EGENERIC;
}
else if( i_query == DEMUX_HAS_UNSUPPORTED_META )
{
vlc_bool_t *pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );
*pb_bool = VLC_TRUE;
return VLC_SUCCESS;
}
else
{
return demux2_vaControlHelper( p_demux->s,
0, -1,
8*p_sys->i_mux_rate, 1, i_query, args );
}
}
/*****************************************************************************
......
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