Bug #321 » patch_EAC3.diff
src/psi.c 2011-09-05 15:32:25.000000000 +0200 | ||
---|---|---|
733 | 733 |
break; |
734 | 734 | |
735 | 735 |
case SCT_DVBSUB: |
736 |
case SCT_EAC3: |
|
736 | 737 |
c = 0x06; |
737 | 738 |
break; |
738 | 739 | |
... | ... | |
792 | 793 |
buf[8] = 0; /* XXX: generate real AC3 desc */ |
793 | 794 |
dlen = 9; |
794 | 795 |
break; |
796 |
case SCT_EAC3: |
|
797 |
buf[0] = DVB_DESC_LANGUAGE; |
|
798 |
buf[1] = 4; |
|
799 |
memcpy(&buf[2],ssc->ssc_lang,3); |
|
800 |
buf[5] = 0; /* Main audio */ |
|
801 |
buf[6] = DVB_DESC_EAC3; |
|
802 |
buf[7] = 1; |
|
803 |
buf[8] = 0; /* XXX: generate real EAC3 desc */ |
|
804 |
dlen = 9; |
|
805 |
break; |
|
795 | 806 |
default: |
796 | 807 |
break; |
797 | 808 |
} |