]> granicus.if.org Git - handbrake/commit
Allow audio fallback to be "None" (#623)
authorJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 12 Jun 2017 14:44:14 +0000 (07:44 -0700)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2017 14:44:14 +0000 (07:44 -0700)
commit74b10b23b0dd902ba718e8848662c9ac4241412c
tree0c426a0decb5ecbf2d26ec6b0e2d00b4f8526ef8
parent833d0a9658447647e96347621eb1ce42e9b4161e
Allow audio fallback to be "None" (#623)

* Allow audio fallback to be "None"

When audio fallback is "None", a failure to do passthru will result in
no output audio track being added.

* simplify audio autopassthru fallback logic
Drop track when fallback codec is invalid instead of falling back to a
default.  Since all presets have a fallback set, the default fallback
condition would only ever be triggered by an invalid setting.
gtk/src/hb-backend.c
libhb/common.c
libhb/common.h
libhb/preset.c