]> granicus.if.org Git - handbrake/commit
decavcodec: fix issues with audio that has no explicit channel_layout
authorJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 4 Jun 2018 18:04:11 +0000 (11:04 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 4 Jun 2018 18:04:11 +0000 (11:04 -0700)
commit7f882a03af4e9680eafe34a6c36bbec9baef4dca
treec0c3be9d8caa50e0521a1718cf6c1a83857e939e
parent4822cd72fbeebb0996770ec890e42bb09d9b297f
decavcodec: fix issues with audio that has no explicit channel_layout

ffmpeg doesn't set a default channel layout for audio that has no
explicit layout (e.g. pcm_216le).  So we need to guess it from the
number of channels.

Fixes "no audio" in https://github.com/HandBrake/HandBrake/issues/1387
libhb/decavcodec.c