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

Fix display order of events.

Starting time does not matter, it depends on Layer and ReadOrder only.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22286 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2007-02-20 16:20:55 +00:00
parent 834bd69ef8
commit c8497d4177

View File

@ -2056,10 +2056,6 @@ static int cmp_event_layer(const void* p1, const void* p2)
return -1;
if (e1->Layer > e2->Layer)
return 1;
if (e1->Start < e2->Start)
return -1;
if (e1->Start > e2->Start)
return 1;
if (e1->ReadOrder < e2->ReadOrder)
return -1;
if (e1->ReadOrder > e2->ReadOrder)