1. 26 Jul, 2020 4 commits
    • Tim-Philipp Müller's avatar
      check: suppress g-ir-scanner warnings · 7ab08c08
      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'
      7ab08c08
    • Tim-Philipp Müller's avatar
      utils: silence g-ir-scanner warnings about float conversion macros · 19a61626
      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'
      19a61626
    • Tim-Philipp Müller's avatar
      math-compat.h: silence g-ir-scanner warnings · 263d501f
      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"
      263d501f
    • Tim-Philipp Müller's avatar
      event, query: fix g-ir-scanner warnings · df39ae1f
      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.
      df39ae1f
  2. 24 Jul, 2020 1 commit
    • Tim-Philipp Müller's avatar
      tracer: declare GstTracer API stable · e4f7cdb0
      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>
      e4f7cdb0
  3. 23 Jul, 2020 1 commit
  4. 22 Jul, 2020 5 commits
  5. 21 Jul, 2020 1 commit
  6. 20 Jul, 2020 1 commit
    • Matthew Waters's avatar
      build/coretracers: add dep on threads · 056cad44
      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>
      056cad44
  7. 18 Jul, 2020 1 commit
  8. 17 Jul, 2020 1 commit
  9. 16 Jul, 2020 1 commit
  10. 15 Jul, 2020 2 commits
  11. 13 Jul, 2020 1 commit
  12. 10 Jul, 2020 3 commits
  13. 09 Jul, 2020 2 commits
  14. 07 Jul, 2020 1 commit
  15. 06 Jul, 2020 3 commits
    • Olivier Crête's avatar
      deviceprovider: Do static probe on start as fallback · 44ef5a7c
      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>
      44ef5a7c
    • Christoph Reiter's avatar
      gstelementfactory: Fix missing features in case a feature moves to another filename · 3cfda6d6
      Christoph Reiter authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      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>
      3cfda6d6
    • Tim-Philipp Müller's avatar
      meson: set release date from .doap file for releases · b1a171f9
      Tim-Philipp Müller authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      Part-of: <!555>
      b1a171f9
  16. 05 Jul, 2020 1 commit
  17. 03 Jul, 2020 3 commits
  18. 02 Jul, 2020 1 commit
  19. 01 Jul, 2020 2 commits
  20. 30 Jun, 2020 1 commit
  21. 25 Jun, 2020 2 commits
    • Seungha Yang's avatar
      docs: Specify UTF-8 encoding everywhere · 6ca93950
      Seungha Yang authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      Otherwise some non-English character might be broken depending on
      OS and/or locale.
      
      Part-of: <!545>
      6ca93950
    • Mathieu Duponchelle's avatar
      hooks: add opt-in cache update hook · 65e89d45
      Mathieu Duponchelle authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      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>
      65e89d45
  22. 24 Jun, 2020 2 commits
    • Seungha Yang's avatar
      gst-inspect: Use gst_info_strdup_vprintf to print string · 57d29e7f
      Seungha Yang authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      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>
      57d29e7f
    • Michael Olbrich's avatar
      bus: clear bus->priv->signal_watch immediately when the source is removed · 1206a60b
      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>
      1206a60b