summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-02-02 13:10:39 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-02-02 13:10:39 +0100
commit1aca768a63b5085749e61ac239d5ac95d5617bbc (patch)
tree2ee1c66aab71d1b9ce1c4e3b134d779c0356ae2a
parent6638c15b5bddcc44f3107921835f339709f7872e (diff)
downloadvdr-1aca768a63b5085749e61ac239d5ac95d5617bbc.tar.gz
vdr-1aca768a63b5085749e61ac239d5ac95d5617bbc.tar.bz2
Skipping anything before syncing
-rw-r--r--dvbapi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dvbapi.c b/dvbapi.c
index faa1953c..ffb3091a 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.c 1.53 2001/01/27 11:04:55 kls Exp $
+ * $Id: dvbapi.c 1.54 2001/02/02 13:10:39 kls Exp $
*/
#include "dvbapi.h"
@@ -864,8 +864,10 @@ int cRecordBuffer::Synchronize(void)
}
else if (pictureType == NO_PICTURE) {
if (!synced) {
- if (pt == I_FRAME)
+ if (pt == I_FRAME) {
+ Skip(i);
synced = true;
+ }
else {
Skip(i + l);
i = 0;