1. 21 Jan, 2019 1 commit
    • Jacek Tomaszewski's avatar
      wasapi: Fixed corner-cases in mapping of channel mask · 60146e30
      Jacek Tomaszewski authored
      'channel-mask' field should not be put in caps if channel mask is 0x0
      Mapping WASAPI channel mask to GST equivalent was going only over
      first nChannels elements of wasapi_to_gst_pos array, translating, for
      example, WASAPI's 0x63f to GST's 0x3f instead of 0xc3f.
      When 'channel-mask' is specified as NULL, it signifies that there's
      need to do downmix or upmix and it makes caps negotiation with
      audioconvert element impossible. Just omit it.
      Signed-off-by: Nirbheek Chauhan's avatarNirbheek Chauhan <nirbheek@centricular.com>
  2. 19 Jan, 2019 1 commit
    • Nirbheek Chauhan's avatar
      meson: Fix automagic build of msdk plugin · f710b36a
      Nirbheek Chauhan authored
      When building the msdk plugin even if libmfx is found, unless the
      plugin is explicitly enabled we should not error out if msdk
      dependencies are not found.
      Also give an error message when we don't build the plugin on Windows
      because we're not building with MSVC.
  3. 18 Jan, 2019 1 commit
  4. 17 Jan, 2019 4 commits
  5. 16 Jan, 2019 2 commits
  6. 14 Jan, 2019 3 commits
    • 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.
    • 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
    • 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
  7. 11 Jan, 2019 2 commits
  8. 10 Jan, 2019 1 commit
  9. 09 Jan, 2019 5 commits
  10. 08 Jan, 2019 8 commits
  11. 07 Jan, 2019 1 commit
    • 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
      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.
  12. 04 Jan, 2019 1 commit
    • 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
  13. 03 Jan, 2019 1 commit
  14. 02 Jan, 2019 1 commit
  15. 31 Dec, 2018 1 commit
  16. 30 Dec, 2018 3 commits
  17. 28 Dec, 2018 1 commit
  18. 27 Dec, 2018 1 commit
  19. 26 Dec, 2018 1 commit
  20. 25 Dec, 2018 1 commit