From e2b0b01cd18732a11bcc50bfa28bb80cc9d64018 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 22 Jul 2023 13:49:28 +0200 Subject: [PATCH] libcoolstream-headers: adapt to "reload webtv/iptv stream if connection lost" Signed-off-by: Thilo Graf --- lib/hardware/coolstream/hd1/libcoolstream/playback_cs.h | 2 +- lib/hardware/coolstream/hd2/libcoolstream/playback_cs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hardware/coolstream/hd1/libcoolstream/playback_cs.h b/lib/hardware/coolstream/hd1/libcoolstream/playback_cs.h index c031e86d6..c12b198a1 100644 --- a/lib/hardware/coolstream/hd1/libcoolstream/playback_cs.h +++ b/lib/hardware/coolstream/hd1/libcoolstream/playback_cs.h @@ -60,7 +60,7 @@ public: bool SetSubtitlePid(int /*pid*/){return true;} bool SetSpeed(int speed); bool GetSpeed(int &speed) const; - bool GetPosition(int &position, int &duration); + bool GetPosition(int &position, int &duration, bool isWebChannel = false); bool GetOffset(off64_t &offset); bool SetPosition(int position, bool absolute = false); bool IsPlaying(void) const { return playing; } diff --git a/lib/hardware/coolstream/hd2/libcoolstream/playback_cs.h b/lib/hardware/coolstream/hd2/libcoolstream/playback_cs.h index 00719a650..3c4f24d0a 100644 --- a/lib/hardware/coolstream/hd2/libcoolstream/playback_cs.h +++ b/lib/hardware/coolstream/hd2/libcoolstream/playback_cs.h @@ -61,7 +61,7 @@ public: bool SetSubtitlePid(int /*pid*/){return true;} bool SetSpeed(int speed); bool GetSpeed(int &speed) const; - bool GetPosition(int &position, int &duration); + bool GetPosition(int &position, int &duration, bool isWebChannel = false); bool GetOffset(off64_t &offset); bool SetPosition(int position, bool absolute = false); bool IsPlaying(void) const { return playing; }