This commit replaces commit:
libstb-hal: Fix compatibility issues with struct input_event time assignment
These issues arose because of updates in OE/Yocto versions (e.g. >= Honister),
which introduced changes requiring these adjustments.
- Added conditional compilation to check for input_event_sec.
- Updated hdmi_cec::rc_sync method to use appropriate time fields for 64-bit suseconds.
- Maintained backward compatibility for older systems with 32-bit suseconds.
- Leveraged macros defined in input.h for clarity and maintainability.
This should ensure proper handling of suseconds and maintain backward
compatibility with older systems.
This implementation uses input_event_sec and input_event_usec macros for clarity and maintainability.
This changes shuold resolve build issues encountered due to compatibility
problems with newer versions of libraries.
It is quite certain that similar adjustments will need to be made in
other files. However, since I have only worked on this platform so far,
only this part of the code was noticeable at first. It should be noted
that this problem likely does not "yet" affect older build systems,
but it will become necessary at some point.
This also applies to Neutrino (adjustments will follow).
libarmbox:
- Added conditional compilation to handle different definitions of
struct input_event in input.h
- Ensured gettimeofday() is always used to obtain the current time
- Correctly assigned time values to input_event based on
platform-specific definitions
- Improved debug information to output correct event time
Had issues building with a different build system and platforms, but wanted to ensure
it works independently of the build system. This still needs to be
tested as my testing capabilities are limited and I cannot
rule out side effects. Hence, the additional debug outputs.
cPlayback::Start method to include the 'Referer' header using
the extractParam helper function. It ensures that the 'Referer'
value from URL parameters is properly extracted and appended to
the headers when present.
Using:
<webtv title=ATV url=https://stream.hdtvizlecanli.com/atv.m3u8#Referer=https://www.livestreamde.com />
Origin commit data
------------------
Commit: 0737aa3ba6
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Origin message was:
------------------
- addition to "small fix"
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit