[FFmpeg-devel] [PATCH] Fix return value for incomplete H264 frame packets
Tue Aug 24 22:52:49 CEST 2010
>> > ive no problem with a clean patch that exports such information
>> Ok, it won't hurt to try anyway. Here is a small patch that I believe is
>> clean and maintains compatibility. Works with mplayer.
> see AVFrame.repeat_pict
It seems logical but based on what in avcodec.h is said:
frame_duration = (1 + repeat_pict) * time_base
it means that the problem I'm trying to deal with would require -1 as a
value which seems a hack to me. Could that be OK? I'm not sure to take
the risk of touching this field, it is used extensively and I wouldn't
want to break anything that already works.
Reimar D?ffinger's generalized flags proposal would fit for other future
purposes as well as this one.
More information about the ffmpeg-devel