]> granicus.if.org Git - handbrake/commit
Simplify Foreign Audio Search code:
authorRodeo <tdskywalker@gmail.com>
Tue, 1 May 2012 13:53:12 +0000 (13:53 +0000)
committerRodeo <tdskywalker@gmail.com>
Tue, 1 May 2012 13:53:12 +0000 (13:53 +0000)
commit9eb8646ec2f9a8167c93aae08d55533d8a5984a3
treeba322cf1fdbfb5eda27d7f24402fdca98eafcbf5
parentdf3daf7cdd85794ef3d7f0eff181eb3b323a489f
Simplify Foreign Audio Search code:

- move all subtitle hit counting to the decoders instead of reader
---> allows us to count actual subtitles rather than just packets

- always count subtitles, even when not doing a scan (may be useful in the future)

Miscellaneous improvements:

- always insert select_subtitle at the head of the output subtitle list, to make it less likely to be dropped

- when multiple subtitle tracks have forced hits, pick the track with the fewest forced hits
---> Foreign Audio Search should now work with Star Wars on Blu-ray

- logging improvements (more readable, and log job->select_subtitle configuration - Forced Only vs. All, Render vs. Passthrough)

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4622 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decpgssub.c
libhb/decvobsub.c
libhb/reader.c
libhb/work.c