From c27d0b304d4358bb17d0e0d0446b5fa375204b53 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" Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/aac826baa5dee69bb1fbd2db47d495fcc9aed4ee Author: vanhofen Date: 2023-07-22 (Sat, 22 Jul 2023) Origin message was: ------------------ - libcoolstream-headers: adapt to "reload webtv/iptv stream if connection lost" ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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; }