diff options
author | phintuka <phintuka> | 2009-06-04 09:49:25 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-06-04 09:49:25 +0000 |
commit | 852aea2652081510610e6ba972e4ca706aa78137 (patch) | |
tree | 897e65f4d924719d15c0898553408e33d9112ce7 | |
parent | 555ea5e04290dae5f318c96b877efa5dafd7d596 (diff) | |
download | xineliboutput-852aea2652081510610e6ba972e4ca706aa78137.tar.gz xineliboutput-852aea2652081510610e6ba972e4ca706aa78137.tar.bz2 |
Reset PAT/PMT parser when switching channel.
(Thanks to jlac)
https://sourceforge.net/forum/forum.php?thread_id=3277603&forum_id=540656
-rw-r--r-- | device.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: device.c,v 1.81 2009-05-27 08:20:58 phintuka Exp $ + * $Id: device.c,v 1.82 2009-06-04 09:49:25 phintuka Exp $ * */ @@ -580,6 +580,10 @@ void cXinelibDevice::SetTvMode(cChannel *Channel) TRACEF("cXinelibDevice::SetTvMode"); TRACK_TIME(250); +#if VDRVERSNUM >= 10701 + m_PatPmtParser.Reset(); +#endif + m_RadioStream = false; if (Channel && !Channel->Vpid() && (Channel->Apid(0) || Channel->Apid(1))) m_RadioStream = true; |