mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
gstreamer-full: add assert for global symbols
Add _gst_caps_features_any not null assert Add _gst_caps_features_memory_system_memory as well A bug has been detected when using -Bsymbolic in the link of libgstreamer-full.so This flag has been introduced to fix this issue: https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/108 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/204>
This commit is contained in:
parent
751aacd8fc
commit
139fbac92e
1 changed files with 5 additions and 1 deletions
|
@ -7,8 +7,12 @@ main (int argc, char *argv[])
|
|||
|
||||
gst_init (&argc, &argv);
|
||||
|
||||
/* -Bsymbolic option is introducing a regression where this variable
|
||||
* were duplicated over the use in a dynamical use of libgstreamer-full.so */
|
||||
g_assert_nonnull (_gst_caps_features_any);
|
||||
g_assert_nonnull (_gst_caps_features_memory_system_memory);
|
||||
|
||||
e = gst_element_factory_make ("pipeline", NULL);
|
||||
g_assert_nonnull (e);
|
||||
g_object_unref (e);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue