summaryrefslogtreecommitdiff
path: root/src/xine-engine
AgeCommit message (Collapse)Author
2010-07-21Remove duplicate codeLorenzo Desole
2010-07-21Add _POSIX_THREAD_PRIORITY_SCHEDULING #ifdefsMatthias Drochner
This is optional, and some systems don't support it. POSIX defines the _POSIX_THREAD_PRIORITY_SCHEDULING to tell that support is present.
2010-07-21Normalize timevalMatthias Drochner
In demux_loop(), a time value is calculated by adding to the fractional part. In case a second barrier is crossed, the value is not in its canonical form anymore - the fractional part is larger than 10^9-1. It should be normalized for portability. While I haven't found a formal requirement for this in POSIX, NetBSD's libpthread checks for it and complains.
2010-07-17"Configuration loaded" log item.Darren Salt
2010-04-08Add support for Xv gamma adjustment.Darren Salt
2010-03-23Added new audio buffer type (EAC3)Petri Hintukainen
2009-09-15Add locking for when adjusting audio frame discarding.Roger Scott
2010-02-23Prevent discard_{frames,buffers} from going negative.Darren Salt
Based on patches from Roger Scott <ras351@hotmail.com>.
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-04Fix a ticket-related memory leak.Darren Salt
2010-01-14Merge.Darren Salt
2010-01-14Backed out changeset fd48f5a5841d (discontinuity handling for short streams ↵Darren Salt
+ gapless).
2009-12-01Fork failure messages shouldn't be debug-only.Darren Salt
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-10-13#include guards and __attribute__ fixupsCarlo Bramini
2009-08-31Add BluRay subtitle type.Darren Salt
2009-06-07Fix _x_compute_interval for OS X.Matthias Ringwald
The new _x_compute_interval functions uses clock_gettime() which is not provided on OS X. If _POSIX_TIMERS is not defined, use the older gettimeofday().
2009-04-22Demux timing fixes (Windows)Carlo Bramini
m4/pthreads.m4 * Mingw GCC says that '-pthread' option is unknown. * Correct library name under Mingw is -lpthreadGC2. src/xine-engine/demux.c * function _x_compute_interval cannot be compiled
2009-04-25Merge -gapless branch.Darren Salt
2009-04-25Revert indentation changes.Darren Salt
2009-04-13When writing catalog.cache, use a new file & atomically replace the old one.Darren Salt
2009-04-05Fix handling of the length of UTF-16 content sourced from, e.g., ID3 tags.Darren Salt
This avoids use of strlen(), which doesn't cope well with UTF-16, and also has the ID3 parser double-NUL-terminate the buffered string.
2009-03-15Fix thread starvation for xine_get_param() on multi-core systems.Reinhard Nißl
ao_loop() called sched_yield() to give other threads a chance to acquire driver->lock. But on multi-core systems, it takes too long to wake up the acquiring thread so that ao_loop() takes driver->lock again before the other threads had a chance to acquire it. Therefore a cond var is introduced which ao_loop() can wait for. The cond var will be signalled when one of the other threads has acquired driver->lock. This prevents starvation.
2009-02-24Make _x_compute_interval static (never exported).Diego E. 'Flameeyes' Pettenò
2009-02-16Protect audio loop so it cannot write to a paused device (fixMiguel Freitas
pause/resume freeze with pulseaudio).
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-02-09Fix race conditions in gapless_switch (ref. kde bug #180339)Miguel Freitas
2009-02-08Remove a break which causes some front ends to hang. (cset ce60f8b5995a)Darren Salt
(If this causes xine-lib to hang on certain broken streams, we have a problem.)
2009-01-18Remove '#include "config.h"' from all public header files.Darren Salt
This requires that many other files include config.h themselves. Also convert <config.h> to "config.h".
2009-01-14Avoid printing "plugin foo found" if the filename is null.Darren Salt
(Bug 182)
2008-11-03Free up resources when we finish with a Freetype font.Maximilian Schwerin
2008-05-21Free up resources when we finish with Freetype.Darren Salt
2009-01-02Prevent another possible hang on stream stop (demuxer waiting for audio out).Darren Salt
The test stream sometimes causes the ASF demuxer to report "unknown GUID" several times then act as if the headers have been received, with the audio output thread waiting forever for data to be passed to it by the decoder, in this case the ffmpeg audio decoder. This particular hang occurs if playback is stopped before the demuxer has decided that headers have been received (later, and we'd have the problem which the parent cset of this cset fixes); having the demuxer control insert empty audio buffers where it would otherwise wait forever for the audio output thread to receive some data. Test stream: mmsh://213.92.19.8:80/radiodeejay?MSWMExt=.asf
2008-11-20Some warning fixes: XINE_FORMAT_SCANF, statics in headers, consts, ...František Dvořák
Add warning flags to the DEBUG_CFLAGS too.
2008-11-20Fix using of the pointers, leak fixes in configfile.František Dvořák
2008-11-07Fixed segfault on start when using XINE_PLUGIN_PATH.František Dvořák
2008-11-07Recognise H.264 codec with "XiWave" fourcc too.valtri@funny.zcu.cz
2008-08-18Fix another compilation failure when using C++.Darren Salt
2008-08-17Fix a compilation failure when using C++.Darren Salt
2008-08-06Really fix the metadata bug...Darren Salt
2008-07-16Add support for the Snow video codec.Darren Salt
2008-07-16Add a buffer types entry for TTA.Darren Salt
2008-07-16Add FourCC code for Wavpack.Darren Salt
2008-07-15Recognise AMR audio (normally found in 3GP files).Darren Salt
2008-07-12xine_get_stream_info() not returning values for skipped/discarded framesJason Tackaberry
When passing XINE_STREAM_INFO_SKIPPED_FRAMES or XINE_STREAM_INFO_DISCARDED_FRAMES to xine_get_stream_info(), the return value is always 0, even if there are skipped or discarded frames.
2008-07-09Don't try to load static libraries on mingw32Matthias Ringwald
dlopen of a static library causes a Windows error dialog otherwise. just ignore *.dll.a in plugins folder
2008-07-08Fix compilation for pthread support provided by PTHREAD_{CFLAGS+LIBS}Matthias Ringwald
<xine-internals.h> includes <xine-utils/refcounter.h> which includes <pthread.h>. As all xine sources include <xine-internal.h>, the PTHREAD_CFLAGS are always needed. This patch removed it from two Makefile.am and adds them to CPPFLAGS
2008-07-06Merge.Darren Salt
2008-07-06Fix a stupid bug in post-plugin initialisation.Darren Salt
2008-07-04Add a _x_is_fourcc() inline function to wrap around memcmp().Diego 'Flameeyes' Pettenò
This should be simpler and faster for the compiler to optimise rather than a _X_[BLM]E_32 macro and a comparison. --HG-- extra : transplant_source : %C7%1C%16%17N%3Bh%9B%EB%AA%00%A9%F1%15%C8%CB%8A%99%EE%7D