[vlc-commits] live555: Support playing Theora video RTP streams
Ross Finlayson
git at videolan.org
Wed Feb 19 13:09:23 CET 2014
vlc | branch: master | Ross Finlayson <finlayson at live555.com> | Tue Feb 18 11:06:47 2014 +1300| [f8fc2f5829588dd09d707af88ad111c0cb8d2c42] | committer: Jean-Baptiste Kempf
live555: Support playing Theora video RTP streams
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f8fc2f5829588dd09d707af88ad111c0cb8d2c42
---
modules/access/live555.cpp | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index 88ddc2e..6e04a7b 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -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" ) )
{
More information about the vlc-commits
mailing list