Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gstreamer-plugins-vaapi for
openSUSE:Factory checked in at 2022-02-09 20:38:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-vaapi (Old)
and /work/SRC/openSUSE:Factory/.gstreamer-plugins-vaapi.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-vaapi"
Wed Feb 9 20:38:55 2022 rev:47 rq:952076 version:1.18.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/gstreamer-plugins-vaapi/gstreamer-plugins-vaapi.changes
2021-12-21 19:39:14.716366825 +0100
+++
/work/SRC/openSUSE:Factory/.gstreamer-plugins-vaapi.new.1898/gstreamer-plugins-vaapi.changes
2022-02-09 20:39:44.342453326 +0100
@@ -1,0 +2,9 @@
+Fri Feb 4 19:47:30 UTC 2022 - Bj??rn Lie <[email protected]>
+
+- Update to version 1.18.6:
+ + libs: video-format: Check if formats map is not NULL
+ + vaapidecode: Autogenerate caps template
+ + vaapipostproc: copy over metadata also when using system
+ allocated buffer
+
+-------------------------------------------------------------------
Old:
----
gstreamer-vaapi-1.18.5.tar.xz
New:
----
gstreamer-vaapi-1.18.6.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer-plugins-vaapi.spec ++++++
--- /var/tmp/diff_new_pack.Takdwm/_old 2022-02-09 20:39:45.010454924 +0100
+++ /var/tmp/diff_new_pack.Takdwm/_new 2022-02-09 20:39:45.014454933 +0100
@@ -1,7 +1,7 @@
#
# spec file for package gstreamer-plugins-vaapi
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define gst_branch 1.0
Name: gstreamer-plugins-vaapi
-Version: 1.18.5
+Version: 1.18.6
Release: 0
Summary: Gstreamer VA-API plugins
License: LGPL-2.1-or-later
++++++ gstreamer-vaapi-1.18.5.tar.xz -> gstreamer-vaapi-1.18.6.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gstreamer-vaapi-1.18.5/.gitignore
new/gstreamer-vaapi-1.18.6/.gitignore
--- old/gstreamer-vaapi-1.18.5/.gitignore 1970-01-01 01:00:00.000000000
+0100
+++ new/gstreamer-vaapi-1.18.6/.gitignore 2022-02-02 16:08:43.000000000
+0100
@@ -0,0 +1 @@
+*~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gstreamer-vaapi-1.18.5/.gitlab-ci.yml
new/gstreamer-vaapi-1.18.6/.gitlab-ci.yml
--- old/gstreamer-vaapi-1.18.5/.gitlab-ci.yml 1970-01-01 01:00:00.000000000
+0100
+++ new/gstreamer-vaapi-1.18.6/.gitlab-ci.yml 2022-02-02 16:08:43.000000000
+0100
@@ -0,0 +1 @@
+include:
"https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/1.18/gitlab/ci_template.yml"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gstreamer-vaapi-1.18.5/ChangeLog
new/gstreamer-vaapi-1.18.6/ChangeLog
--- old/gstreamer-vaapi-1.18.5/ChangeLog 2021-09-08 21:05:20.566666000
+0200
+++ new/gstreamer-vaapi-1.18.6/ChangeLog 2022-02-02 16:08:43.000000000
+0100
@@ -1,3 +1,71 @@
+=== release 1.18.6 ===
+
+2022-02-02 15:08:43 +0000 Tim-Philipp M??ller <[email protected]>
+
+ * ChangeLog:
+ * NEWS:
+ * RELEASE:
+ * gstreamer-vaapi.doap:
+ * meson.build:
+ Release 1.18.6
+
+2022-01-30 09:38:48 +0100 V??ctor Manuel J??quez Leal <[email protected]>
+
+ * gst/vaapi/gstvaapipluginutil.c:
+ * meson.build:
+ vaapi: Disable Wayland if no libdrm
+ Platform wise, is not possible, as far as I known, to have Wayland
+ without kernel's DRM. Though, it's possible to configure
+ gstreamer-vaapi without DRM but Wayland support, with the enhanced
+ handling of dmabuf in vaapisink for Wayland, vaapisink will always
+ fail. Given both issues, configuration with no DRM but Wayland, makes
+ things more complex, and a simpler approach is to refuse that
+ configuration.
+ This patch disables Wayland support if there isn't DRM support. Also,
+ it disables the display test for Wayland, relying only on DRM and
+ X11.
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/441>
+
+2022-01-30 07:10:09 +0100 V??ctor Manuel J??quez Leal <[email protected]>
+
+ * gst-libs/gst/vaapi/video-format.c:
+ vaapi: libs: video-format: Check if formats map is not NULL.
+ Formats map is instantiated at the end of the display
+ instantiation. The problem is the Wayland display which looks for a
+ format in a callback, before the map is populated.
+ If user compiles gstreamer-vaapi with DRM support, the map is
+ populated with a DRM display at GStreamer plugin registration. But if
+ not, or a VA driver is not available, the plugin will try with a
+ Wayland driver, which cause the NULL de-reference.
+ Nevertheless, in the case of no DRM support, and if the Wayland
+ display doesn't get a reply from the format conversion is not a
+ problem.
+ So the solution is the trivial one, check if the format map is already
+ populated before de-reference it.
+ Fixes: #977
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/441>
+
+2021-12-01 12:26:11 +0100 V??ctor Manuel J??quez Leal <[email protected]>
+
+ * gst/vaapi/gstvaapidecode.c:
+ vaapidecode: Autogenerate caps template.
+ vaapidecode is used in vaapidecodebin and it exposes all the
+ theoretically supported caps, but that slows down autoplug. With this
+ autplug is negotiated faster, giving more option to decodebin to
select
+ other decoder.
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/440>
+
+2021-11-15 16:38:34 +0800 Ung, Teng En <[email protected]>
+
+ * gst/vaapi/gstvaapipostproc.c:
+ vaapipostproc: fix mising metadata when using system
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/439>
+
+2021-09-09 00:13:12 +0100 Tim-Philipp M??ller <[email protected]>
+
+ * meson.build:
+ Back to development
+
=== release 1.18.5 ===
2021-09-08 20:05:19 +0100 Tim-Philipp M??ller <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gstreamer-vaapi-1.18.5/NEWS
new/gstreamer-vaapi-1.18.6/NEWS
--- old/gstreamer-vaapi-1.18.5/NEWS 2021-09-08 21:05:20.570665800 +0200
+++ new/gstreamer-vaapi-1.18.6/NEWS 2022-02-02 16:08:43.000000000 +0100
@@ -2,13 +2,13 @@
GStreamer 1.18.0 was originally released on 8 September 2020.
-The latest bug-fix release in the 1.18 series is 1.18.5 and was released
-on 8 September 2021.
+The latest bug-fix release in the 1.18 series is 1.18.6 and was released
+on 2 February 2022.
See https://gstreamer.freedesktop.org/releases/1.18/ for the latest
version of this document.
-Last updated: Wednesday 8 September 2021, 11:00 UTC (log)
+Last updated: Wednesday 2 February 2022, 11:30 UTC (log)
Introduction
@@ -2103,9 +2103,8 @@
Known Issues
- GStreamer 1.18 versions <= 1.18.4 would fail to build on Linux with
- Meson 0.58 due to an issue with the include directories. Either
- apply the patch or build with an older Meson version (<= 0.57) until
- there is a GStreamer 1.18.5 release that includes the fix.
+ Meson 0.58 due to an issue with the include directories.
+ GStreamer >= 1.18.5 includes a fix for this.
Contributors
@@ -3183,16 +3182,180 @@
- List of Merge Requests applied in 1.18.5
- List of Issues fixed in 1.18.5
+1.18.6
+
+The sixth 1.18 bug-fix release (1.18.6) was released on 2 February 2022.
+
+This release only contains bugfixes and security fixes and it should be
+safe to update from 1.18.x.
+
+Highlighted bugfixes in 1.18.6
+
+- tagdemux: Fix crash when presented with malformed files (security
+ fix)
+- video-converter: Fix broken gamma remap with high bitdepth YUV
+ output
+- shout2send: Fix issues with libshout >= 2.4.2
+- mxfdemux: fix regression with VANC tracks that only contains packet
+ types we don???t handle
+- Better plugin loading error reporting on Windows
+- Fixes for deprecations in Python 3.10
+- build fixes, memory leak fixes, reliability fixes
+- security fixes
+
+gstreamer
+
+- gstplugin: Fix for UWP build
+- gstplugin: Better warnings on plugin load failure on Windows
+- gst-ptp-helper: Do not disable multicast loopback
+- concat: fix qos event handling
+- pluginfeature: Fix object leak
+- baseparse: fix invalid avg_bitrate after reset
+- multiqueue: Fix query unref race on flush
+- gst: Initialize optional event/message fields when parsing
+- bitwriter: Fix the trailing bits lost when getting its data.
+- multiqueue: never consider a queue that is not waiting
+- input-selector: Use proper segments when cleaning cached buffers
+
+gst-plugins-base
+
+- tagdemux: Fix crash when presented with malformed files (security
+ fix)
+- videoencoder: make sure the buffer is writable before modifying
+ metadata
+- video-converter: Fix for broken gamma remap with high bitdepth YUV
+ output
+- sdpmessage: fix mapping single char fmtp params
+- oggdemux: fix a race in push mode when performing the duration seek
+- uridecodebin: Fix critical warnings
+- audio-converter: Fix resampling when there???s nothing to output
+- tcp: fix build on Solaris
+- uridecodebin3: Nullify current item after all play items are freed.
+- audio-resampler: Fix segfault when we can???t output any frames
+- urisourcebin: Handle sources with dynamic pads and pads already
+ present
+- playbin2/3: autoplug/caps: don???t expand caps to ANY
+- uridecodebin3/urisourcebin: Reusability fixes
+- rtspconnection: Only reset timeout when socket is unused
+- gstvideoaggregator.c: fix build with gcc 4.8
+
+gst-plugins-good
+
+- rtspsrc: Fix critical while serializing timeout element message
+- multifilesrc: fix caps leak
+- shout2: Add compatibility for libshout >= 2.4.2 shout_open return
+ values
+- v4l2: Update fmt if padded height is greater than fmt height
+- v4l2bufferpool: set video alignment of video meta
+- qtmux: fix deadlock in gst_qt_mux_prepare_moov_recovery
+- matroska: Add support for muxing/demuxing ffv1
+- qtdemux: Try to build AAC codec-data whenever it???s possible
+
+gst-plugins-bad
+
+- interlace: Fix a double-unref on shutdown
+- webrtcbin: Chain up to parent constructed method
+- webrtc: fix log error message in function
+ gst_webrtc_bin_set_local_description
+- mxfdemux: don???t error out if VANC track only contains packets we
+ don???t handle
+- av1parser: Fix data type of film grain param
+- assrender: Support RFC8081 mime types
+- pitch: Specify layout as required for negotiation
+- magicleap: update lumin_rt libraries names to the latest official
+ version
+- codecs: h265decoder: Fix per-slice leak
+- mpeg4videoparse: fix criticals trying to insert configs that don???t
+ exist yet
+- webrtcbin: Always set SINK/SRC flags
+- mpegtspacketizer: memcmp potentially seen_before data
+- zxing: update to support version 1.1.1
+
+gst-plugins-ugly
+
+- No changes
+
+gst-libav
+
+- avcodecmap: Add support for GBRA_10LE/BE
+
+gst-rtsp-server
+
+- rtsp-stream: fix get_rates raciness
+- rtsp-media: Only unprepare a media if it was not already unpreparing
+ anyway
+- rtsp-media: Unprepare suspended medias too
+- rtsp-client: make sure sessmedia will not get freed while used
+- rtsp-media: Also mark receive-only (RECORD) medias as prepared when
+ unsuspending
+- rtsp-session: Don???t unref medias twice if it is removed inside???
+- examples: Fix leak in appsrc2 example
+
+gstreamer-vaapi
+
+- libs: video-format: Check if formats map is not NULL
+- vaapidecode: Autogenerate caps template
+- vaapipostproc: copy over metadata also when using system allocated
+ buffer
+
+gst-python
+
+- Avoid treating float as int (fix for Python 3.10)
+
+gst-editing-services
+
+- meson: Remove duplicate definition of ???examples??? option
+
+gst-devtools
+
+- No changes
+
+gst-integration-testsuites
+
+- No changes
+
+gst-build
+
+- env: Fix deprecations from python 3.10
+- Various fixes for macOS
+- update FFmpeg wrap to 4.3.3
+
+Cerbero build tool and packaging changes in 1.18.6
+
+- Some fixes for Fedora 34
+- cerbero: Backport fix for removed loop param of PriorityQueue()
+- cerbero: Fix support for Fedora 35
+- Add support for Visual Studio 2022
+- openssl.recipe: Fix crash on iOS TestFlight
+- UnixBootstrapper: remove sudo as root user
+- bzip2.recipe: bump version to 1.0.8
+- openssl.recipe: upgrade to version 1.1.1l
+
+Contributors to 1.18.6
+
+Antonio Ospite, C??lestin Marot, Dave Pich??, Erlend Eriksen, Fabrice
+Fontaine, Guillaume Desmottes, Haihua Hu, He Junyan, Jakub Adam, Jan
+Alexander Steffens (heftig), Jan Schmidt, Jeremy Cline, Jordan Petridis,
+Mathieu Duponchelle, Matthew Waters, Mengkejiergeli Ba, Michael Gruner,
+Nirbheek Chauhan, Ognyan Tonchev, Pascal Hache, Rafa?? Dzi??giel,
+Sebastian Dr??ge, Seungha Yang, St??phane Cerveau, Teng En Ung,Thibault
+Saunier, Thomas Klausner, Tim-Philipp M??ller, Tobias Reineke, Tobias
+Ronge, Tomasz Andrzejak, Trung Do, V??ctor Manuel J??quez Leal, Vivia
+Nikolaidou,
+
+??? and many others who have contributed bug reports, translations, sent
+suggestions or helped testing. Thank you all!
+
+List of merge requests and issues fixed in 1.18.6
+
+- List of Merge Requests applied in 1.18.6
+- List of Issues fixed in 1.18.6
+
Schedule for 1.20
-Our next major feature release will be 1.20, and 1.19 will be the
-unstable development version leading up to the stable 1.20 release. The
-development of 1.19/1.20 will happen in the git master branch.
-
-The plan for the 1.20 development cycle is yet to be confirmed, but it
-is now expected that feature freeze will take place some time in
-September/October 2021, with the first 1.20 stable release hopefully
-towards the end of October 2021.
+Our next major feature release will be 1.20, and will be released in
+early February 2022. You can track its progress on the 1.20 Release
+Notes page.
1.20 will be backwards-compatible to the stable 1.18, 1.16, 1.14, 1.12,
1.10, 1.8, 1.6, 1.4, 1.2 and 1.0 release series.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gstreamer-vaapi-1.18.5/RELEASE
new/gstreamer-vaapi-1.18.6/RELEASE
--- old/gstreamer-vaapi-1.18.5/RELEASE 2021-09-08 21:05:20.570665800 +0200
+++ new/gstreamer-vaapi-1.18.6/RELEASE 2022-02-02 16:08:43.000000000 +0100
@@ -1,4 +1,4 @@
-This is GStreamer gstreamer-vaapi 1.18.5.
+This is GStreamer gstreamer-vaapi 1.18.6.
The GStreamer team is thrilled to announce a new major feature release
of your favourite cross-platform multimedia framework!
@@ -82,7 +82,7 @@
For help and support, please subscribe to and send questions to the
gstreamer-devel mailing list (see below for details).
-There is also a #gstreamer IRC channel on the Freenode IRC network.
+There is also a #gstreamer IRC channel on the OFTC IRC network.
==== Developers ====
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gstreamer-vaapi-1.18.5/gst/vaapi/gstvaapidecode.c
new/gstreamer-vaapi-1.18.6/gst/vaapi/gstvaapidecode.c
--- old/gstreamer-vaapi-1.18.5/gst/vaapi/gstvaapidecode.c 2021-09-08
21:05:20.586665900 +0200
+++ new/gstreamer-vaapi-1.18.6/gst/vaapi/gstvaapidecode.c 2022-02-02
16:08:43.000000000 +0100
@@ -64,18 +64,7 @@
#define GST_CAPS_CODEC(CODEC) CODEC "; "
/* *INDENT-OFF* */
-static const char gst_vaapidecode_sink_caps_str[] =
- GST_CAPS_CODEC("video/mpeg, mpegversion=2, systemstream=(boolean)false")
- GST_CAPS_CODEC("video/mpeg, mpegversion=4")
- GST_CAPS_CODEC("video/x-divx")
- GST_CAPS_CODEC("video/x-xvid")
- GST_CAPS_CODEC("video/x-h263")
- GST_CAPS_CODEC("video/x-h264")
- GST_CAPS_CODEC("video/x-h265")
- GST_CAPS_CODEC("video/x-wmv")
- GST_CAPS_CODEC("video/x-vp8")
- GST_CAPS_CODEC("video/x-vp9")
- ;
+char *gst_vaapidecode_sink_caps_str = NULL;
static const char gst_vaapidecode_src_caps_str[] =
GST_VAAPI_MAKE_SURFACE_CAPS "; "
@@ -118,8 +107,7 @@
{GST_VAAPI_CODEC_VP8, GST_RANK_PRIMARY, "vp8", "video/x-vp8", NULL},
{GST_VAAPI_CODEC_VP9, GST_RANK_PRIMARY, "vp9", "video/x-vp9", NULL},
{GST_VAAPI_CODEC_H265, GST_RANK_PRIMARY, "h265", "video/x-h265", NULL},
- {0 /* the rest */ , GST_RANK_PRIMARY + 1, NULL,
- gst_vaapidecode_sink_caps_str, NULL},
+ {0 /* the rest */ , GST_RANK_PRIMARY + 1, NULL, NULL, NULL},
};
static GstElementClass *parent_class = NULL;
@@ -1554,7 +1542,12 @@
map->install_properties (object_class);
/* sink pad */
- caps = gst_caps_from_string (map->caps_str);
+ if (map->caps_str) {
+ caps = gst_caps_from_string (map->caps_str);
+ } else {
+ caps = gst_caps_from_string (gst_vaapidecode_sink_caps_str);
+ g_free (gst_vaapidecode_sink_caps_str);
+ }
pad_template = gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
caps);
gst_caps_unref (caps);
@@ -1580,7 +1573,7 @@
{
gboolean ret = FALSE;
guint i, codec, rank;
- gchar *type_name, *element_name;
+ gchar *type_name, *element_name, *sink_caps_str;
const gchar *name;
GType type;
GTypeInfo typeinfo = {
@@ -1603,6 +1596,15 @@
if (codec && !gst_vaapi_codecs_has_codec (decoders, codec))
continue;
+ if (!gst_vaapidecode_sink_caps_str) {
+ gst_vaapidecode_sink_caps_str = g_strdup (vaapi_decode_map[i].caps_str);
+ } else {
+ sink_caps_str = g_strconcat (gst_vaapidecode_sink_caps_str, "; ",
+ vaapi_decode_map[i].caps_str, NULL);
+ g_clear_pointer (&gst_vaapidecode_sink_caps_str, g_free);
+ gst_vaapidecode_sink_caps_str = sink_caps_str;
+ }
+
if (codec) {
type_name = g_strdup_printf ("GstVaapiDecode_%s", name);
element_name = g_strdup_printf ("vaapi%sdec", name);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/gstreamer-vaapi-1.18.5/gst/vaapi/gstvaapipluginutil.c
new/gstreamer-vaapi-1.18.6/gst/vaapi/gstvaapipluginutil.c
--- old/gstreamer-vaapi-1.18.5/gst/vaapi/gstvaapipluginutil.c 2021-09-08
21:05:20.590665800 +0200
+++ new/gstreamer-vaapi-1.18.6/gst/vaapi/gstvaapipluginutil.c 2022-02-02
16:08:43.000000000 +0100
@@ -920,9 +920,6 @@
#if USE_DRM
GST_VAAPI_DISPLAY_TYPE_DRM,
#endif
-#if USE_WAYLAND
- GST_VAAPI_DISPLAY_TYPE_WAYLAND,
-#endif
#if USE_X11
GST_VAAPI_DISPLAY_TYPE_X11,
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gstreamer-vaapi-1.18.5/gst/vaapi/gstvaapipostproc.c
new/gstreamer-vaapi-1.18.6/gst/vaapi/gstvaapipostproc.c
--- old/gstreamer-vaapi-1.18.5/gst/vaapi/gstvaapipostproc.c 2021-09-08
21:05:20.590665800 +0200
+++ new/gstreamer-vaapi-1.18.6/gst/vaapi/gstvaapipostproc.c 2022-02-02
16:08:43.000000000 +0100
@@ -1578,6 +1578,9 @@
ret = gst_vaapipostproc_passthrough (trans, buf, outbuf);
done:
+ if (sys_buf)
+ copy_metadata (postproc, sys_buf, buf);
+
gst_buffer_unref (buf);
if (sys_buf) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/gstreamer-vaapi-1.18.5/gst-libs/gst/vaapi/video-format.c
new/gstreamer-vaapi-1.18.6/gst-libs/gst/vaapi/video-format.c
--- old/gstreamer-vaapi-1.18.5/gst-libs/gst/vaapi/video-format.c
2021-09-08 21:05:20.586665900 +0200
+++ new/gstreamer-vaapi-1.18.6/gst-libs/gst/vaapi/video-format.c
2022-02-02 16:08:43.000000000 +0100
@@ -183,7 +183,7 @@
#undef DEF_RGB
#undef DEF_YUV
-static GArray *gst_vaapi_video_formats_map;
+static GArray *gst_vaapi_video_formats_map = NULL;
static inline gboolean
va_format_is_rgb (const VAImageFormat * va_format)
@@ -252,6 +252,9 @@
const GstVideoFormatMap *entry;
guint i;
+ if (!formats)
+ return NULL;
+
for (i = 0; i < formats->len; i++) {
entry = &g_array_index (formats, GstVideoFormatMap, i);
if (entry->format == format)
@@ -267,6 +270,9 @@
const GstVideoFormatMap *entry;
guint i;
+ if (!formats)
+ return NULL;
+
for (i = 0; i < formats->len; i++) {
entry = &g_array_index (formats, GstVideoFormatMap, i);
if (va_format_is_same (&entry->va_format, va_format))
@@ -636,6 +642,9 @@
const GstVideoFormatMap *m;
guint i;
+ if (!map)
+ return GST_VIDEO_FORMAT_UNKNOWN;
+
/* Note: VA fourcc values are now standardized and shall represent
a unique format. The associated VAImageFormat is just a hint to
determine RGBA component ordering */
@@ -669,6 +678,9 @@
const GstVideoFormatMap *m;
guint i;
+ if (!map)
+ return GST_VIDEO_FORMAT_UNKNOWN;
+
for (i = 0; i < map->len; i++) {
m = &g_array_index (map, GstVideoFormatMap, i);
if (m->drm_format == drm_format)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gstreamer-vaapi-1.18.5/gstreamer-vaapi.doap
new/gstreamer-vaapi-1.18.6/gstreamer-vaapi.doap
--- old/gstreamer-vaapi-1.18.5/gstreamer-vaapi.doap 2021-09-08
21:05:20.590665800 +0200
+++ new/gstreamer-vaapi-1.18.6/gstreamer-vaapi.doap 2022-02-02
16:08:43.000000000 +0100
@@ -27,6 +27,16 @@
<release>
<Version>
+ <revision>1.18.6</revision>
+ <branch>1.18</branch>
+ <name></name>
+ <created>2022-02-02</created>
+ <file-release
rdf:resource="https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.18.6.tar.xz"
/>
+ </Version>
+ </release>
+
+ <release>
+ <Version>
<revision>1.18.5</revision>
<branch>1.18</branch>
<name></name>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gstreamer-vaapi-1.18.5/meson.build
new/gstreamer-vaapi-1.18.6/meson.build
--- old/gstreamer-vaapi-1.18.5/meson.build 2021-09-08 21:05:20.590665800
+0200
+++ new/gstreamer-vaapi-1.18.6/meson.build 2022-02-02 16:08:43.000000000
+0100
@@ -1,5 +1,5 @@
project('gstreamer-vaapi', 'c',
- version : '1.18.5',
+ version : '1.18.6',
meson_version : '>= 0.48.0',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])
@@ -118,10 +118,14 @@
USE_DRM = libva_drm_dep.found() and libdrm_dep.found() and libudev_dep.found()
and get_option('with_drm') != 'no'
USE_EGL = gmodule_dep.found() and egl_dep.found() and GLES_VERSION_MASK != 0
and get_option('with_egl') != 'no'
-USE_WAYLAND = libva_wayland_dep.found() and wayland_client_dep.found() and
wayland_protocols_dep.found() and wayland_scanner_bin.found() and
get_option('with_wayland') != 'no'
+USE_WAYLAND = libva_wayland_dep.found() and wayland_client_dep.found() and
wayland_protocols_dep.found() and wayland_scanner_bin.found() and
get_option('with_wayland') != 'no' and USE_DRM
USE_X11 = libva_x11_dep.found() and x11_dep.found() and get_option('with_x11')
!= 'no'
USE_GLX = gl_dep.found() and libdl_dep.found() and get_option('with_glx') !=
'no' and USE_X11
+if get_option('with_wayland') == 'yes' and not USE_DRM
+ error('DRM support is required to enable Wayland support')
+endif
+
if not (USE_DRM or USE_X11 or USE_WAYLAND)
error('No renderer API found (it is requried either DRM, X11 and/or
WAYLAND)')
endif