Commit Graph

2 Commits

Author SHA1 Message Date
Bradley Sepos 8e2a082677
build: Additional hashbang compatibility for BSD-like systems.
Fixes #1040.
2017-12-03 04:38:48 -05:00
van f8eb63aed0 - change aspect from a scaled int to a double so we can handle the wider
range of aspect ratios we get from ffmpeg files.

 - add container_aspect to title struct (always zero except for DVDs
   when it's the aspect from the VTSI). To handle broken French DVDs,
   make HB complain & use the container aspect if it's different from
   the aspect computed from the video PAR.

 - fix ScanFunc's job template init so that it doesn't think the only
   legal aspect ratios are 16:9 & 4:3.

 - hb_reduce wouldn't reduce any fraction where both terms were equal and
   prime (e.g., 2/2, 3/3, 5/5, etc. would not become 1/1). Recoded it using
   Euclid's Algorithm so it always works and is faster.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1616 b64f7644-9d1e-0410-96f1-a4d463321fa5
2008-08-08 06:19:54 +00:00