GNOME Bugzilla – Bug 611061
[mpegtsmux] some buffers are forgotten to push in m2ts_mode
Last modified: 2011-03-26 05:03:50 UTC
Created attachment 154671 [details] [review] mpegtsmux.c patch When m2ts_mode is enabled, the buffer with new_pcr is forgotten to push to adapter or downstream. see function new_packet_cb. This will make the ts file discontiguous in counter and make player unhappy.
Fixed in this commit: commit 1c65ff19f3f22cba88ce769acc9a16ccfd0ba421 Author: Jan Schmidt <thaytan@noraisin.net> Date: Sat Mar 26 15:58:21 2011 +1100 Rewrite M2TS packet output Make sure we only write the bottom 30 bits of the PCR to the m2ts header. Don't use floating point computation for it, and remove weird bit fiddling that messes up the PCR in a way I can't find any justification/documentation for. Don't accidentally lose PCR packets from the output. Fix the description for the m2ts-mode property so it's clear it's a flag, and which setting does what. Fixes: #611061 #644429 Partially fixes: #645006