Changes of Revision 25

gstreamer-plugins-bad-codecs.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Sat Aug 24 19:53:47 UTC 2024 - Bjørn Lie <zaitor@opensuse.org>
4
+
5
+- Update to version 1.24.7
6
+
7
+-------------------------------------------------------------------
8
 Mon Aug  5 17:33:08 UTC 2024 - Bjørn Lie <zaitor@opensuse.org>
9
 
10
 - Update to version 1.24.6
11
gstreamer-plugins-bad-codecs.spec Changed
10
 
1
@@ -7,7 +7,7 @@
2
 %define _version 1.24.0
3
 
4
 Name:           gstreamer-plugins-bad-codecs
5
-Version:        1.24.6
6
+Version:        1.24.7
7
 Release:        0
8
 Summary:        Codecs/plugins for gstreamer-plugins-bad
9
 License:        LGPL-2.1-or-later
10
gst-plugins-bad-1.24.6.tar.xz/ChangeLog -> gst-plugins-bad-1.24.7.tar.xz/ChangeLog Changed
103
 
1
@@ -1,3 +1,101 @@
2
+=== release 1.24.7 ===
3
+
4
+2024-08-21 12:25:15 +0100  Tim-Philipp Müller <tim@centricular.com>
5
+
6
+   * NEWS:
7
+   * RELEASE:
8
+   * gst-plugins-bad.doap:
9
+   * meson.build:
10
+     Release 1.24.7
11
+
12
+2024-08-19 12:39:21 +0200  Guillaume Desmottes <guillaume.desmottes@onestream.live>
13
+
14
+   * ext/wpe/gstwpethreadedview.cpp:
15
+     wpe: initialize threading.ready before reading it
16
+     Fixes Valgrind warning.
17
+     Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7385>
18
+
19
+2024-08-19 14:34:28 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
20
+
21
+   * sys/va/gstvabasedec.c:
22
+   * sys/va/gstvabaseenc.c:
23
+   * sys/va/gstvabasetransform.c:
24
+   * sys/va/gstvacompositor.c:
25
+     va: don't use GST_ELEMENT_WARNING in set_context() vmethod
26
+     Since bins can set the context of their children elements, the set_context()
27
+     vmethod shouldn't call bus messages post methods, since it locks the parent
28
+     object, the bin, which might be already locked, leading to a deadlock.
29
+     Fixes: #3706
30
+     Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7379>
31
+
32
+2024-07-22 21:29:38 +0800  Qian Hu (胡骞) <qian.hu@mediatek.com>
33
+
34
+   * gst-libs/gst/codecparsers/gsth264parser.c:
35
+   * gst-libs/gst/codecparsers/gsth265parser.c:
36
+   * tests/check/libs/h264parser.c:
37
+     h26xparse: bypass check for length_size_minus_one
38
+     fix playback fail, when some file with length_size_minus_one == 2
39
+     According to the spec 2 cannot be a valid value, so that stream has a
40
+     bad config record. but breaking the decoding because of that, perhaps is too much.
41
+     and ffmpeg seem not check this
42
+     Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7358>
43
+
44
+2024-08-13 10:42:31 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
45
+
46
+   * sys/msdk/gstmsdkav1enc.c:
47
+   * sys/msdk/gstmsdkcontext.c:
48
+   * sys/msdk/gstmsdkh264enc.c:
49
+   * sys/msdk/gstmsdkh265enc.c:
50
+   * sys/msdk/gstmsdkmpeg2enc.c:
51
+   * sys/msdk/gstmsdkvc1dec.c:
52
+   * sys/msdk/gstmsdkvp9enc.c:
53
+     msdk: replace strcmp with g_strcmp0
54
+     Because strcmp doesn't handle NULL.
55
+     Fixes: #3721
56
+     Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7349>
57
+
58
+2024-08-07 19:14:26 +0100  Tim-Philipp Müller <tim@centricular.com>
59
+
60
+   * docs/plugins/gst_plugins_cache.json:
61
+   * ext/aom/gstav1enc.c:
62
+     aom: av1enc: restrict allowed input width and height
63
+     Restrict allowed input resolution to something sensible
64
+     in light of libaom CVE-2024-5171.
65
+     Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7328>
66
+
67
+2024-08-06 22:48:16 +1000  Jan Schmidt <jan@centricular.com>
68
+
69
+   * gst-libs/gst/webrtc/webrtc_fwd.h:
70
+     webrtc: Add missing G_BEGIN/END_DECLS in header
71
+     Fix using webrtc.h from C++ by adding the GLib begin/end
72
+     decls markers around the header contents in webrtc_fwd.h
73
+     Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7313>
74
+
75
+2024-07-03 07:58:58 -0600  Jordan Yelloz <jordan.yelloz@collabora.com>
76
+
77
+   * gst/videoparsers/gsth265parse.c:
78
+     h265parse: Reject FD received before SPS
79
+     A previous fix, a275e1e029e9b5d88be26b8304c9a162e4567346, is correct but was too
80
+     permissive since it treats all un-matched NAL units the same as AU delimiters
81
+     even though some other NAL unit types can be encountered in the processing loop.
82
+     The problem this can cause is that some hardware decoders experience bad
83
+     performance when handling FD units that precede the SPS.
84
+     This change restores the original behavior for FDs so that they're ignored until
85
+     the SPS is received and it preserves the codec conformance test gains that the
86
+     fix has achieved.
87
+     Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7296>
88
+
89
+2024-07-26 17:13:10 +0200  Guillaume Desmottes <guillaume.desmottes@onestream.live>
90
+
91
+   * ext/rsvg/gstrsvgoverlay.c:
92
+     rsvgoverlay: add debug category
93
+     Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7281>
94
+
95
+2024-07-29 16:48:02 +0100  Tim-Philipp Müller <tim@centricular.com>
96
+
97
+   * meson.build:
98
+     Back to development after 1.24.6
99
+
100
 === release 1.24.6 ===
