mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added support for EAC3 audio from other sources
This commit is contained in:
parent
27c0fffe7c
commit
4c7efcbd02
@ -2272,6 +2272,7 @@ J
|
|||||||
in cKbdRemote
|
in cKbdRemote
|
||||||
for reporting a possible discrepancy of the primary device number in the LSTD and
|
for reporting a possible discrepancy of the primary device number in the LSTD and
|
||||||
PRIM commands
|
PRIM commands
|
||||||
|
for adding support for EAC3 audio from other sources
|
||||||
|
|
||||||
Christian Wieninger <cwieninger@gmx.de>
|
Christian Wieninger <cwieninger@gmx.de>
|
||||||
for suggesting to add cMenuEditStrItem::InEditMode()
|
for suggesting to add cMenuEditStrItem::InEditMode()
|
||||||
|
3
HISTORY
3
HISTORY
@ -9348,7 +9348,7 @@ Video Disk Recorder Revision History
|
|||||||
Senzel).
|
Senzel).
|
||||||
- Official release.
|
- Official release.
|
||||||
|
|
||||||
2019-03-12: Version 2.4.1
|
2019-03-15: Version 2.4.1
|
||||||
|
|
||||||
- Fixed handling the tfRecording flag in the SVDRP commands MODT and UPDT (reported
|
- Fixed handling the tfRecording flag in the SVDRP commands MODT and UPDT (reported
|
||||||
by Johann Friedrichs).
|
by Johann Friedrichs).
|
||||||
@ -9380,3 +9380,4 @@ Video Disk Recorder Revision History
|
|||||||
Helmut Binder).
|
Helmut Binder).
|
||||||
- Fixed processing transponder data in the NIT (thanks to Helmut Binder).
|
- Fixed processing transponder data in the NIT (thanks to Helmut Binder).
|
||||||
- Fixed triggering the SDT filter when parsing the NIT (thanks to Helmut Binder).
|
- Fixed triggering the SDT filter when parsing the NIT (thanks to Helmut Binder).
|
||||||
|
- Added support for EAC3 audio from other sources (thanks to Jürgen Schneider).
|
||||||
|
6
pat.c
6
pat.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: pat.c 4.4 2019/03/11 13:20:27 kls Exp $
|
* $Id: pat.c 4.5 2019/03/15 10:14:35 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "pat.h"
|
#include "pat.h"
|
||||||
@ -545,6 +545,7 @@ void cPatFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
|
|||||||
}
|
}
|
||||||
// fall through
|
// fall through
|
||||||
case 0x81: // STREAMTYPE_USER_PRIVATE
|
case 0x81: // STREAMTYPE_USER_PRIVATE
|
||||||
|
case 0x87: // eac3
|
||||||
if (Setup.StandardCompliance == STANDARD_ANSISCTE) { // ATSC A/53 AUDIO (ANSI/SCTE 57)
|
if (Setup.StandardCompliance == STANDARD_ANSISCTE) { // ATSC A/53 AUDIO (ANSI/SCTE 57)
|
||||||
char lang[MAXLANGCODE1] = { 0 };
|
char lang[MAXLANGCODE1] = { 0 };
|
||||||
SI::Descriptor *d;
|
SI::Descriptor *d;
|
||||||
@ -575,7 +576,8 @@ void cPatFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// fall through
|
// fall through
|
||||||
case 0x83 ... 0xFF: // STREAMTYPE_USER_PRIVATE
|
case 0x83 ... 0x86: // STREAMTYPE_USER_PRIVATE
|
||||||
|
case 0x88 ... 0xFF: // STREAMTYPE_USER_PRIVATE
|
||||||
{
|
{
|
||||||
char lang[MAXLANGCODE1] = { 0 };
|
char lang[MAXLANGCODE1] = { 0 };
|
||||||
bool IsAc3 = false;
|
bool IsAc3 = false;
|
||||||
|
4
remux.c
4
remux.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: remux.c 4.7 2017/04/29 12:25:09 kls Exp $
|
* $Id: remux.c 4.8 2019/03/15 10:14:35 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "remux.h"
|
#include "remux.h"
|
||||||
@ -839,9 +839,11 @@ void cPatPmtParser::ParsePmt(const uchar *Data, int Length)
|
|||||||
break;
|
break;
|
||||||
case 0x81: // STREAMTYPE_USER_PRIVATE - AC3 audio for ATSC and BD
|
case 0x81: // STREAMTYPE_USER_PRIVATE - AC3 audio for ATSC and BD
|
||||||
case 0x82: // STREAMTYPE_USER_PRIVATE - DTS audio for BD
|
case 0x82: // STREAMTYPE_USER_PRIVATE - DTS audio for BD
|
||||||
|
case 0x87: // eac3
|
||||||
{
|
{
|
||||||
dbgpatpmt(" %s",
|
dbgpatpmt(" %s",
|
||||||
stream.getStreamType() == 0x81 ? "AC3" :
|
stream.getStreamType() == 0x81 ? "AC3" :
|
||||||
|
stream.getStreamType() == 0x87 ? "AC3" :
|
||||||
stream.getStreamType() == 0x82 ? "DTS" : "");
|
stream.getStreamType() == 0x82 ? "DTS" : "");
|
||||||
char lang[MAXLANGCODE1] = { 0 };
|
char lang[MAXLANGCODE1] = { 0 };
|
||||||
SI::Descriptor *d;
|
SI::Descriptor *d;
|
||||||
|
Loading…
Reference in New Issue
Block a user