summaryrefslogtreecommitdiff
path: root/src/input/input_cdda.c
AgeCommit message (Collapse)Author
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
2004-04-10Permit (but not recommend) stream == NULL in io_helper functions.František Dvořák
CVS patchset: 6385 CVS date: 2004/04/10 17:41:44
2004-04-10improving config help stringsMichael Roitzsch
CVS patchset: 6383 CVS date: 2004/04/10 15:45:10
2004-04-10misplaced }Miguel Freitas
fix network autoplaylist CVS patchset: 6378 CVS date: 2004/04/10 14:27:37
2004-04-10Fix segfaults on errors.František Dvořák
Because I added using standard xine network functions into cdda, we need also create stream in cdda_class_get_autoplay_list. It looks as hacky solution, but it's better than reimplementing network functions, IMHO. CVS patchset: 6376 CVS date: 2004/04/10 13:20:16
2004-04-09network cd playback works againMiguel Freitas
CVS patchset: 6369 CVS date: 2004/04/09 22:18:35
2004-04-06Patch for using timeout in cddb lookup (xine was freezed just because of ↵František Dvořák
firewall!!!). New functions into io_helper: _x_io_tcp_connect_finish ... wait for successful connect with timeout _x_io_tcp_read_line ... read the string from the socket (improvements neded) Use io_helper functions in input_cdda. Don't try connect again to freedb server, if previous connecting was failed. CVS patchset: 6337 CVS date: 2004/04/06 18:40:32
2004-03-03we check for a directory with lstat(), but since a link to a directory wouldMichael Roitzsch
do just fine, using stat() is better CVS patchset: 6213 CVS date: 2004/03/03 20:18:36
2004-01-09- rework semantics of some buffer flags. check buffer.h for details.Miguel Freitas
- increase demux and decoder apis - fix runtime changing of ogg/ogm audio channels note: i hope i haven't broken any demux->decoder data exchange. please report any problems. CVS patchset: 6014 CVS date: 2004/01/09 01:26:32
2004-01-07- use O_EXCL when opening the CD device so that we're sure no other applicationBastien Nocera
will try and touch it CVS patchset: 6009 CVS date: 2004/01/07 22:21:40
2003-12-14API version bounceSiggi Langauf
CVS patchset: 5912 CVS date: 2003/12/14 22:13:22
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56