diff --git a/mythtv/libs/libavformat/mpeg.c b/mythtv/libs/libavformat/mpeg.c
index 436480a..4b67843 100644
a
|
b
|
static int mpegps_read_packet(AVFormatContext *s, |
533 | 533 | if (codec_id != CODEC_ID_PCM_S16BE) |
534 | 534 | st->need_parsing = AVSTREAM_PARSE_FULL; |
535 | 535 | |
536 | | /* notify the callback of the change in streams */ |
537 | | if (s->streams_changed) { |
| 536 | /* notify the callback of the change in streams for non Audio streams*/ |
| 537 | if (s->streams_changed && type != CODEC_TYPE_AUDIO) { |
538 | 538 | s->streams_changed(s->stream_change_data); |
539 | 539 | } |
540 | 540 | |
… |
… |
static int mpegps_read_packet(AVFormatContext *s, |
565 | 565 | else if (st->codec->bits_per_coded_sample == 28) |
566 | 566 | return AVERROR(EINVAL); |
567 | 567 | } |
| 568 | |
| 569 | /* notify the callback of the change in streams for non Audio streams*/ |
| 570 | if (s->streams_changed && type == CODEC_TYPE_AUDIO) { |
| 571 | s->streams_changed(s->stream_change_data); |
| 572 | } |
| 573 | |
568 | 574 | av_new_packet(pkt, len); |
569 | 575 | get_buffer(s->pb, pkt->data, pkt->size); |
570 | 576 | pkt->pts = pts; |