From d5a95ce0a0a33b2ae63787d68949747358d87db9 Mon Sep 17 00:00:00 2001 From: DboxOldie Date: Mon, 3 Oct 2022 16:45:43 +0200 Subject: [PATCH] streamts: possible fix local TV Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8f4d10b6695bc34303184e5fa09b9975bfaf2691 Author: DboxOldie Date: 2022-10-03 (Mon, 03 Oct 2022) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/streamts.cpp | 2 +- src/driver/streamts.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index da376a52b..ba8beab5a 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -751,7 +751,7 @@ _error: } CStreamStream::CStreamStream(int clientfd, t_channel_id chid, stream_pids_t &_pids) - : CStreamInstance(clientfd, chid, _pids, false) + : CStreamInstance(clientfd, chid, _pids, true) { ifcx = NULL; ofcx = NULL; diff --git a/src/driver/streamts.h b/src/driver/streamts.h index b28bae408..3092f9c59 100644 --- a/src/driver/streamts.h +++ b/src/driver/streamts.h @@ -61,7 +61,7 @@ class CStreamInstance : public OpenThreads::Thread virtual void run(); friend class CStreamManager; public: - CStreamInstance(int clientfd, t_channel_id chid, stream_pids_t &pids, bool send_raw); + CStreamInstance(int clientfd, t_channel_id chid, stream_pids_t &pids, bool send_raw = true); virtual ~CStreamInstance(); virtual bool Open(); virtual bool Start();