mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Skipping anything before syncing
This commit is contained in:
parent
6638c15b5b
commit
1aca768a63
6
dvbapi.c
6
dvbapi.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "dvbapi.h"
|
||||||
@ -864,8 +864,10 @@ int cRecordBuffer::Synchronize(void)
|
|||||||
}
|
}
|
||||||
else if (pictureType == NO_PICTURE) {
|
else if (pictureType == NO_PICTURE) {
|
||||||
if (!synced) {
|
if (!synced) {
|
||||||
if (pt == I_FRAME)
|
if (pt == I_FRAME) {
|
||||||
|
Skip(i);
|
||||||
synced = true;
|
synced = true;
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
Skip(i + l);
|
Skip(i + l);
|
||||||
i = 0;
|
i = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user