Fix bug: playback errors with old PES recordings.

This commit is contained in:
Johns 2012-04-11 12:16:00 +02:00
parent aeae505bd4
commit 1f14af6590
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
User johns User johns
Date: Date:
Fix bug: playback errors with old PES recordings.
Adds Hot-key support for 4:3 zoom modes. Adds Hot-key support for 4:3 zoom modes.
User johns User johns

View File

@ -1732,8 +1732,8 @@ int PlayVideo(const uint8_t * data, int size)
Debug(3, "softhddev/video: invalid mpeg2 video packet\n"); Debug(3, "softhddev/video: invalid mpeg2 video packet\n");
} }
#endif #endif
// SKIP PES header // SKIP PES header, begin of start code
VideoEnqueue(pts, check - 2, l + 2); VideoEnqueue(pts, check - z, l + z);
return size; return size;
} }
// this happens when vdr sends incomplete packets // this happens when vdr sends incomplete packets