diff options
author | phintuka <phintuka> | 2009-02-08 09:08:26 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-02-08 09:08:26 +0000 |
commit | 50cebc9124db2e6935f8eb7cc8c4e2a73bc806f9 (patch) | |
tree | 4f82d18e92c1a8d38ddb8127d5b78c2a64dfe24f | |
parent | f9a6132bd581cb84cd542eb49083aa875f9d3871 (diff) | |
download | xineliboutput-50cebc9124db2e6935f8eb7cc8c4e2a73bc806f9.tar.gz xineliboutput-50cebc9124db2e6935f8eb7cc8c4e2a73bc806f9.tar.bz2 |
mpeg-ts: set this->h264 from PMT
-rw-r--r-- | xine_input_vdr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 7dc42343..c71ac529 100644 --- a/xine_input_vdr.c +++ b/xine_input_vdr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr.c,v 1.222 2009-02-08 08:13:15 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.223 2009-02-08 09:08:26 phintuka Exp $ * */ @@ -5059,6 +5059,8 @@ static void demux_ts(vdr_input_plugin_t *this, buf_element_t *buf) LOGMSG("demux_ts: PMT changed"); ts_data_ts2es_init(ts_data, this->stream->video_fifo, this->stream->audio_fifo); + this->h264 = (ts_data->pmt.video_type == ISO_14496_PART10_VIDEO) ? 1 : 0; + /* Inform UI of channels changes */ xine_event_t event; event.type = XINE_EVENT_UI_CHANNELS_CHANGED; |