[MPlayer-users] vcd causes mplayer endless loop

Steven M. Schultz sms at 2BSD.COM
Tue Mar 19 23:07:01 CET 2002


> From: Felix Buenemann <atmosfear at users.sourceforge.net>
> > mplayer -vcd 1 -cdrom-device /dev/rsr0c
> > 
> I guess your executable or source tree is fucked up, try make distclean

	I always do a 'make distclean' after a "make install" precisely to
	avoid having old .o or .a files around.

> ; make if it doesn't help kill you cvs tree and do a cvs checkout and
> see if it helps (I can play svcd fine here).

	The program goes into an endless loop in mov_check_file() when
	playing a SVCD.   

--- libmpdemux/demux_mov.c.dist	Tue Mar 19 08:28:38 2002
+++ libmpdemux/demux_mov.c	Tue Mar 19 09:13:59 2002
@@ -223,11 +223,13 @@
 #endif
 	    skipped += 8;
 	}
+#ifdef	notnow
 	else if (len == 0) /* deleted chunk */
 	{
 	    /* XXX: CJB! is this right? - alex */
 	    goto skip_chunk;
 	}
+#endif
 	else if(len<8) break; // invalid chunk
 
 	switch(id){

	ifdef'ing out the one check fixes the problem.   In the older
	source tree (from Feb 18-20) that extra 'if' block is not present.  
	The comment about "is this right?" suggests that the code might
	not be a good idea.

> Btw. I've got different prob, when playing audio only files MPlayer will
> go into endless loop at EOF of the audio stream, where it should exit.

	That one I haven't seen - yet ;))    I have a problem with video
	only but it will have to wait until I can power up the machine with
	the test file on it.

	Cheers,
	Steven Schultz
	sms at 2bsd.com




More information about the MPlayer-users mailing list