gstreamer1.0-vaapi: upgrade to version 1.18.0

* 0001-vaapsink-downgrade-to-marginal.patch
      Removed since these are included in 1.18.0
      13d090b566

    API and plugin documentation are no longer built with gtk_doc.
    The gtk_doc documentation has been removed in favour of a new unified
    documentation module built with hotdoc.
    Distributors should use the documentation release tarball instead of trying
    to package hotdoc and building the documentation from scratch.

(From OE-Core rev: 864421dffcddb1e62de9c0a26767cb4cea7a82c9)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jose Quaresma
2020-10-29 14:27:59 +00:00
committed by Richard Purdie
parent d1a625b4e7
commit e45136d86a
2 changed files with 6 additions and 56 deletions

View File

@@ -1,46 +0,0 @@
From 0c28cf7bfa90f8947833722cddf23d513490c6c3 Mon Sep 17 00:00:00 2001
From: Anuj Mittal <anuj.mittal@intel.com>
Date: Wed, 28 Nov 2018 15:08:48 +0800
Subject: [PATCH] vaapsink: downgrade to marginal
Using vaapisink with default poky configuration results in an
unresponsive display as of today because DRI2 rendering is currently broken
in non composited environments [1] and libva doesn't support DRI3 [2].
Downgrade vaapisink to marginal for now so playbin (and in turn gst-play
and gtk-play examples) use xvimagesink or others out of box.
[1] https://gitlab.freedesktop.org/xorg/xserver/issues/13
[2] https://github.com/intel/libva/issues/122
Upstream-Status: Pending
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
gst/vaapi/gstvaapi.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/gst/vaapi/gstvaapi.c b/gst/vaapi/gstvaapi.c
index 9a82454..4d94f2b 100644
--- a/gst/vaapi/gstvaapi.c
+++ b/gst/vaapi/gstvaapi.c
@@ -195,7 +195,6 @@ plugin_init (GstPlugin * plugin)
{
GstVaapiDisplay *display;
GArray *decoders;
- guint rank;
plugin_add_dependencies (plugin);
@@ -220,10 +219,7 @@ plugin_init (GstPlugin * plugin)
gst_element_register (plugin, "vaapidecodebin",
GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
- rank = GST_RANK_PRIMARY;
- if (g_getenv ("WAYLAND_DISPLAY"))
- rank = GST_RANK_MARGINAL;
- gst_element_register (plugin, "vaapisink", rank, GST_TYPE_VAAPISINK);
+ gst_element_register (plugin, "vaapisink", GST_RANK_MARGINAL, GST_TYPE_VAAPISINK);
#if USE_ENCODERS
gst_vaapiencode_register (plugin, display);

View File

@@ -8,28 +8,24 @@ REALPN = "gstreamer-vaapi"
LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \
file://0001-vaapsink-downgrade-to-marginal.patch \
"
SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz"
SRC_URI[md5sum] = "13f7cb6a64bde24e67f563377487dcce"
SRC_URI[sha256sum] = "191de7b0ab64a85dd0875c990721e7be95518f60e2a9106beca162004ed7c601"
SRC_URI[md5sum] = "079a3739857e0cf4904afe92659d8a18"
SRC_URI[sha256sum] = "c6efeb8c736f75bb1b53ab18413c60c4321300e7aee66641bcc07d59c2fe9e31"
S = "${WORKDIR}/${REALPN}-${PV}"
DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
inherit meson pkgconfig gtk-doc features_check upstream-version-is-even
inherit meson pkgconfig features_check upstream-version-is-even
REQUIRED_DISTRO_FEATURES ?= "opengl"
EXTRA_OEMESON += " \
-Ddoc=disabled \
-Dexamples=disabled \
-Dtests=enabled \
"
GTKDOC_MESON_OPTION = "gtk_doc"
GTKDOC_MESON_ENABLE_FLAG = "enabled"
GTKDOC_MESON_DISABLE_FLAG = "disabled"
PACKAGES =+ "${PN}-tests"
# OpenGL packageconfig factored out to make it easy for distros