summaryrefslogtreecommitdiff
path: root/demux.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-03-14 16:25:41 +0100
committerJochen Dolze <vdr@dolze.de>2010-03-14 16:25:41 +0100
commitc74f0198ce3362a94ebbd9ac03c721ae5a67b434 (patch)
treeca42b3d845530658b797bc8be6f06521714eb532 /demux.cpp
parent12b0a5aa366f5b08d2cf8c6da935af64f4fbcb53 (diff)
downloadvdr-plugin-markad-c74f0198ce3362a94ebbd9ac03c721ae5a67b434.tar.gz
vdr-plugin-markad-c74f0198ce3362a94ebbd9ac03c721ae5a67b434.tar.bz2
Added support for 1.7.0 in standalone version
Diffstat (limited to 'demux.cpp')
-rw-r--r--demux.cpp12
1 files changed, 11 insertions, 1 deletions
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);
}