GNOME Bugzilla – Bug 664037
[ffmpegdec]Do not adjust frame duration for repeat if it was already adjusted by upstream element
Last modified: 2013-07-23 11:55:48 UTC
Created attachment 201372 [details] [review] Patch FFmpegdec always adjusts frame duration picture with repeat set (i.e. telecine), even though the upstream element (parser) might have already computed the correct frame duration. This goes wrong because the new duration is computed relative to the provided one. Patch corrects this so that ffmpegdec attempts to determine if the correct frame duration has already been set.
Do you have a test case which shows the issue fixed by your patch ?
Any mpeg2 telecine file with #664034 applied. I can send you a test file if you want one.
If you can attach a small sample it'd be best.
You can download the file here http://s3.amazonaws.com/MatejK/Samples/small.mpg can be used to reproduce https://bugzilla.gnome.org/show_bug.cgi?id=664034 as well
Was fixed when ported to GstVideoDecoder.