101
 
102
 2024-07-29 16:41:37 +0100  Tim-Philipp Müller <tim@centricular.com>
103
gst-plugins-bad-1.24.6.tar.xz/NEWS -> gst-plugins-bad-1.24.7.tar.xz/NEWS Changed
149
 
1
@@ -2,11 +2,11 @@
2
 
3
 GStreamer 1.24.0 was originally released on 4 March 2024.
4
 
5
-The latest bug-fix release in the stable 1.24 series is 1.24.6 and was released on 29 July 2024.
6
+The latest bug-fix release in the stable 1.24 series is 1.24.6 and was released on 21 August 2024.
7
 
8
 See https://gstreamer.freedesktop.org/releases/1.24/ for the latest version of this document.
9
 
10
-Last updated: Monday 29 July 2024, 14:30 UTC (log)
11
+Last updated: Tuesday 20 August 2024, 20:30 UTC (log)
12
 
13
 ## Introduction
14
 
15
@@ -2289,6 +2289,133 @@
16
 -   List of Merge Requests applied in 1.24.6
17
 -   List of Issues fixed in 1.24.6
18
 
19
+1.24.7
20
+
21
+The seventh 1.24 bug-fix release (1.24.7) was released on 21 August 2024.
22
+
23
+This release only contains bugfixes and it should be safe to update from 1.24.x.
24
+
25
+Highlighted bugfixes in 1.24.7
26
+
27
+-   Fix APE and Musepack audio file and GIF playback with FFmpeg 7.0
28
+-   playbin3: Fix potential deadlock with multiple playbin3s with glimagesink used in parallel
29
+-   qt6: various qmlgl6src and qmlgl6sink fixes and improvements
30
+-   rtspsrc: expose property to force usage of non-compliant setup URLs for RTSP servers where the automatic fallback doesn’t
31
+    work
32
+-   urisourcebin: gapless playback and program switching fixes
33
+-   v4l2: various fixes
34
+-   va: Fix potential deadlock with multiple va elements used in parallel
35
+-   meson: option to disable gst-full for static-library build configurations that do not need this
36
+-   cerbero: libvpx updated to 1.14.1; map 2022Server to Windows11; disable rust variant on Linux if binutils is too old
37
+-   Various bug fixes, memory leak fixes, and other stability and reliability improvements
38
+
39
+gstreamer
40
+
41
+-   bin: Don’t keep the object lock while setting a GstContext when handling NEED_CONTEXT
42
+-   core: Log pad name, not just the pointer
43
+
44
+gst-plugins-base
45
+
46
+-   pbutils: descriptions: use subsampling factor to get YUV subsampling
47
+-   rtspconnection: Handle invalid argument properly
48
+-   urisourcebin: Actually drop EOS on old-school pad switch
49
+-   urisourcebin: Don’t hold lock when emitting about-to-finish
50
+-   gst-launch deadlock with two playbin3s
51
+-   xvimagesink: Fix crash in pool on error
52
+
53
+gst-plugins-good
54
+
55
+-   qmlgl6src: Fix crash when use-default-fbo is not set
56
+-   qt6glwindow: Fallback to GL_RGB on CopyTexImage2D error, fixing usage with eglfs backend
57
+-   qt6glwindow: Only use GL_READ_FRAMEBUFFER when we do blits
58
+-   qt6: glwindow: Don’t leak previously rendered buffer
59
+-   rtspsrc: expose property for forcing usage of non-compliant URLs
60
+-   v4l2object: fix ARIB_STD_B67 colorimetry unmatch issue
61
+-   v4l2: Fix colorimetry mismatch for encoded format with RGB color-matrix
62
+
63
+gst-plugins-bad
64
+
65
+-   aom: av1enc: restrict allowed input width and height
66
+-   h264parse: bypass check for length_size_minus_one
67
+-   h265parse: Reject FD received before SPS
68
+-   msdk: replace strcmp with g_strcmp0
69
+-   msdkvc1dec crashes (segfault)
70
+-   rsvgoverlay: add debug category
71
+-   va: don’t use GST_ELEMENT_WARNING in set_context() vmethod to fix potential deadlock
72
+-   va: deadlock when playing two videos at once
73
+-   webrtc: Add missing G_BEGIN/END_DECLS in header for C++
74
+-   wpe: initialize threading.ready before reading it
75
+
76
+gst-plugins-ugly
77
+
78
+-   No changes
79
+
80
+GStreamer Rust plugins
81
+
82
+-   gtk4: Move the dmabuf cfg to the correct bracket level
83
+
84
+gst-libav
85
+
86
+-   avdemux: Fix deadlock with FFmpeg 7.x when serialized events are received from upstream while opening, such as e.g. APE
87
+    files with tags
88
+-   libav: return EOF when stream is out of data
89
+-   avdemux: Never return 0 from read function, which would lead to infinite loops
90
+
91
+gst-rtsp-server
92
+
93
+-   No changes
94
+
95
+gstreamer-vaapi
96
+
97
+-   vaapi: Fix sps_max_dec_pic_buffering_minus1 value in h265 decoder
98
+
99
+gstreamer-sharp
100
+
101
+-   No changes
102
+
103
+gst-omx
104
+
105
+-   No changes
106
+
107
+gst-python
108
+
109
+-   No changes
110
+
111
+gst-editing-services
112
+
113
+-   nlecomposition: Don’t leak QoS events
114
+
115
+gst-devtools, gst-validate + gst-integration-testsuites
116
+
117
+-   validate: Fix copying of action name
118
+
119
+gst-examples
120
+
121
+-   No changes
122
+
123
+Development build environment
124
+
125
+-   Add a meson option to disable gst-full for static-library build configurations that do not need this
126
+
127
+Cerbero build tool and packaging changes in 1.24.7
128
+
129
+-   Disable rust variant on Linux if binutils is too old
130
+-   Added 2022Server to the Windows platform distro map as Windows11
131
+-   libvpx: Update to 1.14.1
132
+
133
+Contributors to 1.24.7
134
+
135
+David Rosca, Edward Hervey, Guillaume Desmottes, Hou Qi, Jan Schmidt, Jesper Jensen, Jordan Petridis, Jordan Yelloz, L. E.
136
+Segovia, Lyra McMillan, Mathieu Duponchelle, Max Romanov, Nicolas Dufresne, Nirbheek Chauhan, Qian Hu (胡骞), Sebastian Dröge,
137
+Tim-Philipp Müller, Víctor Manuel Jáquez Leal,
138
+
139
+… and many others who have contributed bug reports, translations, sent suggestions or helped testing. Thank you all!
140
+
141
+List of merge requests and issues fixed in 1.24.7
142
+
143
+-   List of Merge Requests applied in 1.24.7
144
+-   List of Issues fixed in 1.24.7
145
+
146
 Schedule for 1.26
