[MPlayer-dev-eng] Bug in native TS demuxer

Nico Sabbi nicola.sabbi at poste.it
Thu Oct 1 19:33:51 CEST 2009


Il giorno dom, 27/09/2009 alle 12.59 +0200, Grozdan ha scritto:
> 
> Attached patch fixes detection of TrueHD audio for the native TS
> demuxer. I've also uploaded a new file to incoming
> (vc1-with-truehd.m2ts)
> 
> 
> 
> 
> 
> 
> 
> Differenze tra
> file allegato
> (demuxer_ts.diff)
> 
> Index: libmpdemux/demux_ts.c
> ===================================================================
> --- libmpdemux/demux_ts.c       (Revision 29720)
> +++ libmpdemux/demux_ts.c       (Arbeitskopie)
> @@ -1417,8 +1417,8 @@
>                 int ssid = parse_pes_extension_fields(p, pkt_len);
>                 if((audio_substream_id!=-1) && (ssid !=
> audio_substream_id))
>                         return 0;
> -               if(ssid == 0x72)
> -                       es->type  = type_from_pmt = AUDIO_TRUEHD;
> +               //if(ssid == 0x72)
> +               //      es->type  = type_from_pmt = AUDIO_TRUEHD;
>         }

rejected

> 
>         p += header_len + 9;
> @@ -2525,6 +2525,9 @@
>                         case 0x86:
>                                 pmt->es[idx].type = AUDIO_DTS;
>                                 break;
> +                       case 0x83:
> +                               pmt->es[idx].type = AUDIO_TRUEHD;
> +                               break;
>                         case 0xEA:
>                                 pmt->es[idx].type = VIDEO_VC1;
>                                 break;

this is acceptable




More information about the MPlayer-dev-eng mailing list