Commit 61bd99b6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Launch meta_reader after avformat demuxer.

This gives metadata in WavPack files, for example.
parent 83ca53f7
...@@ -543,6 +543,14 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -543,6 +543,14 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
UpdateSeekPoint( p_demux, i64 ); UpdateSeekPoint( p_demux, i64 );
return VLC_SUCCESS; return VLC_SUCCESS;
case DEMUX_HAS_UNSUPPORTED_META:
{
bool *pb_bool = (bool*)va_arg( args, bool* );
*pb_bool = true;
return VLC_SUCCESS;
}
case DEMUX_GET_META: case DEMUX_GET_META:
{ {
vlc_meta_t *p_meta = (vlc_meta_t*)va_arg( args, vlc_meta_t* ); vlc_meta_t *p_meta = (vlc_meta_t*)va_arg( args, vlc_meta_t* );
......
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