147
 
148
 Our next major feature release will be 1.26, and 1.25 will be the unstable development version leading up to the stable 1.26
149
gst-plugins-bad-1.24.6.tar.xz/RELEASE -> gst-plugins-bad-1.24.7.tar.xz/RELEASE Changed
7
 
1
@@ -1,4 +1,4 @@
2
-This is GStreamer gst-plugins-bad 1.24.6.
3
+This is GStreamer gst-plugins-bad 1.24.7.
4
 
5
 The GStreamer team is thrilled to announce a new major feature release
6
 of your favourite cross-platform multimedia framework!
7
gst-plugins-bad-1.24.6.tar.xz/docs/plugins/gst_plugins_cache.json -> gst-plugins-bad-1.24.7.tar.xz/docs/plugins/gst_plugins_cache.json Changed
10
 
1
@@ -3613,7 +3613,7 @@
2
                 "long-name": "AV1 Encoder",
3
                 "pad-templates": {
4
                     "sink": {
5
-                        "caps": "video/x-raw:\n         format: { I420, Y42B, Y444, YV12 }\n      framerate:  0/1, 2147483647/1 \n          width:  4, 2147483647 \n         height:  4, 2147483647 \n",
6
+                        "caps": "video/x-raw:\n         format: { I420, Y42B, Y444, YV12 }\n      framerate:  0/1, 2147483647/1 \n          width:  4, 65536 \n         height:  4, 65536 \n",
7
                         "direction": "sink",
8
                         "presence": "always"
9
                     },
10
gst-plugins-bad-1.24.6.tar.xz/ext/aom/gstav1enc.c -> gst-plugins-bad-1.24.7.tar.xz/ext/aom/gstav1enc.c Changed
12
 
1
@@ -276,8 +276,8 @@
2
         GST_STATIC_CAPS ("video/x-raw, "
3
         "format = (string) { I420, Y42B, Y444, YV12 }, "
4
         "framerate = (fraction) 0, MAX, "
5
-        "width = (int)  4, MAX , "
6
-        "height = (int)  4, MAX ")
7
+        "width = (int)  4, 65536 , "
8
+        "height = (int)  4, 65536 ")
9
     );
