OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LinGui: fix me_method/me_range dependency
[handbrake-jp/handbrake-jp-git.git]
/
libhb
/
hb.c
diff --git
a/libhb/hb.c
b/libhb/hb.c
index
0589248
..
31b45c2
100644
(file)
--- a/
libhb/hb.c
+++ b/
libhb/hb.c
@@
-589,7
+589,7
@@
void hb_set_anamorphic_size( hb_job_t * job,
if ( job->maxWidth && (job->maxWidth < job->width) )
width = job->maxWidth;
- height = (
double)width / storage_aspect
;
+ height = (
(double)width / storage_aspect) + 0.5
;
if ( job->maxHeight && (job->maxHeight < height) )
height = job->maxHeight;