GNOME Bugzilla – Bug 648245
mpegtsdemux: truncates last buffer
Last modified: 2011-10-03 09:15:43 UTC
Created attachment 186315 [details] MPEG ts file In the attached file, the last H.264 AU is 2623 bytes. For the last AU, mpegtsdemux outputs two buffers, of sizes 170 and 2208, which sum to 2378. This neatly misses 245 bytes, which is the size of the payload in the last two TS packets, 184 and 61 bytes.
*** Bug 654220 has been marked as a duplicate of this bug. ***
commit a82483e36772467de9d00dcca52214bcf548df6a Author: Edward Hervey <bilboed@bilboed.com> Date: Thu Jul 14 22:08:56 2011 +0200 mpegtsbase: Split up whether we saw a PAT and its offset Fixes the issue with streams that don't set an offset on their buffers, like those coming from hlsdemux. Fixes #653481
doh, wrong bug :) ignore previous message
Created attachment 197897 [details] [review] mpegtsdemux: fix scanning stopping too early
commit e4856a29653815c45913edb58f64bee86b05d83b Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Fri Sep 30 18:54:04 2011 +0100 mpegtsdemux: fix scanning stopping too early https://bugzilla.gnome.org/show_bug.cgi?id=648245