Skip to content
Snippets Groups Projects
  1. Sep 23, 2019
  2. Sep 09, 2019
  3. Sep 06, 2019
    • Askar Safin's avatar
      gst-player: fix bug with changing playback direction · 21ad51f4
      Askar Safin authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      Fix gst_event_new_seek call in gst-libs/gst/player/gstplayer.c
      
      If rate >= 0.0, then previous code doesn't set end of segment. So, the end of segment
      will be in place where previous seek put it. This is not neccesary end of media file
      (in case of reverse playback). So if we play video backward for some time and then
      switched to forward playing, we will get EOS somewhere in the middle of media file.
      This commit always sets end of segment, thus fixing this bug
      21ad51f4
  4. Sep 02, 2019
  5. Aug 31, 2019
  6. Aug 23, 2019
  7. Aug 21, 2019
  8. Aug 20, 2019
  9. Aug 19, 2019
    • Nirbheek Chauhan's avatar
      rtmp: Fix crash inside free() with MSVC on Windows · ed743952
      Nirbheek Chauhan authored
      librtmp is always built with MinGW in Cerbero, so if the plugin is
      built with MSVC and it frees memory allocated by librtmp, that leads
      to a crash since the CRT used by MinGW and MSVC are different.
      
      This is fixed in master by switching to a newer GCC toolchain which
      has been configured to use the same CRT as newer versions of Visual
      Studio, so there's no cross-CRT memory alloc/free issues.
      
      See: gstreamer/cerbero#164
      ed743952
  10. Aug 16, 2019
  11. Aug 14, 2019
  12. Aug 13, 2019
  13. Aug 12, 2019
  14. Aug 11, 2019
  15. Aug 10, 2019
    • Charlie Turner's avatar
      adaptivedemux: remove some deadlocks using webkitwebsrc. · bdf0e342
      Charlie Turner authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      WebKit's websrc depends on the main-thread for download completion
      rendezvous. This exposed a number of deadlocks in adaptivedemux due to
      it holding the MANIFEST_LOCK during network requests, and also needing
      to hold it to change_state and resolve queries, which frequently occur
      during these download windows.
      
      Make demux->running MT-safe so that it can be accessed without using the
      MANIFEST_LOCK. In case a source is downloading and requires a MT-thread
      notification for completion of the fragment download, a state change
      during this download window will deadlock unless we cancel the downloads
      and ensure they are not restarted before we finish the state-change.
      
      Also make demux->priv->have_manifest MT-safe. A duration query happening
      in the window described above can deadlock for the same reason. Other
      src queries (like SEEKING) that happen in this window also could
      deadlock, but I haven't hit this scenario.
      
      Increase granularity of API_LOCK'ing in change_state as well. We need to
      cancel downloads before trying to take this lock, since sink events
      (EOS) will hold it before starting a fragment download.
      bdf0e342
    • Ilya Smelykh's avatar
      webrtcbin: fix GInetAddress leak · e797763c
      Ilya Smelykh authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      e797763c
    • Ilya Smelykh's avatar
      dtls: fix generated cert dtls agent leak · 6c8831bd
      Ilya Smelykh authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      The generated certificate dtls agent was refed two times on the first call.
      6c8831bd
    • codinho's avatar
      dtls: fix dtls connection object leak · 31ec00fa
      codinho authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      31ec00fa
    • Seungha Yang's avatar
      kmssink: Fix implicit declaration build error · 90cfb06b
      Seungha Yang authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      ffs() and strcmp() require string.h
      
      gstkmssink.c:255:28: error: implicit declaration of function ‘ffs’ [-Werror=implicit-function-declaration]
             crtc_id = res->crtcs[ffs (crtcs_for_connector) - 1];
                                  ^~~
      
      gstkmssink.c:590:10: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
           if (!strcmp (property->name, prop_name)) {
                ^~~~~~
      90cfb06b
    • Martin Liska's avatar
      Fix -Werror=return-type error in configure. · d4fb778f
      Martin Liska authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      d4fb778f
  16. Aug 09, 2019
Loading