From 0ed6b6e13d25356666049b64cec45ecd4274bd1d Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Mon, 12 May 2003 23:30:49 +0000 Subject: We can now play from the pvr250 in real time. Make sure the pvr250 is set to output in DVD mode and not PS mode. In DVD mode, we should use demux_mpeg_block. In PS mode, we should use demux_mpeg. So, here I am using demux_mpeg_block. I use the following MRL: - xine pvr://usr/local/pvr/ So that the input_pvr.c puts a tempory file in /usr/local/pvr/ One can then use ivtv utils like ptune to change channels without restarting xine. CVS patchset: 4837 CVS date: 2003/05/12 23:30:49 --- src/demuxers/demux_mpeg_block.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_mpeg_block.c b/src/demuxers/demux_mpeg_block.c index d095e5c2a..8f3078cbd 100644 --- a/src/demuxers/demux_mpeg_block.c +++ b/src/demuxers/demux_mpeg_block.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: demux_mpeg_block.c,v 1.184 2003/05/12 12:28:20 jcdutton Exp $ + * $Id: demux_mpeg_block.c,v 1.185 2003/05/12 23:30:49 jcdutton Exp $ * * demultiplexer for mpeg 1/2 program streams * used with fixed blocksize devices (like dvd/vcd) @@ -1394,7 +1394,7 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str if(!strncmp(mrl, "vcd", 3)) { this->blocksize = 2324; demux_mpeg_block_accept_input (this, input); - } else if(!strncmp(mrl, "dvd", 3)) { + } else if(!strncmp(mrl, "dvd", 3) || !strncmp(mrl, "pvr", 3)) { this->blocksize = 2048; demux_mpeg_block_accept_input (this, input); } else { -- cgit v1.2.3