diff options
author | Chris Rankin <rankincj@yahoo.com> | 2012-07-28 22:33:27 +0100 |
---|---|---|
committer | Chris Rankin <rankincj@yahoo.com> | 2012-07-28 22:33:27 +0100 |
commit | 91d638ea335db62b2eed7bb9586de74e733bedb3 (patch) | |
tree | 649446725f95cbde833528f6bb0411088aca16e2 | |
parent | 0df74d54bcbf038030d7f29965c18a2ed6a55806 (diff) | |
download | xine-lib-91d638ea335db62b2eed7bb9586de74e733bedb3.tar.gz xine-lib-91d638ea335db62b2eed7bb9586de74e733bedb3.tar.bz2 |
Add extra audio/video cases to parse_pmt(). This identifies the audio stream for my HD DVB-T2 channels. (Fix copied from xine-lib-1.1).
-rw-r--r-- | src/input/input_dvb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index c7ad10e27..b6003ae9a 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -1142,6 +1142,8 @@ static void parse_pmt(dvb_input_plugin_t *this, const unsigned char *buf, int se switch (buf[0]) { case 0x01: case 0x02: + case 0x10: + case 0x1b: if(!has_video) { xprintf(this->stream->xine,XINE_VERBOSITY_LOG,"input_dvb: Adding VIDEO : PID 0x%04x\n", elementary_pid); dvb_set_pidfilter(this, VIDFILTER, elementary_pid, DMX_PES_VIDEO, DMX_OUT_TS_TAP); @@ -1151,6 +1153,8 @@ static void parse_pmt(dvb_input_plugin_t *this, const unsigned char *buf, int se case 0x03: case 0x04: + case 0x0f: + case 0x11: if(!has_audio) { xprintf(this->stream->xine,XINE_VERBOSITY_LOG,"input_dvb: Adding AUDIO : PID 0x%04x\n", elementary_pid); dvb_set_pidfilter(this, AUDFILTER, elementary_pid, DMX_PES_AUDIO, DMX_OUT_TS_TAP); |