1. 02 Dec, 2009 1 commit
  2. 30 Nov, 2009 1 commit
    • Max Kellermann's avatar
      ffmpeg: don't try to force stereo · 16123f1b
      Max Kellermann authored
      The plugin code tried to force libavcodec to supply stereo samples.
      That however has never actually worked.  By removing this code, we are
      able to play surround files for the first time.
      16123f1b
  3. 15 Nov, 2009 1 commit
    • Max Kellermann's avatar
      decoder/ffmpeg: align the output buffer · 77b95d08
      Max Kellermann authored
      On some platforms, libavcodec wants the output buffer aligned to 16
      bytes (because it uses SSE/Altivec internally).  It will segfault when
      you don't obey this rule.
      77b95d08
  4. 13 Nov, 2009 1 commit
  5. 12 Nov, 2009 1 commit
    • Max Kellermann's avatar
      include config.h in all sources · 5b82ffc2
      Max Kellermann authored
      After we've been hit by Large File Support problems several times in
      the past week (which only occur on 32 bit platforms, which I don't
      have), this is yet another attempt to fix the issue.
      5b82ffc2
  6. 28 Oct, 2009 2 commits
  7. 13 Oct, 2009 1 commit
  8. 30 Sep, 2009 1 commit
  9. 03 Aug, 2009 1 commit
  10. 19 Jul, 2009 1 commit
    • David Woodhouse's avatar
      Add audio_format_init() function · 37754559
      David Woodhouse authored
      It makes no difference right now, but we're about to add an endianness
      flag and will want to make sure it's correctly initialised every time.
      37754559
  11. 25 Jun, 2009 1 commit
  12. 08 Jun, 2009 2 commits
  13. 02 Apr, 2009 1 commit
  14. 13 Mar, 2009 1 commit
    • Avuton Olrich's avatar
      all: Update copyright header. · 0aee49bd
      Avuton Olrich authored
      This updates the copyright header to all be the same, which is
      pretty much an update of where to mail request for a copy of the GPL
      and the years of the MPD project. This also puts all committers under
      'The Music Player Project' umbrella. These entries should go
      individually in the AUTHORS file, for consistancy.
      0aee49bd
  15. 03 Mar, 2009 2 commits
  16. 02 Mar, 2009 1 commit
  17. 23 Feb, 2009 1 commit
    • Avuton Olrich's avatar
      ffmpeg: add all known ffmpeg extensions and mime-types. · 39a33344
      Avuton Olrich authored
      After much research[1][2][3] this should be the majority of currently
      supported file extensions and mime-types for the currently supported
      ffmpeg formats. This list maybe incomplete, but it's more complete
      than anything else out there that I've been able to find. This list
      needs to be updated every now and again as the ffmpeg sources support
      more formats.
      
       1. Sources
       2. wiki.multimedia.cx
       3. filext.com
      39a33344
  18. 15 Feb, 2009 1 commit
  19. 11 Feb, 2009 1 commit
  20. 03 Feb, 2009 4 commits
    • Max Kellermann's avatar
      ffmpeg: fixed seek integer overflow · 824d299e
      Max Kellermann authored
      The "current" variable is used for calculating the seek destination,
      and was declared as "int".  With very long song files, the 32 bit
      integer can overflow.  ffmpeg expects an int64_t, which is very
      unlikely to overflow.  Switch to int64_t.
      824d299e
    • Max Kellermann's avatar
      ffmpeg: check if the time stamp is valid · f3b73b82
      Max Kellermann authored
      When ffmpeg cannot estimate the elapsed time, it sets
      AVPacket.pts=AV_NOPTS_VALUE.  Our ffmpeg decoder plugin did not check
      for that special value.
      f3b73b82
    • Max Kellermann's avatar
      ffmpeg: don't warn of empty packet output · 81b6c0d7
      Max Kellermann authored
      If avcodec_decode_audio2() returns no output for an AVPacket,
      libavcodec may buffer some data, and return a larger chunk of output
      later.  This patch disables a lot of bogus warnings.
      81b6c0d7
    • Max Kellermann's avatar
      ffmpeg: print codec name · a7632b09
      Max Kellermann authored
      Output the name of the codec as a debug message.  During my tests,
      ffmpeg never filled this struct member, but it may do so in the past,
      and this debug message might become helpful.
      a7632b09
  21. 30 Jan, 2009 1 commit
    • David Horn's avatar
      ffmeg: added support for the tags comment, genre, year · efb04532
      David Horn authored
      ffmpeg_tag_internal() does not look for a few tags that mpd
      supports. Most noteably:
      
       comment -> TAG_ITEM_COMMENT -> Description
       genre -> TAG_ITEM_GENRE -> WM/Genre (not WM/GenreID)
       year -> TAG_ITEM_DATE -> WM/Year
      
      I *think* that this is the last of the tags that AVFormatContext() in
      ffmpeg supports that mpd also uses.
      efb04532
  22. 16 Jan, 2009 1 commit
  23. 08 Jan, 2009 1 commit
  24. 01 Jan, 2009 1 commit
  25. 24 Dec, 2008 2 commits
  26. 15 Dec, 2008 2 commits
  27. 21 Nov, 2008 2 commits
  28. 18 Nov, 2008 1 commit
  29. 16 Nov, 2008 1 commit
    • Max Kellermann's avatar
      ffmpeg: fixed AVSEEK_SIZE · 8882f062
      Max Kellermann authored
      With whence==AVSEEK_SIZE, the seek function should return the file
      size, not the current offset.  Check the return value of
      input_stream_seek().
      8882f062
  30. 11 Nov, 2008 1 commit
    • Max Kellermann's avatar
      decoder: return void from decode() methods · 9eed4191
      Max Kellermann authored
      The stream_decode() and file_decode() methods returned a boolean,
      indicating whether they were able to decode the song.  This is
      redundant, since we already know that: if decoder_initialized() has
      been called (and dc.state==DECODE), the plugin succeeded.  Change both
      methods to return void.
      9eed4191
  31. 10 Nov, 2008 1 commit