[MPlayer-dev-eng] [PATCH] hwac3 according format tag info from demuxer to decode ac3 or dts
- Date: Mon, 5 May 2008 08:32:41 +0800
- From: Ulion <ulion2002@xxxxxxxxx>
- Subject: [MPlayer-dev-eng] [PATCH] hwac3 according format tag info from demuxer to decode ac3 or dts
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. -- Ulion
Attachment:
ac3_dts_format_tag.diff
Description: Binary data
_______________________________________________ MPlayer-dev-eng mailing list MPlayer-dev-eng@xxxxxxxxxxxx https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
- Follow-Ups:
- Prev by Date: Re: [MPlayer-dev-eng] pardus patches
- Next by Date: Re: [MPlayer-dev-eng] timer-darwin.c remove useless variable startup_time
- Previous by thread: [MPlayer-dev-eng] [PATCH] fix memleak in mencoder.c
- Next by thread: Re: [MPlayer-dev-eng] [PATCH] hwac3 according format tag info from demuxer to decode ac3 or dts
- Index(es):