[FFmpeg-devel] [PATCH] Don't let ctx->skip_frame>0 produce errors
Carl Eugen Hoyos
cehoyos
Thu Aug 30 13:30:15 CEST 2007
Hi!
If user sets ctx->skip_frame to a value >0 (for example with MPlayers
lavdopts skipframe=nonref), libavcodec shows an error for every skipped
frame and returns -1.
IMO, if the user explicitly asked for skipping frames, this should not
be reported as an error. Attached patch makes libavcodec return 0 if a
frame is skipped.
Carl Eugen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patchskipframe
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070830/3ad03fd2/attachment.txt>
More information about the ffmpeg-devel
mailing list