summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-11 14:04:47 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-11 14:04:47 +0000
commit5c422410a13682ae1a959e897923b8d3c3057437 (patch)
treee9c031f0a96cc69b70470b60b7b8ba0772940f41
parent0dc3450758983d68e14acfffc0edc1139ae248e9 (diff)
downloadxine-lib-5c422410a13682ae1a959e897923b8d3c3057437.tar.gz
xine-lib-5c422410a13682ae1a959e897923b8d3c3057437.tar.bz2
Tempory fix for playing DVDs with dvdnav.
Preview mode disabled, until I understand what preview mode is for. CVS patchset: 1709 CVS date: 2002/04/11 14:04:47
-rw-r--r--src/demuxers/demux_mpeg_block.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/demuxers/demux_mpeg_block.c b/src/demuxers/demux_mpeg_block.c
index 0314fbdca..b592d5c8a 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.87 2002/04/09 03:38:00 miguelfreitas Exp $
+ * $Id: demux_mpeg_block.c,v 1.88 2002/04/11 14:04:47 jcdutton Exp $
*
* demultiplexer for mpeg 1/2 program streams
*
@@ -886,7 +886,10 @@ static void demux_mpeg_block_start (demux_plugin_t *this_gen,
this->last_scr = 0;
this->nav_last_end_pts = 0;
this->ignore_scr_discont = 0;
-
+/* FIXME: Preview mode disabled to make DVD still pictures work at the beginning of DVDs.
+ This is a quick and dirty fix, because I don't yet understand the need to preview mode.
+ */
+/***********************************
if((this->input->get_capabilities(this->input) & INPUT_CAP_SEEKABLE) != 0) {
int num_buffers = NUM_PREVIEW_BUFFERS;
@@ -900,6 +903,7 @@ static void demux_mpeg_block_start (demux_plugin_t *this_gen,
num_buffers --;
}
}
+**********************************/
this->status = DEMUX_FINISHED;
}