streamts: possible fix local TV

Origin commit data
------------------
Commit: 8f4d10b669
Author: DboxOldie <DboxOldie@users.noreply.github.com>
Date: 2022-10-03 (Mon, 03 Oct 2022)
This commit is contained in:
DboxOldie
2022-10-03 16:45:43 +02:00
committed by vanhofen
parent 4def0601f5
commit 7160671497
2 changed files with 2 additions and 2 deletions

View File

@@ -751,7 +751,7 @@ _error:
} }
CStreamStream::CStreamStream(int clientfd, t_channel_id chid, stream_pids_t &_pids) CStreamStream::CStreamStream(int clientfd, t_channel_id chid, stream_pids_t &_pids)
: CStreamInstance(clientfd, chid, _pids, false) : CStreamInstance(clientfd, chid, _pids, true)
{ {
ifcx = NULL; ifcx = NULL;
ofcx = NULL; ofcx = NULL;

View File

@@ -61,7 +61,7 @@ class CStreamInstance : public OpenThreads::Thread
virtual void run(); virtual void run();
friend class CStreamManager; friend class CStreamManager;
public: 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 ~CStreamInstance();
virtual bool Open(); virtual bool Open();
virtual bool Start(); virtual bool Start();