libtriple: remember the filedescriptor belonging to each pid in cDemux()

Origin commit data
------------------
Branch: master
Commit: 0b487dfcab
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-02-05 (Sat, 05 Feb 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-02-05 11:52:14 +01:00
parent d44bb999af
commit b3594e10f0
2 changed files with 25 additions and 18 deletions

View File

@@ -23,6 +23,12 @@ typedef enum
DMX_PCR_ONLY_CHANNEL
} DMX_CHANNEL_TYPE;
typedef struct
{
int fd;
unsigned short pid;
} pes_pids;
class cDemux
{
private:
@@ -30,7 +36,7 @@ class cDemux
int fd;
int buffersize;
DMX_CHANNEL_TYPE dmx_type;
std::vector<int> pesfds;
std::vector<pes_pids> pesfds;
public:
bool Open(DMX_CHANNEL_TYPE pes_type, void * x = NULL, int y = 0);