[MPlayer-dev-eng] [PATCH] Fix to handle duplicate frame better with lavf

jojelino jojelino at gmail.com
Sun Sep 20 11:21:40 CEST 2009


This is for who needs lavf muxer to work with null frame.
It was embrassing that mencoder didn't care about lavf muxer.
let mencoder encode NULL frame with libavformat muxer leads SEVERE crash.
because libavformat doesn't accept NULL frames...........
(in detail, it has no whxy information so av_write_header<0 and crash)
so proposed patch modifies its original logic
it will skip null frame if muxer is lavf AT ALL COST.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nullframe_crashes_lavf.diff
Type: application/octet-stream
Size: 631 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090920/6b59285c/attachment.obj>


More information about the MPlayer-dev-eng mailing list