On Fri, 14 May 2010 16:13:36 +0200
Klaus Schmidinger <klaus.schmidin...@tvdr.de> wrote:

> On 07.05.2010 09:53, Newsy Paper wrote:
> > Hi!
> > 
> > there are some channels using aac for audio. I.e. SABC1 at
> > 23.5°East 10758 V 22000 8/9 DVB-S2 Seems vdr doesn't support aac as
> > no pid is entered neither for apid nor for ddpid. I think xine
> > should support acc or doesn't it? So it should be no big deal do
> > extend vdr to support aac.
> 
> Please try this and see if it makes any difference:
> 
> --- pat.c       2010/03/27 15:17:46     2.9
> +++ pat.c       2010/05/14 14:12:31
> @@ -401,6 +401,7 @@
>                            switch (d->getDescriptorTag()) {
>                              case SI::AC3DescriptorTag:
>                              case SI::EnhancedAC3DescriptorTag:
> +                            case SI::AACDescriptorTag:
>                                   dpid = esPid;
>                                   ProcessCaDescriptors = true;
>                                   break;
> 
> --- eit.c       2010/01/08 15:17:09     2.11
> +++ eit.c       2010/05/14 14:06:55
> @@ -257,7 +257,7 @@
>                   SI::ComponentDescriptor *cd =
> (SI::ComponentDescriptor *)d; uchar Stream = cd->getStreamContent();
>                   uchar Type = cd->getComponentType();
> -                 if (1 <= Stream && Stream <= 4 && Type != 0) { //
> 1=video, 2=audio, 3=subtitles, 4=AC3
> +                 if (1 <= Stream && Stream <= 6 && Type != 0) { //
> 1=MPEG2-video, 2=MPEG1-audio, 3=subtitles, 4=AC3-audio,
> 5=H.264-video, 6=HEAAC-audio if (!Components) Components = new
> cComponents; char buffer[Utf8BufSize(256)];
>

The second change marks at least the HD Recordings as such - usefull
for applications needing to know this w/o analyzing files :) 

Thanks !


_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to