[MPlayer-users] should "touching" EDL's be allowed?

Roger Pack rogerdpack2 at gmail.com
Thu Apr 19 23:58:12 CEST 2012


Hello.
I notice that mplayer disallows EDL's like this (mute from 0 to 10,
skip from 10 to 15):

0 10 1
10 15 0

diff --git a/edl.c b/edl.c
index 6711c1f..ae24287 100644
--- a/edl.c
+++ b/edl.c
@@ -101,7 +101,7 @@ edl_record_ptr edl_parse_file(void)
                 continue;
             }

-            if (next_edl_record && start <= next_edl_record->stop_sec)
+            if (next_edl_record && start < next_edl_record->stop_sec)
             {
                 mp_msg(MSGT_CPLAYER, MSGL_WARN, MSGTR_EdlNOValidLine, line);
                 mp_msg(MSGT_CP


would allow this.  I would imagine it would be better to allow for
"touching" EDL signatures that have an equal start to the end of the
preceding?
Thank you.
-roger-


More information about the MPlayer-users mailing list