News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

Fix for block position overflow with large recordings

Started by alex, April 07, 2014, 22:47:01

Previous topic - Next topic

alex

Hi there,

to avoid splitting of recordings I run vdr with a relatively large value for MaxVideoFileSize. This lead to issues within RecPlayer::scan and getBlock as fseek and ftell are limited to a file size of 4GB. Replacing them with their fseeko and ftello counterparts fixes this for me - patch attached.

Regards,
Alex

EarleK

#1
Quote from: alexe on April 07, 2014, 22:47:01
Hi there,

to avoid splitting of recordings I run vdr with a relatively large value for MaxVideoFileSize. This lead to issues within RecPlayer::scan and getBlock as fseek and ftell are limited to a file size of 4GB. Replacing them with their fseeko and ftello counterparts fixes this for me - patch attached.

Excellent thanks for the patch Alex.