# HG changeset patch
# User Deepthi Nandakumar <[email protected]>
# Date 1459149820 -19800
# Mon Mar 28 12:53:40 2016 +0530
# Node ID 5dbd6a0c8e17481a0c4d31243ebc8b46ad59e15d
# Parent c8ec86965e546f271ef54bad508a82e8a4911008
uhd-bd: 1088 needs to be cropped to conformance window of 1080, which x265
doesnt allow
diff -r c8ec86965e54 -r 5dbd6a0c8e17 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp Fri Feb 19 14:36:52 2016 +0530
+++ b/source/encoder/encoder.cpp Mon Mar 28 12:53:40 2016 +0530
@@ -1953,9 +1953,9 @@
x265_log(p, X265_LOG_ERROR, "uhd-bd: matrix coeffs supported
are either BT.709 or BT.2020\n");
disableUhdBd = 1;
}
- if ((p->sourceWidth != 1920 && p->sourceWidth != 3840) ||
(p->sourceHeight != 1080 && p->sourceHeight != 1088 && p->sourceHeight !=
2160))
+ if ((p->sourceWidth != 1920 && p->sourceWidth != 3840) ||
(p->sourceHeight != 1080 && p->sourceHeight != 2160))
{
- x265_log(p, X265_LOG_ERROR, "uhd-bd: Supported resolutions are
1920x1080, 1920x1088 and 3840x2160\n");
+ x265_log(p, X265_LOG_ERROR, "uhd-bd: Supported resolutions are
1920x1080 and 3840x2160\n");
disableUhdBd = 1;
}
if (disableUhdBd)
--
Deepthi Nandakumar
Engineering Manager, x265
Multicoreware, Inc
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel