Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion TtxFromTS/DVB/PESFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ public class PESFactory
// If we have an elementary stream packet, add the packet and decode the PES if it is complete
if (_elementaryStreamPacket != null)
{
_elementaryStreamPacket.Add(packet);
if (packet.Payload != null)
{
_elementaryStreamPacket.Add(packet);
}
if (_elementaryStreamPacket.HasAllBytes())
{
_elementaryStreamPacket.Decode();
Expand Down