[MPlayer-dev-eng] [PATCH] hwac3 according format tag info from demuxer to decode ac3 or dts

Ulion ulion2002 at gmail.com
Thu May 8 18:06:16 CEST 2008


2008/5/5 Ulion <ulion2002 at gmail.com>:
> Hello,
>
>  Currently, hwac3 did not check the format tag from demuxer, indead, it
>  try to sync both ac3 and dts stream for the input audio stream.
>  For a good-sync audio stream, it's ok.
>  But for a bad-sync audio stream, it will switch between ac3 and dts
>  frequently, it will make the output audio not smooth.
>  Consider the format tag will identify whether audio stream is ac3 or
>  dts, and it won't changed during playing, even it changed, there must
>  be some notifaction or audio chain reinit triggered, so I made this
>  patch to let hwac3 select passthrough ac3 or dts by the format tag
>  info from demuxer, it fixed some bad-sync dts stream bad play problem
>  on my pc.
>  This patch will not break or lost any useful feature, when you need
>  force let mplayer identify an ac3 stream as dts stream, force the
>  format tag to 0x2001 will do what you want.
>  So, if there's no objection, I will commit this patch in 3 days.
>

done.

-- 
Ulion



More information about the MPlayer-dev-eng mailing list