[PATCH] fix: pullup pattern correction fails with certain OGM files - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: [PATCH] fix: pullup pattern correction fails with certain OGM files (/showthread.php?tid=129850) |
[PATCH] fix: pullup pattern correction fails with certain OGM files - Shine - 2012-04-24 Issue: With some OGM files - for example containing XviD with packed bitstream - pullup pattern corrections fails, causing heavily choppy playback. Detailed description and debug log see here. Cause: Some frames are returned with an incorrect pts (ie. earlier than the preceding frame), resulting in negative frame duration which confuses CPullupCorrection. I assume that the broken pts is returned by the decoder or demuxer. Fix: When encountering an obviously broken pts, replace it with a proper/better one calculated from the stream's frame rate. Please review and comment. Patch: Code: --- RE: [PATCH] fix: pullup pattern correction fails with certain OGM files - bobo1on1 - 2012-04-25 I'll look into it. RE: [PATCH] fix: pullup pattern correction fails with certain OGM files - Robotica - 2012-06-27 it seems to be lost... |