GNOME Bugzilla – Bug 767157
dvdemux: Pass-through buffer DISCONT flags and recalculate frame offsets when needed
Last modified: 2016-06-03 10:20:19 UTC
See commit messages
Created attachment 328941 [details] [review] dvdemux: Pass-through buffer DISCONT flags
Created attachment 328942 [details] [review] dvdemux: Recalculate the frame offsets at the beginning of each BYTE segment and whenever upstream gives us a timestamp This fixes seeking in DV streams where upstream operates in PUSH mode with a TIME segment (e.g. avidemux). Without this, we would generate wrong durations and timestamps after a seek.
Created attachment 328944 [details] [review] dvdemux: Recalculate the frame offsets at the beginning of each BYTE segment and whenever upstream gives us a timestamp This fixes seeking in DV streams where upstream operates in PUSH mode with a TIME segment (e.g. avidemux). Without this, we would generate wrong durations and timestamps after a seek.
Created attachment 329017 [details] [review] dvdemux: Pass-through buffer DISCONT flags
Created attachment 329018 [details] [review] dvdemux: Recalculate the frame offsets at the beginning of each BYTE segment and whenever upstream gives us a timestamp This fixes seeking in DV streams where upstream operates in PUSH mode with a TIME segment (e.g. avidemux). Without this, we would generate wrong durations and timestamps after a seek.
Created attachment 329019 [details] [review] dvdemux: Implement SEEKING query so we can actually seek if upstream can't seek in TIME
Created attachment 329020 [details] [review] dvdemux: Remember if upstream had a time segment and if not properly create time segments Previously the segment.time was wrong, and the position was not updated correctly, resulting in seeks in PUSH mode with upstream providing a BYTES segment to not work at all.
Created attachment 329021 [details] [review] dvdemux: Properly set event/message sequence numbers based on the previous seek See https://bugzilla.gnome.org/show_bug.cgi?id=765935
Attachment 329017 [details] pushed as 30c8aaf - dvdemux: Pass-through buffer DISCONT flags Attachment 329018 [details] pushed as 2f4b89f - dvdemux: Recalculate the frame offsets at the beginning of each BYTE segment and whenever upstream gives us a timestamp Attachment 329019 [details] pushed as 479a3ba - dvdemux: Implement SEEKING query so we can actually seek if upstream can't seek in TIME Attachment 329020 [details] pushed as 26b37c7 - dvdemux: Remember if upstream had a time segment and if not properly create time segments Attachment 329021 [details] pushed as d62115e - dvdemux: Properly set event/message sequence numbers based on the previous seek