diff options
author | Rodeo <[email protected]> | 2012-03-28 23:22:17 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-03-28 23:22:17 +0000 |
commit | 39425d02862f054e3ef87ef45b789254c64511ad (patch) | |
tree | 30583795947cec54860e51a8b675bfd29f03a26a /libhb/scan.c | |
parent | cca9c898d2f57047ab2cdabee8c794ddf2775aa7 (diff) |
libhb: use source colorimetry information when available.
When source colorimetry can't be determined, guess.
Added code to guess PAL SD content and updated code to guess HD content.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4552 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/scan.c')
-rw-r--r-- | libhb/scan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/scan.c b/libhb/scan.c index 29c9caaee..1ad8659b7 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -869,6 +869,9 @@ skip_preview: title->pixel_aspect_width = vid_info.pixel_aspect_width; title->pixel_aspect_height = vid_info.pixel_aspect_height; } + title->color_prim = vid_info.color_prim; + title->color_transfer = vid_info.color_transfer; + title->color_matrix = vid_info.color_matrix; // compute the aspect ratio based on the storage dimensions and the // pixel aspect ratio (if supplied) or just storage dimensions if no PAR. |