1. 16 Sep, 2011 1 commit
    • Max Kellermann's avatar
      input_stream: non-blocking I/O · 754f26a9
      Max Kellermann authored
      Add GMutex, GCond attributes which will be used by callers to
      conditionally wait on the stream.
      
      Remove the (now-useless) plugin method buffer(), wait on GCond
      instead.  Lock the input_stream before each method call.  Do the same
      with the playlist plugins.
      754f26a9
  2. 15 Sep, 2011 6 commits
  3. 18 Jul, 2011 2 commits
  4. 03 Jul, 2011 1 commit
  5. 09 May, 2011 6 commits
  6. 12 Apr, 2011 3 commits
  7. 29 Jan, 2011 1 commit
  8. 04 Nov, 2010 1 commit
  9. 19 Jul, 2010 2 commits
    • Max Kellermann's avatar
      decoder/ffmpeg: fix libavformat 0.6 by using av_open_input_stream() · e2e8d0d2
      Max Kellermann authored
      libavformat 0.6 does not pass the original URI pointer to the "open"
      method, which leads to a crash because MPD was using a dirty hack to
      pass a pointer to that method.
      
      This patch switches to av_open_input_stream() with a custom
      ByteIOContext class, instead of doing the URI string hack with
      av_open_input_file().
      
      Loosely based on a patch from Jasper St. Pierre.
      e2e8d0d2
    • Max Kellermann's avatar
      decoder/ffmpeg: manual format probing · b2e3c075
      Max Kellermann authored
      Use the libavformat function av_probe_input_format() to probe the
      AVInputFormat, instead of letting av_open_input_file() do it
      implicitly.  We will switch to av_open_input_stream() very soon, which
      does not have the probing code.
      
      Loosely based on a patch from Jasper St. Pierre.
      b2e3c075
  10. 12 Jul, 2010 2 commits
  11. 18 May, 2010 1 commit
  12. 11 Apr, 2010 1 commit
    • Charles Kerr's avatar
      decoder/ffmpeg: fix crash on startup in mpd_ffmpeg_log_callback() · 6a958980
      Charles Kerr authored
      What's happening is the `ptr' argument to that function is NULL for me
      every time. `ptr' is unconditionally dereferenced to generate a log
      message, and this is where mpd crashes.
      
      Attached is a simple patch that tests for NULL and omits the log. With
      this patch the crash disappeared and mpd went back to working well.
      6a958980
  13. 28 Mar, 2010 1 commit
  14. 07 Mar, 2010 1 commit
  15. 27 Feb, 2010 2 commits
  16. 02 Feb, 2010 1 commit
  17. 18 Jan, 2010 5 commits
  18. 04 Jan, 2010 2 commits
  19. 01 Jan, 2010 1 commit