[vlc-commits] mpg123: rewrite, handle the case 1 input => x outputs

Thomas Guillem git at videolan.org
Wed Oct 12 10:50:32 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Oct 11 13:55:51 2016 +0200| [22499583c642dbcb9becc9386d1fc8a0952942dd] | committer: Thomas Guillem

mpg123: rewrite, handle the case 1 input => x outputs

When the mpeg_audio packetizer is not used, input blocks can contain several
frames. The mpg123_decode_frame function is now called if *pp_block is NULL and
can return an output frame if there is enough data in mpg123 internal input.

The audio format is now updated when mpg123 report a format change.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22499583c642dbcb9becc9386d1fc8a0952942dd
---

 modules/codec/mpg123.c | 230 +++++++++++++++++++++++++++++--------------------
 1 file changed, 135 insertions(+), 95 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=22499583c642dbcb9becc9386d1fc8a0952942dd


More information about the vlc-commits mailing list