mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
sectionsd: add hack to avoid bogus error messages on triple
This commit is contained in:
@@ -68,7 +68,16 @@ protected:
|
||||
bool seen_section;
|
||||
|
||||
inline bool isOpen(void) {
|
||||
#if HAVE_TRIPLEDRAGON
|
||||
/* unfortunately, this is a bit complicated on TD :-( */
|
||||
if (dmx == NULL)
|
||||
return false;
|
||||
if (dmx->getBuffer() != NULL) /* getBuffer() is a dummy to indicate that demux is running */
|
||||
return true;
|
||||
return false;
|
||||
#else
|
||||
return (dmx != NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
int immediate_start(void); /* mutex must be locked before and unlocked after this method */
|
||||
|
Reference in New Issue
Block a user