From 5c422410a13682ae1a959e897923b8d3c3057437 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Thu, 11 Apr 2002 14:04:47 +0000 Subject: 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 --- src/demuxers/demux_mpeg_block.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3