diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-02-02 13:10:39 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-02-02 13:10:39 +0100 |
commit | 1aca768a63b5085749e61ac239d5ac95d5617bbc (patch) | |
tree | 2ee1c66aab71d1b9ce1c4e3b134d779c0356ae2a | |
parent | 6638c15b5bddcc44f3107921835f339709f7872e (diff) | |
download | vdr-1aca768a63b5085749e61ac239d5ac95d5617bbc.tar.gz vdr-1aca768a63b5085749e61ac239d5ac95d5617bbc.tar.bz2 |
Skipping anything before syncing
-rw-r--r-- | dvbapi.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |