]> git.sesse.net Git - vlc/commit
fix A/52 spdif output regression
authorMatthias Dahl <khaos.dev@binary-island.eu>
Mon, 16 Nov 2009 16:21:16 +0000 (17:21 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 24 Nov 2009 20:50:11 +0000 (22:50 +0200)
commitbaa1ec0106aea6a196238f8747ef751894e26579
tree4a635660e1d61de1202880b8888c6448d5b42ced
parent17c1886a2c2e748c26051611b7bddd1502cbb832
fix A/52 spdif output regression

A/52 spdif output was broken by the switch over to the new filter API.

  * a52tofloat32 should only take control if there is _no_ spdif
    output requested otherwise the decoded stream ends up on the spdif
    device

  * a52tospdif has to set a pts/dts value otherwise the frames get
    (wrongfully) discarded as too late because a wrong pts/dts value
    got evaluated by aout_OutputNextBuffer()

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/audio_filter/converter/a52tofloat32.c
modules/audio_filter/converter/a52tospdif.c