From 92599dbf7638540b9ed9ff3dbd6f2625c1c3f45f Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Mon, 14 Feb 2011 11:50:09 +0100 Subject: Improved stop detection H262 fps detection bugfix --- command/demux.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'command/demux.cpp') 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; } -- cgit v1.2.3