- 26 Jul, 2020 4 commits
-
-
Tim-Philipp Müller authored
Make g-ir-scanner skip all those check macros that are not useful for or usable from bindings. gstcheck.h:209: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_message_error' gstcheck.h:212: Warning: GstCheck: Unknown namespace for symbol 'assert_message_error' gstcheck.h:251: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_equals_int' gstcheck.h:267: Warning: GstCheck: Unknown namespace for symbol 'assert_equals_int' gstcheck.h:280: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_equals_int_hex' gstcheck.h:299: Warning: GstCheck: Unknown namespace for symbol 'assert_equals_int_hex' gstcheck.h:310: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_equals_int64' gstcheck.h:327: Warning: GstCheck: Unknown namespace for symbol 'assert_equals_int64' gstcheck.h:340: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_equals_int64_hex' gstcheck.h:358: Warning: GstCheck: Unknown namespace for symbol 'assert_equals_int64_hex' gstcheck.h:369: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_equals_uint64' gstcheck.h:386: Warning: GstCheck: Unknown namespace for symbol 'assert_equals_uint64' gstcheck.h:399: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_equals_uint64_hex' gstcheck.h:417: Warning: GstCheck: Unknown namespace for symbol 'assert_equals_uint64_hex' gstcheck.h:428: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_equals_string' gstcheck.h:444: Warning: GstCheck: Unknown namespace for symbol 'assert_equals_string' gstcheck.h:455: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_equals_float' gstcheck.h:474: Warning: GstCheck: Unknown namespace for symbol 'assert_equals_float' gstcheck.h:487: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_equals_pointer' gstcheck.h:506: Warning: GstCheck: Unknown namespace for symbol 'assert_equals_pointer' gstcheck.h:517: Warning: GstCheck: Unknown namespace for symbol 'fail_unless_equals_clocktime' gstcheck.h:534: Warning: GstCheck: Unknown namespace for symbol 'MAIN_START_THREADS' gstcheck.h:547: Warning: GstCheck: Unknown namespace for symbol 'MAIN_START_THREAD_FUNCTIONS' gstcheck.h:555: Warning: GstCheck: Unknown namespace for symbol 'MAIN_START_THREAD_FUNCTION' gstcheck.h:626: Warning: GstCheck: Unknown namespace for symbol 'ASSERT_CRITICAL' gstcheck.h:628: Warning: GstCheck: Unknown namespace for symbol 'ASSERT_CRITICAL' gstcheck.h:640: Warning: GstCheck: Unknown namespace for symbol 'ASSERT_WARNING' gstcheck.h:652: Warning: GstCheck: Unknown namespace for symbol 'ASSERT_OBJECT_REFCOUNT' gstcheck.h:661: Warning: GstCheck: Unknown namespace for symbol 'ASSERT_OBJECT_REFCOUNT_BETWEEN' gstcheck.h:676: Warning: GstCheck: Unknown namespace for symbol 'ASSERT_CAPS_REFCOUNT' gstcheck.h:679: Warning: GstCheck: Unknown namespace for symbol 'ASSERT_BUFFER_REFCOUNT' gstcheck.h:682: Warning: GstCheck: Unknown namespace for symbol 'ASSERT_MINI_OBJECT_REFCOUNT' gstcheck.h:690: Warning: GstCheck: Unknown namespace for symbol 'ASSERT_SET_STATE' gstcheck.h:729: Warning: GstCheck: Unknown namespace for symbol 'tcase_skip_broken_test' gstcheck.h:740: Warning: GstCheck: Unknown namespace for symbol 'tcase_skip_broken_loop_test'
-
Tim-Philipp Müller authored
663: Warning: Gst: symbol='GFLOAT_TO_LE': Unknown namespace for symbol 'GFLOAT_TO_LE' 664: Warning: Gst: symbol='GFLOAT_TO_BE': Unknown namespace for symbol 'GFLOAT_TO_BE' 665: Warning: Gst: symbol='GDOUBLE_TO_LE': Unknown namespace for symbol 'GDOUBLE_TO_LE' 666: Warning: Gst: symbol='GDOUBLE_TO_BE': Unknown namespace for symbol 'GDOUBLE_TO_BE' 669: Warning: Gst: symbol='GFLOAT_TO_LE': Unknown namespace for symbol 'GFLOAT_TO_LE' 670: Warning: Gst: symbol='GFLOAT_TO_BE': Unknown namespace for symbol 'GFLOAT_TO_BE' 671: Warning: Gst: symbol='GDOUBLE_TO_LE': Unknown namespace for symbol 'GDOUBLE_TO_LE' 672: Warning: Gst: symbol='GDOUBLE_TO_BE': Unknown namespace for symbol 'GDOUBLE_TO_BE' 678: Warning: Gst: symbol='GFLOAT_FROM_LE': Unknown namespace for symbol 'GFLOAT_FROM_LE' 679: Warning: Gst: symbol='GFLOAT_FROM_BE': Unknown namespace for symbol 'GFLOAT_FROM_BE' 680: Warning: Gst: symbol='GDOUBLE_FROM_LE': Unknown namespace for symbol 'GDOUBLE_FROM_LE' 681: Warning: Gst: symbol='GDOUBLE_FROM_BE': Unknown namespace for symbol 'GDOUBLE_FROM_BE'
-
Tim-Philipp Müller authored
Easier to just make g-ir-scanner skip this header via #ifndef __GI_SCANNER__ than maintain different sets of headers in the meson.build file. Warning: Gst: symbol="rint": Unknown namespace for symbol "rint" Warning: Gst: symbol="rintf": Unknown namespace for symbol "rintf" Warning: Gst: symbol="isnan": Unknown namespace for symbol "isnan"
-
Tim-Philipp Müller authored
gstevent.h:72: Warning: Gst: symbol='FLAG': Unknown namespace for symbol 'FLAG' gstquery.h:76: Warning: Gst: symbol='FLAG': Unknown namespace for symbol 'FLAG' Use _FLAG(xyz) instead of FLAG(xyz) to silence g-ir-scanner warnings about this internal helper define. It's also slightly more hygienic.
-
- 24 Jul, 2020 1 commit
-
-
Tim-Philipp Müller authored
It's been around for more than 4 years and people have built lots of stuff on top of it, doesn't really make sense to keep it marked as unstable. We're unlikely to change it now, and we can always deprecate it and make a new one if needed. This stabilises the following API: - gst_tracer_register() - gst_tracing_get_active_tracers() - gst_tracing_register_hook() - gst_tracer_record_new() - gst_tracer_record_log() Might also help a bit with #424 Part-of: <!576>
-
- 23 Jul, 2020 1 commit
-
-
Matthew Waters authored
Otherwise, access to the harness' sink/src caps is racy between any caps query performed by an element and gst_harness_teardown(). Fixes: gst-plugins-base#794 Part-of: <!574>
-
- 22 Jul, 2020 5 commits
-
-
So that we can use `fail` like `g_assert_not_reached`. The comment is apparently wrong or outdated, as GCC considers it legal for noreturn-marked functions to return using longjmp. See the thread at gst-plugins-ugly!59 (comment 576422) Part-of: <!573>
-
Print target CPU we're building for. Part-of: <!565>
-
The global seqnum variable wasn't actually increased in the fallback code path, leading to all buffers getting a seqnum of 0. Which also made the unit test fail. This affects platforms/toolchains that don't have 64-bit atomic ops such as when compiling for armv7 rpi. Part-of: <!565>
-
Stéphane Cerveau authored
This summary displays a list of plugins which have been enabled. Part-of: <!560>
-
Eero Nurkkala authored
With meson configure option: -Db_sanitize=address, the following issue is seen while running the test "tools_gstinspect": Running suite(s): gst-inspect ================================================================= ==20880==ERROR: LeakSanitizer: detected memory leaks Direct leak of 51 byte(s) in 9 object(s) allocated from: #0 0x7ffb4dbb0b40 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb40) #1 0x7ffb4cdf1ab8 in g_malloc (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x51ab8) SUMMARY: AddressSanitizer: 51 byte(s) leaked in 9 allocation(s). 0%: Checks: 1, Failures: 0, Errors: 1 GOptionEntry man page states that: "Please note that parsed arguments need to be freed separately (see GOptionEntry)." Thus, free the 'min_version' string that has been allocated but never freed. Signed-off-by:
Eero Nurkkala <eero.nurkkala@offcode.fi> Part-of: <!572>
-
- 21 Jul, 2020 1 commit
-
-
Matthew Waters authored
Only resize the buffer if the maxsize is larger then the configued pool size. Part-of: <!570>
-
- 20 Jul, 2020 1 commit
-
-
Matthew Waters authored
Fixes the following build error and missing '-pthread' argument when linking: subprojects/gstreamer/plugins/tracers/libgstcoretracers.so.p/gstleaks.c.o: In function `gst_leaks_tracer_setup_signals': /work/build32/../subprojects/gstreamer/plugins/tracers/gstleaks.c:919: undefined reference to `pthread_atfork' Part-of: <!571>
-
- 18 Jul, 2020 1 commit
-
-
It was zero and in some condition it means that the control binding values where ignored (as shown in the test). Setting it to MAXDOUBLE so that the first time we sync the values from a a timestamp in the right range the proper value is computed. Part-of: <!564>
-
- 17 Jul, 2020 1 commit
-
-
Seungha Yang authored
Depending on Windows codepage setting, some characters could be broken when printing on terminal. Fortunatly g_print* family will take care Windows codepage. Part-of: <!566>
-
- 16 Jul, 2020 1 commit
-
-
Olivier Crête authored
Part-of: <!568>
-
- 15 Jul, 2020 2 commits
-
-
Nicolas Dufresne authored
The stack item was not freed as it was supposed, causing leaks. Part-of: <gstreamer/gstreamer!269>
-
Use thread-safe accesses to pad peers and parent objects. This fixes some crashers and all the non-safe access patterns I could spot. There's still some weirdness when using the latency tracer on pipeline chains that aren't yet linked, but this at least stops it segfaulting. Part-of: <!269>
-
- 13 Jul, 2020 1 commit
- 10 Jul, 2020 3 commits
-
-
Mathieu Duponchelle authored
See gst-plugins-bad#1276 Part-of: <!562>
-
Part-of: <!557>
-
Seungha Yang authored
It can be replaced by gst_base_src_new_segment() Part-of: <!490>
-
- 09 Jul, 2020 2 commits
-
-
Add API gst_base_src_new_segment() for subclass to be able to signalling new GstSegment which should be applied to following buffers. Part-of: <!490>
-
Thibault Saunier authored
This way it gets exposed to bindings through GObject Introspection. Same logic as with d1b2d342 Part-of: <!561>
-
- 07 Jul, 2020 1 commit
-
-
Seungha Yang authored
Since the commit https://gitlab.gnome.org/GNOME/glib/-/commit/01c02ac08b682de622930b1278c9c14d0ffe6c49, g_usleep(1) will be translated to Sleep(1) on Windows which means sleep in 1 millisecond. But GLib provides g_thread_yield() API which is exactly what we required here for thread context switching. Part-of: <!559>
-
- 06 Jul, 2020 3 commits
-
-
Olivier Crête authored
For providers that don't support dynamic probing, just fall back to doing a static one on start() to make the UI developers life easier. This also means that the monitor doesn't need to call _can_monitor() before calling start. Part-of: <!353>
-
In case a plugin filename was renamed with the plugin being in the registry cache the features were not loaded after the rename: 1) Cache of old/gone filename was loaded, features added 2) New filename was loaded, features where not added because they were already found in the registry. 3) In the end stale cache entries for files which are no longer there are removed, including the wanted features. 4) The cache gets updated without the features. Fix this by also checking at (2) that the found feature is from the loaded plugin and not from some stale cache entry. This affected directsoundsink where libgstdirectsoundsink.dll was renamed to libgstdirectsound.dll, losing the directsoundsink element in the process. Fixes #290 Part-of: <!102>
-
Part-of: <!555>
-
- 05 Jul, 2020 1 commit
-
-
Tim-Philipp Müller authored
xgettext: error while opening "gst/parse/grammar.y" for reading: No such file or directory Fixes gstreamer/gstreamer#586 Part-of: <gstreamer/gstreamer!556>
-
- 03 Jul, 2020 3 commits
-
-
Sebastian Dröge authored
https://mesonbuild.com/Reference-tables.html#operating-system-names has the table of all supported names right now. Fixes #583 Part-of: <!554>
-
Otherwise the proxy pad of the ghost pad still stays linked to some element inside the bin, which is not allowed anymore according to the topology. In 2.0 this should be fixed more generically from inside GstGhostPad but currently there is no way to get notified that the ghost pad is unparented. Part-of: <!553>
-
Tim-Philipp Müller authored
-
- 02 Jul, 2020 1 commit
-
-
Tim-Philipp Müller authored
-
- 01 Jul, 2020 2 commits
- 30 Jun, 2020 1 commit
-
-
Jan Schmidt authored
element-added-deep -> deep-element-added in the GstBin doc header Part-of: <!547>
-
- 25 Jun, 2020 2 commits
-
-
Otherwise some non-English character might be broken depending on OS and/or locale. Part-of: <!545>
-
CI now checks that plugin caches are up to date, for example when adding a new property to an element. This is something pretty easy to forget, and it can be checked in a pre-commit hook provided the cache generator generates no unnecessart diff on the developer's machine. This is now the case for me in core, -base and -good, and eventually all the repositories should behave appropriately, at least on my development machine. The new check in the pre-commit hook is only performed when the user is in the development environment (it checks $MESON_BUILD_ROOT to determine that), and when the developer has opted-in by setting `GST_CACHE_HOOK=enabled`. That is because the hook will actually rebuild the cache with ninja, and modify it in the source directory, that's not a behaviour we want to enable by default. Part-of: <gstreamer/gstreamer!546>
-
- 24 Jun, 2020 2 commits
-
-
g_vprintf() will write a string binary to stdout directly using fwrite(). So, depending on character in the string, fwrite to stdout can print broken one but printf family might not cause the issue. Part-of: <!544>
-
Michael Olbrich authored
There is a race-condition that can trigger the assertion in gst_bus_add_signal_watch_full(): If gst_bus_add_signal_watch_full() is called immediately after gst_bus_remove_signal_watch() then bus->priv->signal_watch may still be set because gst_bus_source_dispose() or gst_bus_source_finalize() was not yet called. This happens if the corresponding GMainContext has the source queued for dispatch. In this case, the following dispatch will only unref and delete the signal_watch because it was already destroyed. Any pending messages will remain until a new watch is installed. So bus->priv->signal_watch can be cleared immediately when the watch is removed. This avoid the race condition. Part-of: <!543>
-