vlc | branch: master | Thomas Guillem <[email protected]> | Thu Sep 22 09:27:46 2016 +0200| [75e39eac45059bf805aaf0342046c61808568afa] | committer: Thomas Guillem
decoder: audio: don't update format when creating a buffer Decoder modules are now responsible for calling decoder_UpdateAudioFormat() before decoder_NewAudioBuffer(). In a lot of modules, decoder_UpdateAudioFormat() could be called in a better place. Just after dec->fmt_out is updated for example. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75e39eac45059bf805aaf0342046c61808568afa --- modules/codec/adpcm.c | 2 ++ modules/codec/aes3.c | 2 ++ modules/codec/araw.c | 2 ++ modules/codec/dmo/dmo.c | 6 ++++++ modules/codec/faad.c | 5 ++++- modules/codec/flac.c | 3 +++ modules/codec/fluidsynth.c | 2 ++ modules/codec/g711.c | 5 +++++ modules/codec/lpcm.c | 2 ++ modules/codec/mft.c | 2 ++ modules/codec/mpeg_audio.c | 2 ++ modules/codec/mpg123.c | 2 ++ modules/codec/omxil/omxil.c | 2 ++ modules/codec/opus.c | 2 ++ modules/codec/speex.c | 9 +++++++-- modules/codec/uleaddvaudio.c | 2 ++ modules/codec/vorbis.c | 1 + modules/codec/wmafixed/wma.c | 2 ++ src/input/decoder.c | 3 --- 19 files changed, 50 insertions(+), 6 deletions(-) Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=75e39eac45059bf805aaf0342046c61808568afa _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
