From c74f0198ce3362a94ebbd9ac03c721ae5a67b434 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Sun, 14 Mar 2010 16:25:41 +0100 Subject: Added support for 1.7.0 in standalone version --- demux.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'demux.cpp') diff --git a/demux.cpp b/demux.cpp index fbe07de..672e046 100644 --- a/demux.cpp +++ b/demux.cpp @@ -52,7 +52,17 @@ void cMarkAdDemux::ProcessVDR(MarkAdPid Pid, uchar *Data, int Count, uchar **Pkt if ((Pid.Type==MARKAD_PIDTYPE_VIDEO_H262) || (Pid.Type==MARKAD_PIDTYPE_VIDEO_H264)) { - if (!pes2videoes) pes2videoes=new cMarkAdPES2ES(recvnumber,"PES2ES video",65536); + if (!pes2videoes) + { + if (Pid.Type==MARKAD_PIDTYPE_VIDEO_H264) + { + pes2videoes=new cMarkAdPES2ES(recvnumber,"PES2H264ES video",393216); + } + else + { + pes2videoes=new cMarkAdPES2ES(recvnumber,"PES2ES video",65536); + } + } if (!pes2videoes) return; pes2videoes->Process(Pid,pkt,pktlen,Pkt,PktLen); } -- cgit v1.2.3