libtriple: fix cDemux::pesFilter for teletext

Origin commit data
------------------
Branch: ni/coolstream
Commit: e142b3d98a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-11-07 (Mon, 07 Nov 2011)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2011-11-07 19:00:45 +01:00
parent 2900c2b201
commit 4f1baf393e

View File

@@ -455,6 +455,7 @@ bool cDemux::pesFilter(const unsigned short pid)
flt.unloader.threshold = 8; // 1k, teletext
flt.pesType = DMX_PES_OTHER;
flt.output = OUT_MEMORY;
break;
case DMX_TP_CHANNEL:
/* must be measure == true or we would have returned above */
flt.output = OUT_MEMORY;
@@ -462,6 +463,7 @@ bool cDemux::pesFilter(const unsigned short pid)
flt.unloader.threshold = 1;
flt.unloader.unloader_type = UNLOADER_TYPE_MEASURE_DUMMY;
ioctl(fd, DEMUX_SET_MEASURE_TIME, 250000);
break;
default:
flt.pesType = DMX_PES_OTHER;
}