diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-04-19 15:19:10 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-04-19 15:19:10 +0200 |
commit | e7c18af94ce71f52e3c5d7d54e0b5648f64e26e5 (patch) | |
tree | c1a6ec4d61dcfa2594823dfa62167b17abf930b3 /dvbplayer.c | |
parent | 85645317ae2e924ecc8faa6ff9a7935a7ebff15e (diff) | |
download | vdr-e7c18af94ce71f52e3c5d7d54e0b5648f64e26e5.tar.gz vdr-e7c18af94ce71f52e3c5d7d54e0b5648f64e26e5.tar.bz2 |
Only storing non-zero Pts values in ptsIndex
Diffstat (limited to 'dvbplayer.c')
-rw-r--r-- | dvbplayer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbplayer.c b/dvbplayer.c index b99ede51..219de497 100644 --- a/dvbplayer.c +++ b/dvbplayer.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbplayer.c 2.14 2009/04/19 15:17:17 kls Exp $ + * $Id: dvbplayer.c 2.15 2009/04/19 15:19:10 kls Exp $ */ #include "dvbplayer.h" @@ -513,7 +513,7 @@ void cDvbPlayer::Action(void) p = playFrame->Data(); pc = playFrame->Count(); if (p) { - if (playFrame->Index() >= 0) + if (playFrame->Index() >= 0 && playFrame->Pts() != 0) ptsIndex.Put(playFrame->Pts(), playFrame->Index()); if (firstPacket) { if (isPesRecording) { |