summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-10-31 16:58:12 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-10-31 16:58:12 +0000
commit8434b64bf82e3f111ca461a9789707558dff5dd3 (patch)
treec03b8c5961715b410e0d55d1b116c39a797c45f5 /src/xine-engine/video_decoder.c
parenta3608a5b290a41d0d9614e2316586c220fa7a5e9 (diff)
downloadxine-lib-8434b64bf82e3f111ca461a9789707558dff5dd3.tar.gz
xine-lib-8434b64bf82e3f111ca461a9789707558dff5dd3.tar.bz2
new syntax for MRLs
basic changes: - MRLs are a subset of URIs - important new delimiter is # - everything before the # will be passed to the input plugin - after the # you can add several ;-separated stream parameters: novideo - video will be ignored noaudio - audio will be ignored nospu - spus will be ignored demux:... - specify the demuxer to use (e.g. demux:mpeg_block) entry:value - assign any config entry a new value CVS patchset: 3112 CVS date: 2002/10/31 16:58:12
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r--src/xine-engine/video_decoder.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c
index 9b3eff3ba..e59ef3255 100644
--- a/src/xine-engine/video_decoder.c
+++ b/src/xine-engine/video_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_decoder.c,v 1.106 2002/10/29 16:02:49 mroi Exp $
+ * $Id: video_decoder.c,v 1.107 2002/10/31 16:58:23 mroi Exp $
*
*/
@@ -135,6 +135,8 @@ void *video_decoder_loop (void *stream_gen) {
case BUF_SPU_PACKAGE:
case BUF_SPU_NAV:
xine_profiler_start_count (prof_spu_decode);
+ if (stream->stream_info[XINE_STREAM_INFO_IGNORE_SPU])
+ break;
if (!stream->spu_decoder_plugin) {
update_spu_decoder(stream, buf->type);
}
@@ -281,6 +283,9 @@ void *video_decoder_loop (void *stream_gen) {
default:
xine_profiler_start_count (prof_video_decode);
+
+ if (stream->stream_info[XINE_STREAM_INFO_IGNORE_VIDEO])
+ break;
if ( (buf->type & 0xFF000000) == BUF_VIDEO_BASE ) {