diff options
author | jstebbins <[email protected]> | 2009-06-06 17:05:45 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-06 17:05:45 +0000 |
commit | 87313a3e48bf2349cbb5be3e89db9b203aae812f (patch) | |
tree | fad4b170022e40d7149c0e03b8a67f181b730dd0 /libhb | |
parent | 0c7fb06a10928ce4931f7d58e55aa3d506df262d (diff) |
libhb: correct error in preview scaling
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2494 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/hb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index 23119023e..7d140bdfb 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -469,7 +469,7 @@ void hb_get_preview( hb_handle_t * h, hb_title_t * title, int picture, context = sws_getContext(title->width - (job->crop[2] + job->crop[3]), title->height - (job->crop[0] + job->crop[1]), PIX_FMT_YUV420P, - rgb_width, job->height, PIX_FMT_YUV420P, + job->width, job->height, PIX_FMT_YUV420P, swsflags, NULL, NULL, NULL); // Scale |