mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +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;
|
bool seen_section;
|
||||||
|
|
||||||
inline bool isOpen(void) {
|
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);
|
return (dmx != NULL);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int immediate_start(void); /* mutex must be locked before and unlocked after this method */
|
int immediate_start(void); /* mutex must be locked before and unlocked after this method */
|
||||||
|
Reference in New Issue
Block a user