Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] User space: ioctl DMX_GET_STC values arn't 64 bit
Hi,
the STC values return by the ioctl DMX_GET_STC seems not
to be 64 bit save on a normal INTEL box. If the PTS value of the
current replay (played by VDR) crosses the boundary
~0U aka 0xffffffff aka UINT_MAX
the value of the STC is decreased by UINT_MAX. Maybe it is not
possible to copy a uint64_t into the users space without stripping
a few bits. It works as long as the PTS value is smaller than
UINT_MAX ... if not one have to check the current PTS value and
add UINT_MAX to STC to get correct results.
For tests without VDR you may use test_stc and a recording with
very large PTS values. The test_stc program returns the same
results as the GetSTC() VDR routine.
Werner
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index