Update of /cvsroot/xine/xine-lib/src/demuxers
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv725
Modified Files:
demux_ogg.c
Log Message:
Even if video is not handled, let's say that it is there, so the frontends can
consider the decoder plugin missing.
Index: demux_ogg.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/demuxers/demux_ogg.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -r1.169 -r1.170
--- demux_ogg.c 9 Nov 2006 15:13:19 -0000 1.169
+++ demux_ogg.c 10 Nov 2006 01:00:35 -0000 1.170
@@ -1177,6 +1177,7 @@
}
#else
this->si[stream_num]->buf_types = BUF_VIDEO_THEORA;
+ this->num_video_streams++;
_x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "theora");
#endif
}
@@ -1290,16 +1291,16 @@
this->si[stream_num]->buf_types = BUF_AUDIO_VORBIS;
this->num_audio_streams++;
} else if (!strncmp(content_type, "audio/x-speex", content_type_length)) {
+ this->num_audio_streams++;
#ifdef HAVE_SPEEX
this->si[stream_num]->buf_types = BUF_AUDIO_SPEEX;
- this->num_audio_streams++;
#else
this->si[stream_num]->buf_types = BUF_CONTROL_NOP;
#endif
} else if (!strncmp(content_type, "video/x-theora", content_type_length)) {
+ this->num_video_streams++;
#ifdef HAVE_THEORA
this->si[stream_num]->buf_types = BUF_VIDEO_THEORA;
- this->num_video_streams++;
#else
this->si[stream_num]->buf_types = BUF_CONTROL_NOP;
#endif
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog