Commit f8fc2f58 authored by Ross Finlayson's avatar Ross Finlayson Committed by Jean-Baptiste Kempf

live555: Support playing Theora video RTP streams

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 46238b95
......@@ -1091,6 +1091,20 @@ static int SessionsSetup( demux_t *p_demux )
{
tk->fmt.i_codec = VLC_CODEC_VP8;
}
else if( !strcmp( sub->codecName(), "THEORA" ) )
{
tk->fmt.i_codec = VLC_CODEC_THEORA;
unsigned int i_extra;
unsigned char *p_extra;
if( ( p_extra=parseVorbisConfigStr( sub->fmtp_config(),
i_extra ) ) )
{
tk->fmt.i_extra = i_extra;
tk->fmt.p_extra = p_extra;
}
else
msg_Warn( p_demux,"Missing or unsupported theora header." );
}
}
else if( !strcmp( sub->mediumName(), "text" ) )
{
......
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