1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 11:25:10 +00:00

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@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9125 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2003-01-27 22:27:54 +00:00
parent 5bc7e91f06
commit 015cb47d1c

View File

@ -1235,6 +1235,9 @@ if (demuxer && demuxer->type==DEMUXER_TYPE_PLAYLIST)
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