10
 /* *INDENT-ON* */
11
 
12
gst-plugins-bad-1.24.6.tar.xz/ext/rsvg/gstrsvgoverlay.c -> gst-plugins-bad-1.24.7.tar.xz/ext/rsvg/gstrsvgoverlay.c Changed
25
 
1
@@ -85,6 +85,9 @@
2
   PROP_HEIGHT_RELATIVE
3
 };
4
 
5
+GST_DEBUG_CATEGORY_STATIC (rsvg_overlay_debug);
6
+#define GST_CAT_DEFAULT rsvg_overlay_debug
7
+
8
 #define GST_RSVG_LOCK(overlay) G_STMT_START { \
9
   GST_LOG_OBJECT (overlay, "Locking rsvgoverlay from thread %p", g_thread_self ()); \
10
   g_mutex_lock (&overlay->rsvg_lock); \
11
@@ -122,7 +125,12 @@
12
     GST_STATIC_CAPS ("image/svg+xml; image/svg; text/plain"));
13
 
14
 #define gst_rsv_overlay_parent_class parent_class
15
-G_DEFINE_TYPE (GstRsvgOverlay, gst_rsvg_overlay, GST_TYPE_VIDEO_FILTER);
16
+
17
+#define _do_init \
18
+    GST_DEBUG_CATEGORY_INIT (rsvg_overlay_debug, "rsvgoverlay", 0, "SVG Overlay");
19
+
20
+G_DEFINE_TYPE_WITH_CODE (GstRsvgOverlay, gst_rsvg_overlay,
21
+    GST_TYPE_VIDEO_FILTER, _do_init);
22
 GST_ELEMENT_REGISTER_DEFINE (rsvgoverlay, "rsvgoverlay", GST_RANK_NONE,
23
     GST_TYPE_RSVG_OVERLAY);
24
 
25
gst-plugins-bad-1.24.6.tar.xz/ext/wpe/gstwpethreadedview.cpp -> gst-plugins-bad-1.24.7.tar.xz/ext/wpe/gstwpethreadedview.cpp Changed
9
 
