1. 29 Oct, 2020 1 commit
    • Nicolas Dufresne's avatar
      aggregator: Include min-upstream-latency in buffering time · c983df16
      Nicolas Dufresne authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      While we can fixe the upstream latency using the min-upstream-latency, we
      are now forced to use queues (hence more thread) in order to store the pending
      data whenever we have an upstream source that has lower latency.
      
      This fixes the issue by allowing to buffer the fixed upstream latency. This is
      particularly handy on single core systems were having too many threads can
      cause serious performance issues.
      
      Part-of: <!684>
      c983df16
  2. 27 Oct, 2020 1 commit
  3. 26 Oct, 2020 1 commit
  4. 14 Oct, 2020 1 commit
  5. 13 Oct, 2020 1 commit
    • Mathieu Duponchelle's avatar
      gstvalue: don't write to const char * · a613240c
      Mathieu Duponchelle authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      Our various deserializing functions require NULL terminators
      to not over consume substrings (eg fields of an array). Instead
      of writing a NULL terminator to the passed-in string, which may
      result in segfaults, make a copy of the substring we're interested
      in.
      
      Fixes #446
      
      Part-of: <!673>
      a613240c
  6. 12 Oct, 2020 1 commit
  7. 10 Oct, 2020 3 commits
  8. 03 Oct, 2020 4 commits
    • Víctor Manuel Jáquez Leal's avatar
      padtemplate: add missing annotation · f97a4e23
      Víctor Manuel Jáquez Leal authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      Adds missing "transfer full" annotation for caps parameter in
      gst_pad_template_set_documentation_caps()
      
      Part-of: <!660>
      f97a4e23
    • Mathieu Duponchelle's avatar
      gstmeta: intern registered impl string · e149981a
      Mathieu Duponchelle authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      Subsequent lookups in the hashtable are probably better done
      on memory we're confident is allocated to us :)
      
      It was easy to trigger invalid reads by calling gst_meta_register
      with dynamically allocated memory, freeing that memory, then
      calling gst_meta_get_info()
      
      Part-of: <!657>
      e149981a
    • Seungha Yang's avatar
      info: Load DbgHelp.dll using g_module_open() · ca4edf67
      Seungha Yang authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      ... and update meson file so that enable it only using required headers.
      
      "dependency(...)" is unlikely successful for Windows SDK libraries
      since it doesn't ship pkg-config file. So it needs to be changed
      to "find_library()" to link corresponding .lib file. That would
      result to most MSVC build system will link dbghelp.dll. However,
      one drawback of the change is that gstreamer-1.0.dll will mandate
      dbghelp.dll although it should be optional. So g_module_open() way
      can be the most safe way in this case.
      
      Part-of: <!659>
      ca4edf67
    • Matthew Waters's avatar
      padtemplate: mark documentation caps as may be leaked · 14228b63
      Matthew Waters authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      The template itself is already marked as such and the caps, the
      documentation caps are a logical extension of those two.
      
      Part-of: <!658>
      14228b63
  9. 02 Oct, 2020 3 commits
  10. 01 Oct, 2020 1 commit
    • Sebastian Dröge's avatar
      aggregator: Wake up source pad in PAUSED<->PLAYING transitions · 56d69620
      Sebastian Dröge authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      When going to PLAYING we will now have a clock and can stop waiting on
      the condition variable and instead start waiting on the clock if
      necessary for the current configuration.
      
      In the other direction when going to PAUSED the clock might have
      disappeared and we might need to wait on the condition variable again
      instead.
      
      Part-of: <!653>
      56d69620
  11. 30 Sep, 2020 2 commits
  12. 08 Sep, 2020 1 commit
  13. 07 Sep, 2020 2 commits
  14. 25 Aug, 2020 1 commit
  15. 24 Aug, 2020 1 commit
  16. 20 Aug, 2020 1 commit
  17. 10 Aug, 2020 1 commit
  18. 07 Aug, 2020 1 commit
  19. 05 Aug, 2020 1 commit
  20. 04 Aug, 2020 3 commits
  21. 03 Aug, 2020 3 commits
  22. 31 Jul, 2020 1 commit
    • Mathieu Duponchelle's avatar
      aggregator: expose sample selection API · d74efc1a
      Mathieu Duponchelle authored and Sebastian Dröge's avatar Sebastian Dröge committed
      See gst-plugins-base#771
      for context.
      
      This exposes new API that subclasses must call from their
      aggregate() implementation to signal that they have selected
      the next samples they will aggregate: gst_aggregator_selected_samples()
      
      GstAggregator will emit a new signal there, `samples-selected`,
      handlers can then look up samples per pad with the newly-added
      gst_aggregator_peek_next_sample.
      
      In addition, a new FIXME is logged when subclasses haven't actually
      called `selected_samples` from their aggregate() implementation.
      
      Part-of: <!549>
      d74efc1a
  23. 29 Jul, 2020 1 commit
  24. 28 Jul, 2020 3 commits
  25. 26 Jul, 2020 1 commit
    • Tim-Philipp Müller's avatar
      check: suppress g-ir-scanner warnings · 58558bb9
      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'
      
      Part-of: <!579>
      58558bb9