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

Stéphane Doyon s.doyon at videotron.ca
Sun May 29 01:30:27 CEST 2011


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/20110528/a68e6790/attachment.bin>


More information about the MPlayer-dev-eng mailing list