From 8434b64bf82e3f111ca461a9789707558dff5dd3 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Thu, 31 Oct 2002 16:58:12 +0000 Subject: 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 --- src/xine-engine/video_decoder.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/video_decoder.c') 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 ) { -- cgit v1.2.3