summaryrefslogtreecommitdiff
path: root/src/combined
AgeCommit message (Collapse)Author
2010-02-25Fix build with the old, outdated and deprecated internal ffmpeg.Darren Salt
2010-02-21WMAPro supportChristopher Martin
Rename "wmav3" to "wmapro" in xine-lib's internals to line up xine-lib's nomenclature with what everyone else calls it and knows it as. [Tweaked by ds to avoid API change.] Tell xine-lib that when it finds wmapro, look to ffmpeg. ffmpeg's wmapro decoder is unique in that it puts out samples that are floats, not 16-bit ints. These need to be converted. This requires external ffmpeg.
2010-02-04Work around an ffmpeg SVQ3 bug; check for avcodec_thread_init failure.Darren Salt
2010-02-03Kill a "missing return" warning.Darren Salt
2010-01-21Undo libavutil workaround (fixed upstream).Darren Salt
2010-01-17Cope with libavutil no longer defining some endian-specific macros.Darren Salt
2010-01-17"Fix" playback of 24-bit FLAC.Darren Salt
We pretend that it's 16-bit to avoid "audio device unavailable" (ALSA). Also, the clock is a bit fast.
2009-12-05Build fix (undefined symbol) for when using older ffmpeg.Darren Salt
2009-12-04Bump the FLAC decoder's priority above ffmpegaudio, and build it by default.Darren Salt
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-11-17VC1 support fixesPetri Hintukainen
There are two tricks to make VC1 decoding work: 1) VC1 sequence and entry point headers must be present in context->extradata. 2) video width and height must be known when opening decoder. Some container formats store required extra data, but mpeg-ts does not. 1) is fixed by scanning the stream for headers and discarding all data until proper headers are found. 2) is fixed by re-opening decoder with width and height information from first open.
2009-10-15Quick hack to prevent segfaulting at end-of-stream when this->context == NULL.Darren Salt
2009-04-02Merge.Darren Salt
2009-04-02Fix up building with libavcodec.so.52 < 52.20.0.Darren Salt
2009-04-02FFmpeg: add support for reordered_opaque to custom get_buffer() implementation.Reinhard Nißl
After adding support for PTS reordering some time ago, any codecs using direct rendering did no longer pass PTS values to the images due to missing support for reordered_opaque in xine-lib's custom get_buffer() function. With this fix, A/V sync should now be as before or even better, due to PTS reordering (the intent of the earlier changesets).
2009-03-28Fix calculation of frame duration for ffmpeg-decoded formats.Reinhard Nißl
2009-03-28Report frame duration changes.Reinhard Nißl
2009-03-08Fix build with libavutil >= 50.0.0Alexis Ballier
PIX_FMT_RGBA32 was #defined to PIX_FMT_RGB32 since 2006.
2009-02-13Fix a build failure on *BSD due to some rather useful GNUisms.Darren Salt
Their sed doesn't have \s and their tail doesn't handle -ve line counts.
2009-02-09demux_unstick_ao_loop() reports that xine might be stuck != is stuckLorenzo Desole
Don't give up immediately if demux_unstick_ao_loop() reports that xine might be stuck, because it's not necessarily so. According to my tests, this fixes http://bugs.kde.org/show_bug.cgi?id=180339#c42 and http://bugs.debian.org/514114. This has been tested with Amarok and kde 4.1.x (with phonon) and kaffeine.
2009-01-17Avoid libtool running ldconfig (where not needed) at install time.Darren Salt
2009-01-16Terminate the supported types list...Darren Salt
2009-01-16Rework ffmpeg codecs lists creation.Darren Salt
This is intended to make it easier to add new codecs without breaking compilation with older ffmpeg and to see which codecs need to be added.
2009-01-11Merge.Darren Salt
2009-01-11Reapply cset ffb2e82d7bb7 (accidental removal by this cset's parent).Darren Salt
2009-01-11Merge.Darren Salt
2009-01-11Fix PTS tagging: large (negative) PTS values are a result of turning it off ↵Reinhard Nißl
to early The current code turns of PTS tagging as soon as a match is found. But depending on picture reordering, there may be later frames which still have the tag. The result is that most likely the highest bit is set which makes the PTS values large negative numbers which cause a clock error and make streams unplayable. To fix this issue, a stable counter is introduced. The two passes of PTS tagging are now switched after the tag has been seen stable for 100 frames. This should protect us from picture reordering issues. --HG-- extra : transplant_source : I%2A%BBi%A5nb/%5E%12%9Ay%7B%BAj%7D%0B%16%0By
2009-01-08Fix build with libavcodec < 51.68.0.Darren Salt
This covers the internal snapshot and the version in Debian lenny.
2009-01-05Merge security fixes.Darren Salt
2009-01-04At discontinuity all stored PTS values need to be reset to 0, as they are ↵Reinhard Nißl
now invalid. But as PTS values are stored in FFmpeg's decoder, there is no way to reset them to 0. Therefore PTS tagging has been introduced. At discontinuity a tag is generated and applied to all new PTS values. Any returned PTS value is checked for this tag and outdated PTS values are reset to 0. When the tag appears on returned PTS values then tagging is reset.
2009-01-04Feed buffer PTS through FFmpeg's decoder to have them reordered to display ↵Reinhard Nißl
order. Attaching buffer PTS, which are in decoding order, to decoded images is simply wrong. FFmpeg meanwhile provides a way to pass PTS values through its decoder too. As a result they get reordered to display order and can be attached to the decoded frames.
2009-01-02ff_audio_decode_data() doesn't always return if the stream is closed or ↵Lorenzo Desole
playback stopped.
2008-12-20Fix constantness.Diego E. 'Flameeyes' Pettenò
2008-11-22Fix linkage failure caused by the av_free() changes in the ffmpeg decoders.Darren Salt
2008-11-20Memory access fixes:František Dvořák
- goom initialization - matroska playing recent files with AAC - replace free() by ffmpeg's av_free() in ff decoders
2008-09-13Compilation fixes for ffmpeg API & ABI changes.Darren Salt
--HG-- extra : transplant_source : %A7%3F%40%BA%27%15%89%8B%F8%28%27%E6%EF%B8%22E%F1%AE%F8%D3
2008-08-25Fix a possible heap buffer overflow in the ffmpeg video decoder.Darren Salt
This could happen where the actual image height is not a multiple of 16. --HG-- extra : transplant_source : %10%BD%8C%FE%BA%CA0%D5k%8A%9CH%DD%B1-%A7E4%CD%E6
2008-08-20Integer overflow in ff_audio_decode_data()Tielei
There is an integer overflow bug in ff_audio_decode_data(). A crafted file could cause heap crash. --HG-- extra : transplant_source : FxpH6%A3%B7%C5%DA9%5B%F6h%AFKm%93%EA%1Bv
2008-07-16Add support for the Snow video codec.Darren Salt
2008-07-15Recognise AMR audio (normally found in 3GP files).Darren Salt
2008-05-09Remove a new bunch of xine_malloc() calls.Diego 'Flameeyes' Pettenò
Also don't reset memory after it's allocated if we do that with calloc.
2008-05-09Cleanup handling of packed attribute.Diego 'Flameeyes' Pettenò
- Add a configure test for the attribute, during xine build process. - Define the attribute as supported when using GCC 2.95 or later outside xine build process. - Use the new XINE_PACKED define instead of the attribute directly. - Check for SUPPORT_ATTRIBUTE_PACKED rather than doing strange subdefines.
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
The xine_xmalloc() function is going to be deprecated, as its behaviour is rarely needed as such, and it's thus misused. With this, almost all uses of xine_xmalloc() with static size (for instance the value returned by sizeof()) or with a size that is guaranteed not to be zero (like strlen()+1) are replaced with calls to either calloc(1, ...) or malloc(). malloc() is used whenever the allocated memory is going to be immediately overwritten, while calloc() is used in every other case, as it sets the whole memory area to zero. --HG-- extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
2008-05-03Don't define flac_metadata_callback if we're not going to use it. It's only ↵Diego 'Flameeyes' Pettenò
used for legacy flac.
2008-04-30Fix green smearing in h264 decodingJason Tackaberry
Occasionally when playing h264-encoded files, green blocks will appear at the edges of the frame, and get smeared around (following the motion vectors, of course). This bug has existing in Xine for well over a year, and I keep hoping it will be fixed, but it never was. I recently learned that gstreamer had a similar problem and it was fixed last year. With this as a hint, I found http://bugzilla.gnome.org/show_bug.cgi?id=364139 and the patch attached to that bug. I've adapted that patch to xine, and it is attached. I have compared clips before and after applying this patch, and in all cases the green artifacts have gone away, and I have seen no negative side effects.
2008-04-21Fix display of some MJPEG streams (YUVJ420P).Darren Salt
2008-04-21Debug logging of ffmpeg pixel format in case of display errors.Darren Salt
2008-04-07Shift some audio plugin priorities: swap libreal & ffmpeg, otherwise 7 to 8.Darren Salt
2008-04-07Implement support for "MPEG-3 adu".Jinghua Luo
2008-04-07Check the Real extradata length.Darren Salt