1
@@ -73,6 +73,7 @@
2
 {
3
     g_mutex_init(&threading.mutex);
4
     g_cond_init(&threading.cond);
5
+    threading.ready = FALSE;
6
 
7
     {
8
         GMutexHolder lock(threading.mutex);
9
gst-plugins-bad-1.24.6.tar.xz/gst-libs/gst/codecparsers/gsth264parser.c -> gst-plugins-bad-1.24.7.tar.xz/gst-libs/gst/codecparsers/gsth264parser.c Changed
10
 
1
@@ -3781,8 +3781,6 @@
2
   if (ret->length_size_minus_one == 2) {
3
     /* "length_size_minus_one + 1" should be 1, 2, or 4 */
4
     GST_WARNING ("Wrong nal-length-size");
5
-    result = GST_H264_PARSER_ERROR;
6
-    goto error;
7
   }
8
 
9
   /* reserved 3bits */
10
gst-plugins-bad-1.24.6.tar.xz/gst-libs/gst/codecparsers/gsth265parser.c -> gst-plugins-bad-1.24.7.tar.xz/gst-libs/gst/codecparsers/gsth265parser.c Changed
10
 
1
@@ -5093,8 +5093,6 @@
2
   if (ret->length_size_minus_one == 2) {
3
     /* "length_size_minus_one + 1" should be 1, 2, or 4 */
4
     GST_WARNING ("Wrong nal-length-size");
5
-    result = GST_H265_PARSER_ERROR;
6
-    goto error;
7
   }
8
 
9
   READ_CONFIG_UINT8 (num_of_arrays, 8);
10
gst-plugins-bad-1.24.6.tar.xz/gst-libs/gst/webrtc/webrtc_fwd.h -> gst-plugins-bad-1.24.7.tar.xz/gst-libs/gst/webrtc/webrtc_fwd.h Changed
17
 
1
@@ -32,6 +32,8 @@
2
  * @title: GstWebRTC Enumerations
3
  */
4
 
5
+G_BEGIN_DECLS
6
+
7
 #ifndef GST_WEBRTC_API
8
 # ifdef BUILDING_GST_WEBRTC
9
 #  define GST_WEBRTC_API GST_API_EXPORT         /* from config.h */
10
@@ -516,4 +518,6 @@
11
   GST_WEBRTC_ERROR_TYPE_ERROR,
12
 } GstWebRTCError;
13
 
14
+G_END_DECLS
15
+
16
 #endif /* __GST_WEBRTC_FWD_H__ */
17
gst-plugins-bad-1.24.6.tar.xz/gst-plugins-bad.doap -> gst-plugins-bad-1.24.7.tar.xz/gst-plugins-bad.doap Changed
18
 
1
@@ -35,6 +35,16 @@
2
 
3
  <release>
4
   <Version>
5
+   <revision>1.24.7</revision>
6
+   <branch>1.24</branch>
7
+   <name></name>
8
+   <created>2024-08-21</created>
9
+   <file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.24.7.tar.xz" />
10
+  </Version>
11
+ </release>
12
+
13
+ <release>
14
+  <Version>
15
    <revision>1.24.6</revision>
16
    <branch>1.24</branch>
17
    <name></name>
18
gst-plugins-bad-1.24.6.tar.xz/gst/videoparsers/gsth265parse.c -> gst-plugins-bad-1.24.7.tar.xz/gst/videoparsers/gsth265parse.c Changed
17
 
1
@@ -981,6 +981,15 @@
2
       }
3
       break;
4
     }
5
+    case GST_H265_NAL_FD:
6
+      if (!GST_H265_PARSE_STATE_VALID (h265parse, GST_H265_PARSE_STATE_GOT_SPS)) {
7
+        GST_DEBUG_OBJECT (h265parse, "dropping FD received before SPS");
8
+        return FALSE;
9
+      }
10
+      pres = gst_h265_parser_parse_nal (nalparser, nalu);
11
+      if (pres != GST_H265_PARSER_OK)
12
+        return FALSE;
13
+      break;
14
     case GST_H265_NAL_AUD:
15
     default:
16
       /* Just accumulate AU Delimiter, whether it's before SPS or not */
17
gst-plugins-bad-1.24.6.tar.xz/meson.build -> gst-plugins-bad-1.24.7.tar.xz/meson.build Changed
8
 
1
@@ -1,5 +1,5 @@
2
 project('gst-plugins-bad', 'c', 'cpp',
3
-  version : '1.24.6',
4
+  version : '1.24.7',
5
   meson_version : '>= 1.1',
6
   default_options :  'warning_level=1',
7
                       'buildtype=debugoptimized' )
8
gst-plugins-bad-1.24.6.tar.xz/po/gst-plugins-bad-1.0.pot -> gst-plugins-bad-1.24.7.tar.xz/po/gst-plugins-bad-1.0.pot Changed
13
 
1
@@ -6,9 +6,9 @@
2
 #, fuzzy
3
 msgid ""
4
 msgstr ""
5
-"Project-Id-Version: gst-plugins-bad-1.24.6\n"
6
+"Project-Id-Version: gst-plugins-bad-1.24.7\n"
7
 "Report-Msgid-Bugs-To: \n"
8
-"POT-Creation-Date: 2024-07-29 16:42+0100\n"
9
+"POT-Creation-Date: 2024-08-21 12:27+0100\n"
10
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
 "Language-Team: LANGUAGE <LL@li.org>\n"
