Skip to content
Snippets Groups Projects
  1. Sep 07, 2020
  2. Aug 20, 2020
  3. Aug 03, 2020
    • Jordan Petridіs's avatar
      rtsp-thread-pool.c: fix clang 10 warning · e3e946c0
      Jordan Petridіs authored
      clang 10 is complaining about incompatible types due to the
      glib typesystem.
      
      ```
      ../subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-thread-pool.c:534:10: error: incompatible pointer types passing 'typeof ((((void *)0))) *' (aka 'void **') to parameter of type 'GThreadPool **' (aka 'struct _GThreadPool **') [-Werror,-Wincompatible-pointer-types]
      ```
      
      Part-of: <gstreamer/gst-rtsp-server!145>
      e3e946c0
    • Jordan Petridіs's avatar
      rtsp-thread-pool.c: fix clang 10 warning · 3254b992
      Jordan Petridіs authored
      clang 10 is complaining about incompatible types due to the
      glib typesystem.
      
      ```
      ../subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-thread-pool.c:534:10: error: incompatible pointer types passing 'typeof ((((void *)0))) *' (aka 'void **') to parameter of type 'GThreadPool **' (aka 'struct _GThreadPool **') [-Werror,-Wincompatible-pointer-types]
      ```
      
      Part-of: <gstreamer/gst-rtsp-server!145>
      3254b992
  4. Jul 15, 2020
  5. Jul 08, 2020
  6. Jul 06, 2020
  7. Jul 03, 2020
  8. Jul 02, 2020
  9. Jun 23, 2020
  10. Jun 22, 2020
  11. Jun 19, 2020
  12. Jun 15, 2020
  13. Jun 12, 2020
  14. Jun 10, 2020
  15. Jun 09, 2020
  16. Jun 08, 2020
  17. Jun 05, 2020
  18. Jun 03, 2020
  19. May 30, 2020
  20. May 27, 2020
    • Tim-Philipp Müller's avatar
      meson: gir: remove bogus sources_top_dir kwarg · b61f1081
      Tim-Philipp Müller authored
      Doesn't actually exist. Was fixed differently in Meson
      so that the user doesn't have to specify it.
      
      Part-of: <gstreamer/gst-rtsp-server!127>
      b61f1081
    • Tim-Philipp Müller's avatar
      tests: put registry into tests/check not the gst/ subdir · a33e756d
      Tim-Philipp Müller authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      Underscorify the test name before setting GST_REGISTRY,
      so the registry actually ends up in the current build dir
      and not some subdir.
      
      For consistency with the other modules, but should also
      avoid problems on windows.
      
      Also fix indentation of environment block.
      
      Part-of: <gstreamer/gst-rtsp-server!126>
      a33e756d
    • Tim-Philipp Müller's avatar
      tests: fix meson test env setup to make sure we use the right gst-plugin-scanner · f9348a5e
      Tim-Philipp Müller authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      If core is built as a subproject (e.g. as in gst-build), make sure to use
      the gst-plugin-scanner from the built subproject. Without this, gstreamer
      might accidentally use the gst-plugin-scanner from the install prefix if
      that exists, which in turn might drag in gst library versions we didn't
      mean to drag in. Those gst library versions might then be older than
      what our current build needs, and might cause our newly-built plugins
      to get blacklisted in the test registry because they rely on a symbol
      that the wrongly-pulled in gst lib doesn't have.
      
      This should fix running of unit tests in gst-build when invoking
      meson test or ninja test from outside the devenv for the case where
      there is an older or different-version gst-plugin-scanner installed
      in the install prefix.
      
      In case no gst-plugin-scanner is installed in the install prefix, this
      will fix "GStreamer-WARNING: External plugin loader failed. This most
      likely means that the plugin loader helper binary was not found or
      could not be run. You might need to set the GST_PLUGIN_SCANNER
      environment variable if your setup is unusual." warnings when running
      the unit tests.
      
      In the case where we find GStreamer core via pkg-config we use
      a newly-added pkg-config var "pluginscannerdir" to get the right
      directory. This has the benefit of working transparently for both
      installed and uninstalled pkg-config files/setups.
      
      Part-of: <gstreamer/gst-rtsp-server!126>
      f9348a5e
    • Tim-Philipp Müller's avatar
      tests: gst-plugins-base and -bad plugins are required for the unit tests · 92215f2f
      Tim-Philipp Müller authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      Make hard requirement until we have more fine-grained control
      in the unit tests. Of course the presence of the .pc file doesn't
      imply that the plugins we need are actually there, but it's at
      least a step in the right direction.
      
      Part-of: <gstreamer/gst-rtsp-server!126>
      92215f2f
    • Tim-Philipp Müller's avatar
    • Ludvig Rappe's avatar
      rtsp-media: wait for all GstRTSPStreamBlocking messages · ae58f7d7
      Ludvig Rappe authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      Make sure rtsp-media have received a GstRTSPStreamBlocking message from
      each active stream when checking if all streams are blocked.
      
      Without this change there will be a race condition when using two or
      more streams and rtsp-media receives a GstRTSPStreamBlocking message
      from one of the streams. This is because rtsp-media then checks if all
      streams are blocked by calling gst_rtsp_stream_is_blocking() for each
      stream. This function call returns TRUE if the stream has sent a
      GstRTSPStreamBlocking message, however, rtsp-media may have yet to
      receive this message. This would then result in that rtsp-media
      erroneously thinks it is blocking all streams which could result in
      rtsp-media changing state, from PREPARING to PREPARED. In the case of a
      preroll, this could result in that rtsp-media thinks that the pipeline
      is prerolled even though that might not be the case.
      
      Part-of: <gstreamer/gst-rtsp-server!124>
      ae58f7d7
    • Ludvig Rappe's avatar
      rtsp-media: update expected_async_done during suspend · 0526a5c9
      Ludvig Rappe authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      Set expected_async_done to FALSE in default_suspend() if a state change
      occurs and the return value from set_target_state() is something other
      than GST_STATE_CHANGE_ASYNC.
      
      Without this change there is a risk that expected_async_done will be
      TRUE even though no asynchronous state change is taking place. This
      could happen if the pipeline is set to PAUSED using
      media_set_pipeline_state_locked(), an asynchronous state change starts
      and then the media is suspended (which could result in a state change,
      aborting the asynchronous state change). If the media is suspended
      before the asynchronous state change ends then expected_async_done will
      be TRUE but no asynchronous state change is taking place.
      
      Part-of: <gstreamer/gst-rtsp-server!123>
      0526a5c9
    • Kristofer Björkström's avatar
      rtsp-client: Fix race condition in rtsp ctrl timeout by WeakRef client · ba7d568b
      Kristofer Björkström authored
      There was a race condition where client was being finalized and
      concurrently in some other thread the rtsp ctrl timout was relying on
      client data that was being freed.
      When rtsp ctrl timeout is setup, a WeakRef on Client is set.
      
      Part-of: <gstreamer/gst-rtsp-server!121>
      ba7d568b
  21. May 18, 2020
  22. May 14, 2020
  23. May 03, 2020
  24. May 01, 2020
Loading