From 7ecbe2890e8ca53631d6753b9147ff8a7d6139b8 Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Thu, 21 Sep 2017 11:21:24 +0200 Subject: gstreamer1.0-plugins-good: upgrade to version 1.12.3 Patch removed since it is already upstream now. Bugfixes release only. Signed-off-by: Nicolas Dechesne Signed-off-by: Ross Burton --- .../0001-v4l2-Fix-4K-colorimetry.patch | 48 ---------------------- .../gstreamer/gstreamer1.0-plugins-good_1.12.2.bb | 21 ---------- .../gstreamer/gstreamer1.0-plugins-good_1.12.3.bb | 20 +++++++++ 3 files changed, 20 insertions(+), 69 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Fix-4K-colorimetry.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.2.bb create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.3.bb (limited to 'meta/recipes-multimedia') diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Fix-4K-colorimetry.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Fix-4K-colorimetry.patch deleted file mode 100644 index f78818aa17..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Fix-4K-colorimetry.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 545646cccba243236e10362fe7325f89be57da1f Mon Sep 17 00:00:00 2001 -From: Nicolas Dufresne -Date: Tue, 18 Jul 2017 11:28:37 -0400 -Subject: [PATCH] v4l2: Fix 4K colorimetry - -Since 1.6, the transfer function for BT2020 has been changed from BT709 -to BT2020_12. It's the same function, but with more precision. As a side -effect, the V4L2 colorpsace didn't match GStreamer colorspace. When -GStreamer ended up making a guess, it would not match anything supported -by V4L2 anymore. This this by using BT2020_12 for BT2020 colorspace and -BT2020 transfer function in replacement of BT709 whenever a 4K -resolution is detected. - -Upstream-Status: Backport -Signed-off-by: Nicolas Dechesne - ---- - sys/v4l2/gstv4l2object.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c -index 61244455f..aae2c55e7 100644 ---- a/sys/v4l2/gstv4l2object.c -+++ b/sys/v4l2/gstv4l2object.c -@@ -1960,7 +1960,7 @@ gst_v4l2_object_get_colorspace (struct v4l2_format *fmt, - case V4L2_COLORSPACE_BT2020: - cinfo->range = GST_VIDEO_COLOR_RANGE_16_235; - cinfo->matrix = GST_VIDEO_COLOR_MATRIX_BT2020; -- cinfo->transfer = GST_VIDEO_TRANSFER_BT709; -+ cinfo->transfer = GST_VIDEO_TRANSFER_BT2020_12; - cinfo->primaries = GST_VIDEO_COLOR_PRIMARIES_BT2020; - break; - case V4L2_COLORSPACE_SMPTE240M: -@@ -2062,7 +2062,10 @@ gst_v4l2_object_get_colorspace (struct v4l2_format *fmt, - - switch (transfer) { - case V4L2_XFER_FUNC_709: -- cinfo->transfer = GST_VIDEO_TRANSFER_BT709; -+ if (fmt->fmt.pix.height > 2160) -+ cinfo->transfer = GST_VIDEO_TRANSFER_BT2020_12; -+ else -+ cinfo->transfer = GST_VIDEO_TRANSFER_BT709; - break; - case V4L2_XFER_FUNC_SRGB: - cinfo->transfer = GST_VIDEO_TRANSFER_SRGB; --- -2.14.1 - diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.2.bb deleted file mode 100644 index f9593c99aa..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.2.bb +++ /dev/null @@ -1,21 +0,0 @@ -require gstreamer1.0-plugins-good.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ - file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \ - file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" - -SRC_URI = " \ - http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ - file://0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch \ - file://avoid-including-sys-poll.h-directly.patch \ - file://ensure-valid-sentinel-for-gst_structure_get.patch \ - file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ - file://0001-v4l2-Fix-4K-colorimetry.patch \ -" -SRC_URI[md5sum] = "20254217d9805484532e08ff1c3aa296" -SRC_URI[sha256sum] = "5591ee7208ab30289a30658a82b76bf87169c927572d9b794f3a41ed48e1ee96" - -S = "${WORKDIR}/gst-plugins-good-${PV}" - -RPROVIDES_${PN}-pulseaudio += "${PN}-pulse" -RPROVIDES_${PN}-soup += "${PN}-souphttpsrc" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.3.bb new file mode 100644 index 0000000000..afcb333cb7 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.3.bb @@ -0,0 +1,20 @@ +require gstreamer1.0-plugins-good.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ + file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \ + file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" + +SRC_URI = " \ + http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ + file://0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch \ + file://avoid-including-sys-poll.h-directly.patch \ + file://ensure-valid-sentinel-for-gst_structure_get.patch \ + file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ +" +SRC_URI[md5sum] = "6b56a7cc6c5fd031a9596ec123b2f285" +SRC_URI[sha256sum] = "13e7f479296891fef5a686438f20ba7d534680becf2269ecc5ee24aa83b45f03" + +S = "${WORKDIR}/gst-plugins-good-${PV}" + +RPROVIDES_${PN}-pulseaudio += "${PN}-pulse" +RPROVIDES_${PN}-soup += "${PN}-souphttpsrc" -- cgit 1.2.3-korg