From 91d638ea335db62b2eed7bb9586de74e733bedb3 Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Sat, 28 Jul 2012 22:33:27 +0100 Subject: 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). --- src/input/input_dvb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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); -- cgit v1.2.3