summaryrefslogtreecommitdiff
path: root/src/input/input_cdda.c
AgeCommit message (Collapse)Author
2007-12-24Spelling correction: successfuly → successfully.Darren Salt
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-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-05-04Fix building of CDDA input on FreeBSD, the NetBSD patch broke it as ↵Diego 'Flameeyes' Pettenò
sys/scsiio.h is not present on FreeBSD.
2007-04-07Use CC_ATTRIBUTE_FORMAT; replace __attribute((format(printf, ...))) accordingly.Darren Salt
2007-03-10Add support for NetBSD to src/input/input_cdda.c, patch by Sergey Svishchev.Diego 'Flameeyes' Pettenò
CVS patchset: 8657 CVS date: 2007/03/10 00:48:59
2007-01-19Make get_mrl return a const char * too.Diego 'Flameeyes' Pettenò
CVS patchset: 8524 CVS date: 2007/01/19 01:05:24
2007-01-18Make get_description function return a const char * rather than just a char ↵Diego 'Flameeyes' Pettenò
*, so that 'return "something"' is valid. Note that _()/gettext() returns a char * but statically allocated, that the documentation considers constant. CVS patchset: 8519 CVS date: 2007/01/18 23:02:18
2006-12-19Mark string-type configuration items according to whether they're plainDarren Salt
strings or names of files, device nodes or directories. This information is available to front ends (via .num_value) so that they can present file/dir-open dialogue boxes if they so choose. Subtitle font selection is split up due to this. CVS patchset: 8425 CVS date: 2006/12/19 19:10:50
2006-08-11Fix up CDDA parsing to cope with an arbitrary number of slashes after the colon.Darren Salt
Adjust xine(5) to make mention of the possibility of naming the device. CVS patchset: 8176 CVS date: 2006/08/11 21:40:02
2006-07-10Implement visibility support, available on GCC 4.0 and later and on some 3.4 ↵Diego 'Flameeyes' Pettenò
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway. CVS patchset: 8101 CVS date: 2006/07/10 22:08:12
2006-07-08Set CD audio buffer to 500 frames (patch from Christopher Martin).Darren Salt
This fixes "audible gap" problems; <500 resulted in occasional gaps being audible. (The value is a "reasonable choice": it should cover the problem for the vast majority of people and drives.) CVS patchset: 8096 CVS date: 2006/07/08 14:08:48
2006-07-07Fix CD track info retrieval, avoid long pauses.Darren Salt
This is a partial reversion of 1.71->1.72. (Patch from Christopher Martin, <christopher.martin@utoronto.ca>) CVS patchset: 8092 CVS date: 2006/07/07 22:17:03
2006-05-03Make various arrays and structures (mainly xine_plugin_info) const.Darren Salt
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
2006-04-21Add printf format attributes.Darren Salt
CVS patchset: 7977 CVS date: 2006/04/21 23:15:44
2006-02-09fix variable declarationMiguel Freitas
CVS patchset: 7888 CVS date: 2006/02/09 09:29:55
2006-02-05another CDDB parsing patch by Christopher MartinMiguel Freitas
CVS patchset: 7873 CVS date: 2006/02/05 14:32:07
2006-02-01bugfix: prevent input_cdda from closing file descriptors like stdin while ↵Stefan Holst
using autoplay feature CVS patchset: 7861 CVS date: 2006/02/01 18:55:29
2005-11-28*BUGFIX*František Dvořák
Improved cross-compiling: detect and precedence of the host-specific libs W32dll: enabled by platforms as originaly, user can override it Fixed shell errors in the Makefile of the hackersguide Detect the place of SDL header independently on platform Fixed spelling in CDDA, include the header sys/param.h if available Fixed format strings (fix warnings (or even bugs) on Gentoo/FreeBSD) CVS patchset: 7815 CVS date: 2005/11/28 12:24:56
2005-11-15cddb improvements/fixes (DTITLE/DYEAR parsing, timeout increase andMiguel Freitas
multiline entries support) [#1205274] patch by Christopher Martin CVS patchset: 7803 CVS date: 2005/11/15 13:29:10
2005-10-14input plugin time seeking patch.Miguel Freitas
hopefuly somebody will be able to help fixing the mess i did in dvdnav ;) CVS patchset: 7759 CVS date: 2005/10/14 21:02:16
2005-10-08fix format string vulnerability reported by Ulf Harnhammar of the Debian ↵Michael Roitzsch
Security Audit Project CVS patchset: 7757 CVS date: 2005/10/08 11:26:23
2005-09-05*BUGFIX*František Dvořák
Build improvements and WIN32 port updates: - add --with-pthread-pefix and --with-zlib-pefix options - prepare for removing internal zlib and pthreads-win32 relics, updated documentation for possible WIN32 developers (only for me? :->) - fixed bug in unimportant part of configure.ac for MinGW due to xine paths - fixed my bug in cdda (but it compiled fine anyway) - fixed unimportant bug in planar Makefile.am - next MSVC update due to external zlib, pthreads and latest changes, removed relic includes - checked distcheck CVS patchset: 7719 CVS date: 2005/09/05 17:02:56
2005-09-02Unregister config callbacks.Thibaut Mattern
CVS patchset: 7716 CVS date: 2005/09/02 22:39:42
2005-08-29*BUGFIX*František Dvořák
Windows ports updates: - finished M$VC port update - moved xine plugins back to normal location for Windows ports, added relative directories (used relative to ${prefix}), make sure it's thread-safe (but it's still hacky) - fixed ugly bug with loading plugins, when working drive was differrent from plugins directory directory - directory and subdirectory separator called as platform specific - fix crash with newer win32 pthread (missing mutex_init in vo plugin), yes! - small doc update CVS patchset: 7712 CVS date: 2005/08/29 15:28:16
2005-08-25*BUGFIX*František Dvořák
Windows ports fixes and improvements due to my current work on toxine: - first experiments with external win32 pthreads, more portable code (pthread_t may be a struct) - headers refactored - moved dirent win32 replacement to lib/, hide it for frontends, used system version, if found, not used non-POSIX dirent->d_reclen (this item doesn't work in MinGW), fix memleak in dvb - separated settings for postproc and avcodec when using external ffmpeg - check for malloc.h in public xine.m4, used it conditionally in xine headers - replaced random() by POSIX more common rand() - prevent one segfault in directx vo plugin, if fails - M$VC port update CVS patchset: 7709 CVS date: 2005/08/25 15:36:29
2005-07-29FreeBSD compatability patch by Diego "Flameeyes" PettenòJames Stembridge
CVS patchset: 7697 CVS date: 2005/07/29 19:03:34
2005-05-28Allow read as well as read_blockJames Stembridge
CVS patchset: 7574 CVS date: 2005/05/28 09:26:59
2005-02-07Added PLUGIN_MUST_PRELOAD to all input plugins registering config entries.Thibaut Mattern
Added PLUGIN_NO_UNLOAD to the gnome_vfs plugin because unloading this plugins cause troubles (segfault). Current plugin loader preloads all input and demuxer plugins, so adding these flags will not change the current behavior of the lib. CVS patchset: 7390 CVS date: 2005/02/07 23:58:57
2005-02-06Added a plugin_node_t pointer to the input plugin struct.Thibaut Mattern
Incremented all input plugins API version. CVS patchset: 7384 CVS date: 2005/02/06 15:00:34
2004-12-12huge patch ahead: reorganizing config entries with automatic conversionMichael Roitzsch
and backwards compatible translation Sorry, I got a litte tired proof-reading the patch, so their might be bugs lurking around. I will give it some further examination and (as necessary) fixing tomorrow. CVS patchset: 7233 CVS date: 2004/12/12 22:00:47
2004-12-12skip charset conversion. we know freedb proto 6 is already utf-8Miguel Freitas
CVS patchset: 7224 CVS date: 2004/12/12 00:41:22
2004-12-09patch by Assaf Gillat <gillata@gmail.com>Miguel Freitas
CDDB protocol 6 support (UTF-8 and multiple cd entries) CVS patchset: 7213 CVS date: 2004/12/09 01:34:31
2004-09-07Remove Win32 headers required for removed alarm from cdda input plugin.František Dvořák
CVS patchset: 6946 CVS date: 2004/09/07 19:27:55
2004-09-02Warnings on WIN32.František Dvořák
Compilation fix for CygWin. CVS patchset: 6932 CVS date: 2004/09/02 19:56:40
2004-08-27MINGW32 port. Engine library and most of plugins compiles now.František Dvořák
List of some changes: - replaced some _MSC_VER by more common WIN32 - define INTLDIR, remove -static flag for included intl - shared more common CFLAGS with DEBUG_CFLAGS - use WIN32_CFLAGS for all building - separate some flags into THREAD_CFLAGS_CONFIG, THREAD_CFLAGS_CONFIG and ZLIB_LIB_CONFIG for public xine-config, automatically use internal libs if necessary - don't warn about missing X for mingw and cygwin - libw32dll disabled for WIN32 (making native loader would be interesting, or porting wine code to Windows? :->) - DVB and RTP disabled for WIN32, not ported yet - fix build and fix a warning in cdda - fix build for nosefart and libfaad - implement configure option --disable-freetype - sync libxine.pc and xine-config.in - add -liberty to goom under WIN32 - move original build files from included phread and zlib into archives and replace them by autotools CVS patchset: 6910 CVS date: 2004/08/27 19:33:17
2004-07-27from the docs of sprintf: "when the strings overlap, the behaviour is undefined"Michael Roitzsch
(actually it works with glibc and sprintf, but not with snprintf) CVS patchset: 6859 CVS date: 2004/07/27 18:06:45
2004-07-25protect some buffers to be on the safe side (some of them might be hardMichael Roitzsch
to overflow, but it could be possible) input_cdda contains the copy&paste bug of filling the buffer to its end and then appending yet another character CVS patchset: 6848 CVS date: 2004/07/25 17:11:59
2004-07-20Add const to get_identifier return type since that's n fact what itRocky Bernstein
is. Should protect against a plugin returning a malloc'd variable for example. CVS patchset: 6821 CVS date: 2004/07/20 00:50:10
2004-06-13implement steps 1, 2, 3 and 4 of the seeking proposal:Miguel Freitas
http://article.gmane.org/gmane.comp.video.xine.devel/9532 it is now up to demuxers to decide what the 0..65535 position means. demuxers tested: ogg, voc, flac, rm, asf, vqa, vob, avi, y4m, au, mov, ts, mp3, mpg, wav, ra, mve CVS patchset: 6686 CVS date: 2004/06/13 21:28:52
2004-05-26slow down CD drive during CD audio playback to reduce noiseMichael Roitzsch
CVS patchset: 6592 CVS date: 2004/05/26 16:37:41
2004-05-20this is not available hereMichael Roitzsch
CVS patchset: 6572 CVS date: 2004/05/20 18:43:32
2004-05-12Wrong bitwise operator.Robin KAY
CVS patchset: 6525 CVS date: 2004/05/12 17:50:09
2004-05-12- open the CD device for Linux systems where /proc/sys/dev/cdrom/check_mediaxine-1-rc4a-release1-rc4aBastien Nocera
is at 1 (otherwise, it will lie about the medium type) CVS patchset: 6523 CVS date: 2004/05/12 11:19:13
2004-05-11use the CDDB cache directory, even when CDDB queries are disabledMichael Roitzsch
CVS patchset: 6519 CVS date: 2004/05/11 21:21:39
2004-05-05- actually set the CD Index ID, fix warningsBastien Nocera
CVS patchset: 6486 CVS date: 2004/05/05 09:16:59
2004-05-05make it possible for the CDDA plugin to give away Musicbrainz CD Index IDBastien Nocera
base64.[ch] are now relicensed under the GNU General Public License as per section 3 of the GNU Less General Public License sha1.[ch] are still under a public domain license, see headers for details CVS patchset: 6485 CVS date: 2004/05/05 09:11:38
2004-05-02Fix the crash with CDDB queries when server is off-line. Thanks for patch to ↵František Dvořák
Dario Nicodemi. CVS patchset: 6473 CVS date: 2004/05/02 15:17:39
2004-04-21Exclusive open(2) on CD device fails if a filesystem has been mounted. ↵Robin KAY
Affects at least Solaris 9 and Linux 2.6 (latter according to post by Bastien Nocera). Added support for skipping data track on Solaris. CVS patchset: 6418 CVS date: 2004/04/21 16:43:18