13
gst-plugins-bad-1.24.6.tar.xz/po/gst-plugins-bad.pot -> gst-plugins-bad-1.24.7.tar.xz/po/gst-plugins-bad.pot Changed
13
 
1
@@ -6,9 +6,9 @@
2
 #, fuzzy
3
 msgid ""
4
 msgstr ""
5
-"Project-Id-Version: gst-plugins-bad-1.24.6\n"
6
+"Project-Id-Version: gst-plugins-bad-1.24.7\n"
7
 "Report-Msgid-Bugs-To: \n"
8
-"POT-Creation-Date: 2024-07-29 16:42+0100\n"
9
+"POT-Creation-Date: 2024-08-21 12:27+0100\n"
10
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
 "Language-Team: LANGUAGE <LL@li.org>\n"
13
gst-plugins-bad-1.24.6.tar.xz/sys/msdk/gstmsdkav1enc.c -> gst-plugins-bad-1.24.7.tar.xz/sys/msdk/gstmsdkav1enc.c Changed
10
 
1
@@ -126,7 +126,7 @@
2
     profile = gst_structure_get_string (s, "profile");
3
 
4
     if (profile) {
5
-      if (!strcmp (profile, "main"))
6
+      if (!g_strcmp0 (profile, "main"))
7
         thiz->profile = MFX_PROFILE_AV1_MAIN;
8
       else
9
         g_assert_not_reached ();
10
gst-plugins-bad-1.24.6.tar.xz/sys/msdk/gstmsdkcontext.c -> gst-plugins-bad-1.24.7.tar.xz/sys/msdk/gstmsdkcontext.c Changed
12
 
1
@@ -130,8 +130,8 @@
2
       dev = (GUdevDevice *) l->data;
3
 
4
       parent = g_udev_device_get_parent (dev);
5
-      if (strcmp (g_udev_device_get_subsystem (parent), "pci") != 0 ||
6
-          strcmp (g_udev_device_get_driver (parent), "i915") != 0) {
7
+      if (g_strcmp0 (g_udev_device_get_subsystem (parent), "pci") != 0 ||
8
+          g_strcmp0 (g_udev_device_get_driver (parent), "i915") != 0) {
9
         g_object_unref (parent);
10
         continue;
11
       }
12
gst-plugins-bad-1.24.6.tar.xz/sys/msdk/gstmsdkh264enc.c -> gst-plugins-bad-1.24.7.tar.xz/sys/msdk/gstmsdkh264enc.c Changed
19
 
1
@@ -305,13 +305,13 @@
2
 
3
     profile = gst_structure_get_string (s, "profile");
4
     if (profile) {
5
-      if (!strcmp (profile, "high")) {
6
+      if (!g_strcmp0 (profile, "high")) {
7
         thiz->profile = MFX_PROFILE_AVC_HIGH;
8
-      } else if (!strcmp (profile, "main")) {
9
+      } else if (!g_strcmp0 (profile, "main")) {
10
         thiz->profile = MFX_PROFILE_AVC_MAIN;
11
-      } else if (!strcmp (profile, "baseline")) {
12
+      } else if (!g_strcmp0 (profile, "baseline")) {
13
         thiz->profile = MFX_PROFILE_AVC_BASELINE;
14
-      } else if (!strcmp (profile, "constrained-baseline")) {
15
+      } else if (!g_strcmp0 (profile, "constrained-baseline")) {
16
         thiz->profile = MFX_PROFILE_AVC_CONSTRAINED_BASELINE;
17
       } else {
18
         thiz->profile = MFX_PROFILE_UNKNOWN;
19
gst-plugins-bad-1.24.6.tar.xz/sys/msdk/gstmsdkh265enc.c -> gst-plugins-bad-1.24.7.tar.xz/sys/msdk/gstmsdkh265enc.c Changed
42
 
1
@@ -371,11 +371,11 @@
2
   if (h265enc->profile_name) {
3
     encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_MAIN;
4
 
5
-    if (!strcmp (h265enc->profile_name, "main-10"))
6
+    if (!g_strcmp0 (h265enc->profile_name, "main-10"))
7
       encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_MAIN10;
8
-    else if (!strcmp (h265enc->profile_name, "main-still-picture"))
9
+    else if (!g_strcmp0 (h265enc->profile_name, "main-still-picture"))
10
       encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_MAINSP;
11
-    else if (!strcmp (h265enc->profile_name, "main-10-still-picture")) {
12
+    else if (!g_strcmp0 (h265enc->profile_name, "main-10-still-picture")) {
13
       encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_MAIN10;
14
       h265enc->ext_param.Header.BufferId = MFX_EXTBUFF_HEVC_PARAM;
15
       h265enc->ext_param.Header.BufferSz = sizeof (h265enc->ext_param);
16
@@ -383,17 +383,16 @@
17
           MFX_HEVC_CONSTR_REXT_ONE_PICTURE_ONLY;
18
       gst_msdkenc_add_extra_param (encoder,
19
           (mfxExtBuffer *) & h265enc->ext_param);
20
-    } else if (!strcmp (h265enc->profile_name, "main-444") ||
21
-        !strcmp (h265enc->profile_name, "main-422-10") ||
22
-        !strcmp (h265enc->profile_name, "main-444-10") ||
23
-        !strcmp (h265enc->profile_name, "main-12"))
24
+    } else if (!g_strcmp0 (h265enc->profile_name, "main-444") ||
25
+        !g_strcmp0 (h265enc->profile_name, "main-422-10") ||
26
+        !g_strcmp0 (h265enc->profile_name, "main-444-10") ||
27
+        !g_strcmp0 (h265enc->profile_name, "main-12"))
28
       encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_REXT;
29
-
30
 #if (MFX_VERSION >= 1032)
31
-    else if (!strcmp (h265enc->profile_name, "screen-extended-main") ||
32
-        !strcmp (h265enc->profile_name, "screen-extended-main-10") ||
33
-        !strcmp (h265enc->profile_name, "screen-extended-main-444") ||
34
-        !strcmp (h265enc->profile_name, "screen-extended-main-444-10"))
35
+    else if (!g_strcmp0 (h265enc->profile_name, "screen-extended-main") ||
36
+        !g_strcmp0 (h265enc->profile_name, "screen-extended-main-10") ||
37
+        !g_strcmp0 (h265enc->profile_name, "screen-extended-main-444") ||
38
+        !g_strcmp0 (h265enc->profile_name, "screen-extended-main-444-10"))
39
       encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_SCC;
40
 #endif
41
   } else {
42
gst-plugins-bad-1.24.6.tar.xz/sys/msdk/gstmsdkmpeg2enc.c -> gst-plugins-bad-1.24.7.tar.xz/sys/msdk/gstmsdkmpeg2enc.c Changed
16
 
1
@@ -109,11 +109,11 @@
2
 
3
     profile = gst_structure_get_string (s, "profile");
4
     if (profile) {
5
-      if (!strcmp (profile, "high")) {
6
+      if (!g_strcmp0 (profile, "high")) {
7
         thiz->profile = MFX_PROFILE_MPEG2_HIGH;
8
-      } else if (!strcmp (profile, "main")) {
9
+      } else if (!g_strcmp0 (profile, "main")) {
10
         thiz->profile = MFX_PROFILE_MPEG2_MAIN;
11
-      } else if (!strcmp (profile, "simple")) {
12
+      } else if (!g_strcmp0 (profile, "simple")) {
13
         thiz->profile = MFX_PROFILE_MPEG2_SIMPLE;
14
       } else {
15
         g_assert_not_reached ();
16
gst-plugins-bad-1.24.6.tar.xz/sys/msdk/gstmsdkvc1dec.c -> gst-plugins-bad-1.24.7.tar.xz/sys/msdk/gstmsdkvc1dec.c Changed
13
 
1
@@ -97,9 +97,9 @@
2
 
3
   profile_str = gst_structure_get_string (structure, "profile");
4
 
5
-  if (!strcmp (profile_str, "simple"))
6
+  if (!g_strcmp0 (profile_str, "simple"))
7
     decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_SIMPLE;
8
-  else if (!strcmp (profile_str, "main"))
9
+  else if (!g_strcmp0 (profile_str, "main"))
10
     decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_MAIN;
11
   else {
12
     decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_ADVANCED;
13
gst-plugins-bad-1.24.6.tar.xz/sys/msdk/gstmsdkvp9enc.c -> gst-plugins-bad-1.24.7.tar.xz/sys/msdk/gstmsdkvp9enc.c Changed
19
 
1
@@ -113,13 +113,13 @@
2
     profile = gst_structure_get_string (s, "profile");
3
 
4
     if (profile) {
5
-      if (!strcmp (profile, "3")) {
6
+      if (!g_strcmp0 (profile, "3")) {
7
         thiz->profile = MFX_PROFILE_VP9_3;
8
-      } else if (!strcmp (profile, "2")) {
9
+      } else if (!g_strcmp0 (profile, "2")) {
10
         thiz->profile = MFX_PROFILE_VP9_2;
11
-      } else if (!strcmp (profile, "1")) {
12
+      } else if (!g_strcmp0 (profile, "1")) {
13
         thiz->profile = MFX_PROFILE_VP9_1;
14
-      } else if (!strcmp (profile, "0")) {
15
+      } else if (!g_strcmp0 (profile, "0")) {
16
         thiz->profile = MFX_PROFILE_VP9_0;
17
       } else {
18
         g_assert_not_reached ();
19
gst-plugins-bad-1.24.6.tar.xz/sys/va/gstvabasedec.c -> gst-plugins-bad-1.24.7.tar.xz/sys/va/gstvabasedec.c Changed
11
 
1
@@ -658,8 +658,7 @@
2
   if (!ret
3
       || (old_display && new_display && old_display != new_display
4
           && base->decoder)) {
5
-    GST_ELEMENT_WARNING (base, RESOURCE, BUSY,
6
-        ("Can't replace VA display while operating"), (NULL));
7
+    GST_WARNING_OBJECT (base, "Can't replace VA display while operating");
8
   }
9
 
10
   gst_clear_object (&old_display);
11
gst-plugins-bad-1.24.6.tar.xz/sys/va/gstvabaseenc.c -> gst-plugins-bad-1.24.7.tar.xz/sys/va/gstvabaseenc.c Changed
11
 
1
@@ -850,8 +850,7 @@
2
 
3
   if (!ret || (old_display && new_display && old_display != new_display
4
           && base->encoder)) {
5
-    GST_ELEMENT_WARNING (element, RESOURCE, BUSY,
6
-        ("Can't replace VA display while operating"), (NULL));
7
+    GST_WARNING_OBJECT (element, "Can't replace VA display while operating");
8
   }
9
 
10
   gst_clear_object (&old_display);
11
gst-plugins-bad-1.24.6.tar.xz/sys/va/gstvabasetransform.c -> gst-plugins-bad-1.24.7.tar.xz/sys/va/gstvabasetransform.c Changed
11
 
1
@@ -610,8 +610,7 @@
2
   if (!ret
3
       || (old_display && new_display && old_display != new_display
4
           && self->filter)) {
5
-    GST_ELEMENT_WARNING (element, RESOURCE, BUSY,
6
-        ("Can't replace VA display while operating"), (NULL));
7
+    GST_WARNING_OBJECT (element, "Can't replace VA display while operating");
8
   }
9
 
10
   gst_clear_object (&old_display);
11
gst-plugins-bad-1.24.6.tar.xz/sys/va/gstvacompositor.c -> gst-plugins-bad-1.24.7.tar.xz/sys/va/gstvacompositor.c Changed
11
 
1
@@ -420,8 +420,7 @@
2
   if (!ret
3
       || (old_display && new_display && old_display != new_display
4
           && self->filter)) {
5
-    GST_ELEMENT_WARNING (element, RESOURCE, BUSY,
6
-        ("Can't replace VA display while operating"), (NULL));
7
+    GST_WARNING_OBJECT (element, "Can't replace VA display while operating");
8
   }
9
 
10
   gst_clear_object (&old_display);
11
gst-plugins-bad-1.24.6.tar.xz/tests/check/libs/h264parser.c -> gst-plugins-bad-1.24.7.tar.xz/tests/check/libs/h264parser.c Changed
19
 
1
@@ -845,12 +845,14 @@
2
   assert_equals_int (ret, GST_H264_PARSER_ERROR);
3
   fail_unless (config == NULL);
4
 
5
-  /* wrong length size, return error with null config data */
6
+  /* wrong length size, since we still try to use it. so return ok */
7
   ret = gst_h264_parser_parse_decoder_config_record (parser,
8
       h264_wrong_length_size_codec_data,
9
       sizeof (h264_wrong_length_size_codec_data), &config);
10
-  assert_equals_int (ret, GST_H264_PARSER_ERROR);
11
-  fail_unless (config == NULL);
12
+  assert_equals_int (ret, GST_H264_PARSER_OK);
13
+  fail_unless (config != NULL);
14
+  assert_equals_int (config->length_size_minus_one, 2);
15
+  g_clear_pointer (&config, gst_h264_decoder_config_record_free);
16
 
17
   gst_h264_nal_parser_free (parser);
18
 }
19