[Mplayer-cvslog] CVS: main mplayer.c,1.664,1.665
Arpi of Ize
arpi at mplayerhq.hu
Mon Jan 27 23:28:13 CET 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv22245
Modified Files:
mplayer.c
Log Message:
I also added that a self-reference is not endlessly played ... (Happened
with Hole_Dollparts_MSTR.mov), which also gave the other problems ...
Fabian Franz <FabianFranz at gmx.de>
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.664
retrieving revision 1.665
diff -u -r1.664 -r1.665
--- mplayer.c 26 Jan 2003 16:11:08 -0000 1.664
+++ mplayer.c 27 Jan 2003 22:27:54 -0000 1.665
@@ -1235,6 +1235,9 @@
if ((strlen(bname)>10) && !strncmp(bname,"qt",2) && !strncmp(bname+3,"gateQT",6))
continue;
+ if (!strncmp(bname,mp_basename(filename),strlen(bname))) // ignoring self-reference
+ continue;
+
entry = play_tree_new();
if (filename && !strcmp(mp_basename(playlist_entry),playlist_entry)) // add reference path of current file
More information about the MPlayer-cvslog
mailing list