summaryrefslogtreecommitdiff
path: root/command/demux.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2011-02-14 11:50:09 +0100
committerJochen Dolze <vdr@dolze.de>2011-02-14 11:50:09 +0100
commit92599dbf7638540b9ed9ff3dbd6f2625c1c3f45f (patch)
tree851db7a7ea6c7177e6402bbfe1b8950a062b6f3b /command/demux.cpp
parentb48a0e3f7bee7f9fc4825e0bce4c06ed90d3794c (diff)
downloadvdr-plugin-markad-92599dbf7638540b9ed9ff3dbd6f2625c1c3f45f.tar.gz
vdr-plugin-markad-92599dbf7638540b9ed9ff3dbd6f2625c1c3f45f.tar.bz2
Improved stop detection
H262 fps detection bugfix
Diffstat (limited to 'command/demux.cpp')
-rw-r--r--command/demux.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/command/demux.cpp b/command/demux.cpp
index 905c3e2..9f634bd 100644
--- a/command/demux.cpp
+++ b/command/demux.cpp
@@ -1116,7 +1116,14 @@ void cDemux::DisableDPid()
if (ts2pkt_dpid) delete ts2pkt_dpid;
pes2audioes_ac3=NULL;
ts2pkt_dpid=NULL;
- dpid=0;
+ if (TS)
+ {
+ dpid=-1;
+ }
+ else
+ {
+ dpid=0;
+ }
stream_or_pid=0;
}