[MPlayer-dev-eng] [PATCH] Allow EDLs to work on audio files (fwd)

Stéphane Doyon s.doyon at videotron.ca
Thu Jul 14 03:11:09 CEST 2011


Saw no response to this, resending.

---------- Forwarded message ----------
Date: Sat, 28 May 2011 19:30:27 -0400 (EDT)
From: Stéphane Doyon <steph at odo.sdoyon.internal>
To: MPlayer-dev-eng at mplayerhq.hu
Subject: [PATCH] Allow EDLs to work on audio files

I had need to use an EDL on an audio file and was surprised to get this
error:
"Cannot use EDL without video, disabling."

It wasn't obvious to me why there should be such a constraint. I took an 
admittedly quick look at the code, and found only the position was obtained 
from the video stream, and there seems no reason it can't use the audio 
position just as well. I made the simple change to use the audio position when 
there's no video, and it appears to work.

Thanks

-- 
Stéphane Doyon
<s.doyon at videotron.ca>
http://pages.videotron.com/sdoyon/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-audio-edl.diff
Type: text/x-diff
Size: 2781 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110713/5d5c1b74/attachment.bin>


More information about the MPlayer-dev-eng mailing list