Changeset 39899
- Timestamp:
- 02/05/17 12:29:25 (7 years ago)
- Location:
- titan/titan
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/audiotrack.h
r39883 r39899 155 155 case MPEGA: tmpstr = ostrcat(tmpstr, " (STEREO)", 1, 0); break; 156 156 case DTS: tmpstr = ostrcat(tmpstr, " (DTS)", 1, 0); break; 157 case DTSHD: tmpstr = ostrcat(tmpstr, " (DTSHD)", 1, 0); break; 157 158 case LPCM: tmpstr = ostrcat(tmpstr, " (LPCM)", 1, 0); break; 158 159 case AAC: tmpstr = ostrcat(tmpstr, " (AAC)", 1, 0); break; -
titan/titan/dvb.h
r39757 r39899 464 464 int i, sectionlength, programinfolength, esinfolength, ret = 0; 465 465 unsigned short pos, descriptortag, descriptorlength; 466 int isac3 = 0, isdts = 0, isaac = 0 ;466 int isac3 = 0, isdts = 0, isaac = 0 isddp = 0; 467 467 int audiocodec = 0, videocodec = 0; 468 468 int firstaudiopid = -1, firstaudiocodec = -1, audiochange = 1; … … 514 514 pid = ((tmpbuf[1] & 0x1F) << 8) | (tmpbuf[2] & 0xff); 515 515 esinfolength = ((tmpbuf[3] & 0x0F) << 8) | (tmpbuf[4] & 0xff); 516 isac3 = 0; isdts = 0; isaac = 0 , audiocodec = 0, videocodec = 0;516 isac3 = 0; isdts = 0; isaac = 0; isddp = 0, audiocodec = 0, videocodec = 0; 517 517 char langdesc[4] = "---"; 518 518 int y = 0, descriptorcount = 0; … … 563 563 isdts = 1; 564 564 break; 565 // case 0x??; ToDo 566 // isddp = 1; 567 // break; 565 568 case 0x56: //teletext 566 569 for (y = 0; y < descriptorlength / 5; y++) … … 643 646 case 0x82: // DTS (2) 644 647 case 0xA2: // DTS (2) 645 //case 0x86: // DTS-HD 646 //case 0xA6: // DTS-HD 648 case 0x85: // DTS-HD HRA 649 case 0x86: // DTS-HD MA 650 case 0xA6: // DTS-HD 647 651 case 0x06: 648 652 if(descriptorcount == 0 && streamtype == 0x06 && prevaudio != NULL) … … 653 657 prevaudio = NULL; 654 658 //if(streamtype == 0x81) esInfo->stream_type = 0x6; 655 if(streamtype == 0x06 && !isac3 && !isdts && !isaac )659 if(streamtype == 0x06 && !isac3 && !isdts && !isaac && !isddp) 656 660 continue; 657 661 … … 664 668 else if(isaac) 665 669 audiocodec = AAC; 670 else if(isddp) 671 audiocodec = DDP; 666 672 } 667 673 else if(streamtype == 0x0F) … … 675 681 else if(streamtype == 0x82 || streamtype == 0xA2) 676 682 audiocodec = DTS; 683 else if(streamtype == 0x85 || (streamtype == 0x86 || streamtype == 0xA6) 684 audiocodec = DTSHD; 677 685 else 678 686 audiocodec = MPEGA; -
titan/titan/struct.h
r39847 r39899 255 255 enum {TV, RADIO}; 256 256 enum {RECDIRECT, RECTIMER, RECTIMESHIFT, RECSTREAM, RECPLAY, RECSTREAMENC}; 257 enum {AC3 = 0, MPEGA = 1, DTS = 2, LPCM = 6, AAC = 8, AACHE = 9};258 257 #ifdef DREAMBOX 259 258 enum {MPEGV = 0, MPEG4V = 4, H264 = 1, VC1 = 10, H265 = 22}; 259 enum {AC3 = 0, MPEGA = 1, DTS = 2, LPCM = 6, AAC = 8, AACHE = 9, DTSHD = 16, DDP = 7}; 260 260 #else 261 enum {AC3 = 0, MPEGA = 1, DTS = 2, LPCM = 6, AAC = 8, AACHE = 9, DTSHD = 16, DDP = 34}; 261 262 enum {MPEGV = 0, MPEG4V = 4, H264 = 1, VC1 = 10, H265 = 7}; 262 263 #endif
Note: See TracChangeset
for help on using the changeset viewer.