Closed axmhari closed 11 years ago
Oh. Boy. Thank you. You gave me the hint for a bug I've been hunting.
The bad news: I won't pull your PR.
Please check if the latest version fixes your problem: pipelka/vdr-plugin-xvdr@45a7a22
Again, thanks, and sorry ;-)
Yes, it fixes the problem and it is definitely the better solution. So never mind and thanks for fixing it!
Packets generated in
cXVDRClient::processRecStream_GetBlock()
always have the requested length, even if there is not enough data left for reading in the file. The additional space is not initialized. With this I sometimes had the problem, that a correct TS frame was found in this space, leading to wrong durations and seeking problems. I avoided this by setting those unused bytes to 0xFF.