[mythtv] Ticket #9929: MPEGStreamData doesn't handle video packets without a payload

Daniel Kristjansson danielk at cuymedia.net
Tue Nov 29 01:01:36 UTC 2011


On Mon, 2011-11-28 at 12:45 -0500, Ronald Frazier wrote:
> 
> The logic in ProcessTSPacket is as follows. For each packet it
> receives:
> 
> 1) if the packet is not scrambled and has a payload, do some stuff
> with it.
> 2) else if the packet is not scrambled and is a writing PID, do some
> other stuff with it
> 3) if it doesn't match either of the previous conditions, then just
> ignore the packet, meaning it doesn't get passed to any listeners and
> doesn't get written to the output file
<snip>

Yeah, the problem is the HasPayload() check really only makes
sense for the things passed to HandleTSTables() but was also
wrapping the audio and video pid handling. I've made the change
and committed it to master. Assuming there are no complications
this can be backported to 0.24-fixes in a few weeks.

Thanks for the catch!

-- Daniel



More information about the mythtv-dev mailing list