From 52f228e97523ca5e21d12f742bcb64a7ed5a0e09 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 6 Mar 2011 15:53:52 +0000 Subject: [PATCH] sectionsd: use reasonable buffer size on TD git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1259 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d351e1ad26c7bf298b09eb5bd1ddfd134cce8df7 Author: Stefan Seyfried Date: 2011-03-06 (Sun, 06 Mar 2011) --- src/sectionsd/dmx.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sectionsd/dmx.cpp b/src/sectionsd/dmx.cpp index 45335e283..56b7ac5ca 100644 --- a/src/sectionsd/dmx.cpp +++ b/src/sectionsd/dmx.cpp @@ -58,6 +58,11 @@ DMX::DMX(const unsigned short p, const unsigned short bufferSizeInKB, const bool filter_index = 0; pID = p; dmxBufferSizeInKB = bufferSizeInKB; +#if HAVE_TRIPLEDRAGON + /* hack, to keep the TD changes in one place. */ + dmxBufferSizeInKB = 128; /* 128kB is enough on TD */ + dmx_num = 0; /* always use demux 0 */ +#endif pthread_mutex_init(&pauselock, NULL); // default = fast mutex #ifdef DEBUG_MUTEX pthread_mutexattr_t start_stop_mutex_attr;