Skip to content
Snippets Groups Projects
  1. Jan 17, 2019
  2. Jan 16, 2019
  3. Jan 14, 2019
    • Nirbheek Chauhan's avatar
      wasapi: Fix infinite loop when the device disappears · d56aec8b
      Nirbheek Chauhan authored
      When the audio device goes away during playback or capture, we were
      going into an infinite loop of AUDCLNT_E_DEVICE_INVALIDATED. Return -1
      and post an error message so the ringbuffer thread exits with an error.
      d56aec8b
    • Jan Alexander Steffens's avatar
      srt: Fix autotools build · 7a01e9a8
      Jan Alexander Steffens authored
      0a350c61 broke the build by only
      building enum types with meson. It also removed gstsrt.c from the list
      of sources, causing the plugin to fail to load.
      
      squash! srt: Fix autotools build
      7a01e9a8
    • Jan Alexander Steffens's avatar
      srt: Fix GCC function type error · 484291b1
      Jan Alexander Steffens authored
      gstsrtobject.c: In function ‘gst_srt_object_close’:
      gstsrtobject.c:1036:7: error: function called through a non-compatible type [-Werror]
             (GDestroyNotify) g_closure_unref);
      /usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro ‘g_clear_pointer’
             (destroy) (_ptr);                                                        \
              ^~~~~~~
      gstsrtobject.c:1038:7: error: function called through a non-compatible type [-Werror]
             (GDestroyNotify) g_closure_unref);
      /usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro ‘g_clear_pointer’
             (destroy) (_ptr);                                                        \
              ^~~~~~~
      
      Arch Linux
      gcc 8.2.1 20181127
      glib 2.58.2
      484291b1
  4. Jan 11, 2019
  5. Jan 10, 2019
  6. Jan 09, 2019
  7. Jan 08, 2019
  8. Jan 07, 2019
    • U. Artie Eoff's avatar
      msdkenc: break out of flush frames loop on error · e91a53f6
      U. Artie Eoff authored
      In general, we should assume any unhandled error is
      non-recoverable.
      
      In the flush frames loop, some error states can cause us
      to never increment the task and therefore we get stuck
      in an infinite loop and generate GST_ELEMENT_ERROR
      over and over again.  This eventually consumes all
      system memory and triggers OOM.  Thus, assume the worst
      and break out of the loop upon the first "unhandled" error.
      
      gstreamer/gst-plugins-bad#859
      e91a53f6
  9. Jan 04, 2019
    • Nirbheek Chauhan's avatar
      wasapi: Fix double call to Start when resetting the element · 8249763f
      Nirbheek Chauhan authored
      When either the source or sink goes from PLAYING -> NULL -> PLAYING,
      we call _reset() which sets client_needs_restart, and then we call
      prepare() which calls IAudioClient_Start(), so we don't need to call
      it again in src_read() or sink_write(). Unlike when we're just going
      PLAYING -> PAUSED -> PLAYING.
      8249763f
  10. Jan 03, 2019
  11. Jan 02, 2019
  12. Dec 31, 2018
  13. Dec 30, 2018
  14. Dec 28, 2018
  15. Dec 27, 2018
  16. Dec 26, 2018
  17. Dec 25, 2018
  18. Dec 24, 2018
  19. Dec 22, 2018
Loading