summaryrefslogtreecommitdiff
path: root/decoder.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2009-10-02 17:36:58 +0200
committerJochen Dolze <vdr@dolze.de>2009-10-02 17:36:58 +0200
commit52cd041405849817c72d272bee0e6798f57b66c4 (patch)
tree994709d9e41ae0a367ba4b0bf5254911a4f38558 /decoder.cpp
parenta21c3bf58621446068b054326eec83dae1e744a0 (diff)
downloadvdr-plugin-markad-52cd041405849817c72d272bee0e6798f57b66c4.tar.gz
vdr-plugin-markad-52cd041405849817c72d272bee0e6798f57b66c4.tar.bz2
Rewrote packet handling code, now it uses queues
Diffstat (limited to 'decoder.cpp')
-rw-r--r--decoder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/decoder.cpp b/decoder.cpp
index 12ac059..ef34fb8 100644
--- a/decoder.cpp
+++ b/decoder.cpp
@@ -94,8 +94,9 @@ unsigned AcMod:
void cMarkAdDecoder::FindVideoInfos(MarkAdContext *maContext, uchar *pkt, int len)
{
if ((!maContext) || (!pkt) || (!len)) return;
+ if (!maContext->General.VPid.Type) return;
- if (maContext->General.H264)
+ if (maContext->General.VPid.Type==MARKAD_PIDTYPE_VIDEO_H264)
{
FindH264VideoInfos(maContext, pkt, len);
}