[vlc-devel] commit: Set a non compressed format in aes3 decoder at open. ( Laurent Aimar )
git version control
git at videolan.org
Thu Feb 11 21:47:44 CET 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Feb 11 00:06:26 2010 +0100| [024420d8dfa3c3610d31ca5cd081f6a500efa597] | committer: Laurent Aimar
Set a non compressed format in aes3 decoder at open.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=024420d8dfa3c3610d31ca5cd081f6a500efa597
---
modules/codec/aes3.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/codec/aes3.c b/modules/codec/aes3.c
index c34b7ce..c83124f 100644
--- a/modules/codec/aes3.c
+++ b/modules/codec/aes3.c
@@ -261,6 +261,9 @@ static int Open( decoder_t *p_dec, bool b_packetizer )
}
else
{
+ p_dec->fmt_out.i_codec = VLC_CODEC_S16N;
+ p_dec->fmt_out.audio.i_bitspersample = 16;
+
p_dec->pf_decode_audio = Decode;
p_dec->pf_packetize = NULL;
}
More information about the vlc-devel
mailing list