Ticket #7736: danish-dvb-subtitle.patch
File danish-dvb-subtitle.patch, 1020 bytes (added by , 14 years ago) |
---|
-
mythtv/libs/libavformat/mpegts.c
789 789 pid &= 0x1fff; 790 790 desc_count++; 791 791 792 if (dvbci.sub_id && (stream_type == STREAM_TYPE_PRIVATE_DATA))793 stream_type = STREAM_TYPE_SUBTITLE_DVB;794 795 792 if (dvbci.txt_type && (stream_type == STREAM_TYPE_PRIVATE_DATA)) 796 793 stream_type = STREAM_TYPE_VBI_DVB; 797 794 … … 1069 1066 dvbci->comp_page = get16(p, desc_end); 1070 1067 dvbci->anc_page = get16(p, desc_end); 1071 1068 dvbci->sub_id = (dvbci->anc_page << 16) | dvbci->comp_page; 1069 if (*stream_type == STREAM_TYPE_PRIVATE_DATA) { 1070 *stream_type = STREAM_TYPE_SUBTITLE_DVB; 1071 } 1072 1072 break; 1073 1073 case 0x0a: /* ISO 639 language descriptor */ 1074 1074 dvbci->language[0] = get8(p, desc_end);