summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-11Update to the new identifier/description interface and call _().Diego 'Flameeyes' Pettenò
2007-12-11Update all audio output plugins to the new identifier/description interface.Diego 'Flameeyes' Pettenò
2007-12-11Update to the new identifier/description interface and call _().Diego 'Flameeyes' Pettenò
2007-12-11Leave to the plugin the call to gettext exactly as before.Diego 'Flameeyes' Pettenò
This way external plugins can use their own gettext catalog for i18n.
2007-12-11Update the code not to use the get_* functions that were removed.Diego 'Flameeyes' Pettenò
2007-12-11Replace get_identifier/get_description functions with strings.Diego 'Flameeyes' Pettenò
This is the start of a new experimental branch, with the first objective being the replacement of the get_description and get_identifier functions with direct-access strings. The reason for this change is to reduce code size and time of execution. By replacing the functions with direct-access strings there is one less call to be done in those cases where the description has to be fetched. The solution is not yet definitive though, there are a couple of problems to take care of: - the use of N_() still makes it easy to internationalise the strings, but it requires for the string to be found on libxine2 catalog, which is not exactly a nice solution for external plugins; - it would be simpler to re-use the id field in plugin_info_t, and then move description there; it should reduce memory usage for the class structures; - I'm not really aware of any reason why get_description and get_identifier were used beside the idea of making i18n simpler. This probably would break a couple of frontends, especially if they have some internal plugins (like post-plugins), so it needs to be reviewed carefully before merging in 1.2 branch. My current goal is to get this in before 1.2 though, rather than waiting for 1.3.
2007-12-10Merge from 1.1.Diego 'Flameeyes' Pettenò
2007-12-10Simplify Pulse plugin reverting some of today's changes and going back from ↵Diego 'Flameeyes' Pettenò
there. Instead of using a thread to watch for completion, use mutexes where needed. Don't wait for operation completion for volume changes, they can happen asynchronously too.
2007-12-10Backport the PulseAudio plugin from 1.2 branch.Diego 'Flameeyes' Pettenò
2007-12-10Don't run the infinite loop when checking operations.Diego 'Flameeyes' Pettenò
Instead a condition is signalled when adding new entries, and waited for if no entries are present.
2007-12-10Remove pa_mutex, with the new threaded wait_for_operation there seems to be ↵Diego 'Flameeyes' Pettenò
no more race conditions.
2007-12-10Don't use cork/uncork calls to handle pause and resume.Diego 'Flameeyes' Pettenò
2007-12-10Replace wait_for_operation() with a threaded version to avoid race conditions.Diego 'Flameeyes' Pettenò
Note that the code is incomplete: the infinite loop without sleep will create unneeded wakeups and waste resources.
2007-12-09Do the same for libxine2.Darren Salt
2007-12-09Mark libxine1 as providing the libxine1-* packages which it replaces.Darren Salt
2007-12-09Merge from 1.1.Darren Salt
2007-12-09Enable the WMV VC1 (ffmpeg) codec.Darren Salt
--HG-- extra : transplant_source : %15%CD%0B%2C%F2g%03%B9%25%D4%B2%8BQ%1F%EB%BB%8F%28%9B%C8
2007-12-08spudvb osd update fixChristophe Thommeret
- Allow visible region updates. - Resize OSD at drawing time. --HG-- extra : transplant_source : %17%ECZ%D0j%2C%BC%06%7CO%3A%F0%C7u%A3%86%DE%8Bb%D3
2007-12-07Merge from 1.1.Diego 'Flameeyes' Pettenò
2007-12-07Don't try to free the frame if it's not allocated. Fixes bug FS#3.Diego 'Flameeyes' Pettenò
2007-12-07Fix compilation of DXR3 support with external ffmpeg. Untested with actual DXR3.Darren Salt
Compilation was "broken" by ffmpeg rev. 9283.
2007-12-03Merge from 1.1.Darren Salt
--HG-- rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c
2007-12-04fifo_peek_int can return NULL (when non-blocking). make fifo_remove_int ↵Matthias Kretz
handle that case
2007-12-03Fixed a race condition between ao_loop and ao_close to not lose the last buffer.Matthias Kretz
In ao_loop only read the first buffer and remove it from the fifo only when the buffer has been written or is about to be discarded. This fixes the race between ao_loop and ao_close for good. Now fifo_remove_int may signal empty again right after removing the last buffer from the fifo.
2007-12-02silence stdout of ogg demuxerMatthias Kretz
2007-12-02Don't signal fifo->empty right after reading the last bufferMatthias Kretz
but only when a read was requested and the fifo is empty. Rationale: ao_close uses fifo_wait_empty to make sure all buffers were written to the driver before it calls close on the driver. But if empty is already signaled when ao_loop just reads the next buffer then ao_close might close the driver before ao_loop has a chance to send the buffer to the driver.
2007-12-02remove redundant checkMatthias Kretz
buf must be != NULL because of the while(!fifo->first) before and the buf->next after
2007-12-02Fixed ALSA close function to not discard all data that had been written but ↵Matthias Kretz
not played yet. When closing the pcm device make sure that everything that was written to the device actually gets played. This was the race we were seeing with Ogg Vorbis and wav playback where a delayed driver->close would fix playback. Notice that blocking mode needs to be used for snd_pcm_drain, otherwise the call would be a noop.
2007-12-03ChangeLog entries for my patchesMatthias Kretz
2007-11-30Remove pointless "several MRLs" text; move that paragraph up a bit.Darren Salt
2007-11-25* change the maintainer field to xine-devel@lists.sourceforge.net.Reinhard Tartler
2007-11-25* remove gs from build-dependenciesReinhard Tartler
2007-11-25Merge from 1.1.Darren Salt
Some fixups were required for the kfreebsd patch; needs testing. --HG-- rename : src/video_out/libdha/ports.c => contrib/libdha/ports.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c
2007-11-25Fix a signedness issue in genre number validation.Darren Salt
Negative values would be accepted, resulting in junk in XINE_META_INFO_GENRE or a segfault.
2007-11-25Port nsf plugin build-disabling option to 1.2.Darren Salt
2007-11-25Avoid any future need to alter ID3_GENRE_COUNT.Darren Salt
2007-11-25patch adding additional ID3 genresMaximilian Schwerin
2007-11-24Build-depend on libvcdinfo-dev.Darren Salt
2007-11-24Add option to disable Nosefart/NSF plugin building.Diego 'Flameeyes' Pettenò
This way you can get a safer build for binary redistribution.
2007-11-23Merge.Darren Salt
2007-11-23fix one warning; remove unused variable; make float->int conversion a bit ↵Matthias Kretz
more accurate (compared to oggdec); fix one debug printf
2007-11-23log if send_headers returned with DEMUX_FINISHEDMatthias Kretz
2007-11-23fix read_ogg_packet to really read all of the data; don't go into ↵Matthias Kretz
DEMUX_FINISHED from send_header
2007-11-20Merge from 1.1.Diego 'Flameeyes' Pettenò
2007-11-20Update.Diego 'Flameeyes' Pettenò
2007-11-20Mark xine_plugin_info structures const as for all the rest of plugins.Diego 'Flameeyes' Pettenò
2007-11-20Mark the PPC asm memcpy() implementations as hidden symbols.Diego 'Flameeyes' Pettenò
2007-11-19add support for GNU/kFreeBSDPetr Salinger ext:(%20)
It changes some "defined (__FreeBSD__)" into "defined (__FreeBSD_kernel__)" and "__FreeBSD_version" into "__FreeBSD_kernel_version". The changes are performed on places, where feature of kernel is tested. On some other places, feature of userland/libc is tested, on them "defined (__FreeBSD__)" remains. As proposed, include/configure.h cause __FreeBSD_kernel__ be defined if __FreeBSD__ is defined. --HG-- extra : transplant_source : %25%96K%05%E4Y%B15%94%60%15%FE1%8Ah%26Xy%8C/
2007-11-19Add ChangeLog entry.Diego 'Flameeyes' Pettenò
2007-11-19Remove reference to libcdio and libvcd.Diego 'Flameeyes' Pettenò