[MPlayer-dev-eng] [PATCH] To Play TTA in MKA

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Nov 21 16:15:00 CET 2006


Hello,
On Tue, Nov 21, 2006 at 07:09:56PM +0900, zo came wrote:
>          }
> +      else if (!strcmp(track->codec_id, MKV_A_TTA))
> +        {
> +		track->a_formattag = 0x77A1;
> +        }

This does not work without modifying etc/codecs.conf.
This does:
track->a_formattag = mmioFOURCC('T', 'T', 'A', '1')

> @@ -2307,6 +2311,31 @@
>        dp->flags = 0;
>        ds_add_packet (demuxer->audio, dp);
>      }
> +  else if (track->a_formattag == 0x77A1)  /* TTA */
> +    {
> +      /* Create TTA Header. not sure */

Not sure about what?
Btw. I found it rather stupid that the tta decoder requires extradata,
which it only uses to find the sample format, while it supports only
1(!) format anyway.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list