summaryrefslogtreecommitdiff
path: root/src/input/input_dvd.c
AgeCommit message (Collapse)Author
2007-04-14Don't add a special setting for DVDCSS_CACHE, as it's handled by libdvdcss.Diego 'Flameeyes' Pettenò
Users might be using DVDCSS_CACHE by theirselves to change the location of libdvdcss keys cache; if xine resets the environment variable, it might create an unexpected behaviour to the user.
2007-04-04Cleanup check for WIN32, use #elif rather than #else/#ifdef.Pascal S. de Kloe
2007-04-04Check for sys/dvdio.h, and use that if found, rather than having a check for ↵Diego 'Flameeyes' Pettenò
the BSDs. Thanks to Pascal S. de Kloe for pointing at this.
2007-02-20const++Diego 'Flameeyes' Pettenò
CVS patchset: 8616 CVS date: 2007/02/20 01:04:07
2007-02-08Remove any possibility of strcpy/sprintf overflows wrt front ends requestingDarren Salt
language & subtitle strings (given a buffer of >= XINE_LANG_MAX bytes). Also fixes an off-by-one buffer termination in the TS code. (Note: compile-tested only.) CVS patchset: 8592 CVS date: 2007/02/08 02:40:22
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-10-29- if the root menu isn't available, go to the title menu instead. ClosesBastien Nocera
GNOME Bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=344592 CVS patchset: 8354 CVS date: 2006/10/29 19:39:39
2006-07-17Allow 0 for title & chapter in DVD MRLs.Darren Salt
CVS patchset: 8131 CVS date: 2006/07/17 17:15:34
2006-07-11Apply patches for Darwin compatibility, SF.net bug 1431220. Thanks to ↵Diego 'Flameeyes' Pettenò
Benjamin Reed. CVS patchset: 8109 CVS date: 2006/07/11 03:22:59
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-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
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-09-12Patch from Brian J. Tarricone.Thibaut Mattern
Fixed config callback unregistration. CVS patchset: 7731 CVS date: 2005/09/12 17:44:37
2005-09-07Fixed segfault on class_dispose.Thibaut Mattern
CVS patchset: 7722 CVS date: 2005/09/07 20:43:24
2005-09-02Unregister config callbacks.Thibaut Mattern
CVS patchset: 7716 CVS date: 2005/09/02 22:39:42
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-11- Trivial patch from Mathieu Routhier <mrouthier@encentrus.com> to set theBastien Nocera
XINE_META_INFO_TITLE from the DVD name CVS patchset: 7641 CVS date: 2005/07/11 11:35:41
2005-07-03new stream infos allows frontends to query current title/chapter/angle on dvdsMiguel Freitas
patch by Jerome "poitch" Poichet CVS patchset: 7637 CVS date: 2005/07/03 20:31:28
2005-05-14patch to allow playing just a single title/chapter and then stopMiguel Freitas
(i had this sitting on my tree for a while - i wrote it for extracting the audio from specific tracks of a music dvd) CVS patchset: 7537 CVS date: 2005/05/14 16:11:44
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
2005-01-18**BUGFIX**Michael Roitzsch
fixed some memleaks reported by Jerome CVS patchset: 7360 CVS date: 2005/01/18 21:58:19
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-12Check absolute path in $ac_aux_dir (just reflected from gxine).František Dvořák
Compilation fixes for cross-compiling with MinGW32. CVS patchset: 7231 CVS date: 2004/12/12 13:51:28
2004-12-08use the variable show here (it would be unused otherwise)Michael Roitzsch
CVS patchset: 7206 CVS date: 2004/12/08 18:24:21
2004-12-05Restrict left button (1) only for XINE_EVENT_INPUT_MOUSE_BUTTON eventDaniel Caujolle-Bert
CVS patchset: 7193 CVS date: 2004/12/05 22:41:12
2004-09-16new DVD MRL parser (refactored into two new functions to be more readable andMichael Roitzsch
easier extensible) behaviour: dvd:/ opens default device (this is a temporary special case) dvd:/1.2 opens given title/part on default device (dito) dvd:/path/ opens given device, directory or single-file image dvd:/path same as above, so fully compatible with old behaviour dvd:/path/1.2 tries to open /path/1.2, falling back to /path with title/part CVS patchset: 6974 CVS date: 2004/09/16 13:10:09
2004-09-01Fixes to DVD MRL parsing.James Courtier-Dutton
CVS patchset: 6926 CVS date: 2004/09/01 16:17:39
2004-08-28Fix a crash when dispose it called before the DVD starts playing.James Courtier-Dutton
This needs to be fixed in libdvdnav as well. CVS patchset: 6916 CVS date: 2004/08/28 22:51:50
2004-08-28Improved MRL parsing in the dvd plugin.James Courtier-Dutton
Works now for all types of MRL, and works in DVD Title mode as well. Removes the requirement to have a "/" at the end of the MRL. Eg. xine dvd:/ <- plays a DVD from the default dvd device. xine dvd://dev/sr0 <- plays a DVD from /dev/sr0 xine dvd:/dvd.img <- plays a DVD image from the current directory. xine dvd://dvd/dvd.img <- plays a DVD from full path /dvd/dvd.img xine dvd://dvd/dvd.img/ <- plays a DVD from full path /dvd/dvd.img. Having the last / makes no difference. xine dvd://dvd/dvd.img:1.2 <- plays Title 1, Part 2 of DVD image. CVS patchset: 6912 CVS date: 2004/08/28 15:06:26
2004-08-19* set the instance pointer to NULL before closing the dvdnav handleMichael Roitzsch
(fixes crashes when changing the default language) * fix a race that can lead to a memleak CVS patchset: 6897 CVS date: 2004/08/19 10:30:04
2004-08-01patch by Robin Kay to dynamically increase the memory stack when it runs fullMichael Roitzsch
CVS patchset: 6866 CVS date: 2004/08/01 16:18:43
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-21remember the last opened device for ejecting so when using more than oneMichael Roitzsch
DVD drive, the correct one is ejected; should close bug #976347; also done some cleanup, removed currently unused structure members CVS patchset: 6728 CVS date: 2004/06/21 18:48:17
2004-06-20* merge latest CVS of libdvdnav fixes dvd:/<title>.<part> MRLsMichael Roitzsch
* small cleanup in input_dvd, removing unused structure member 'mode' * remove CVS log from input_dvd since this is uncommon in xine-lib and enlarges the file too much; people can use "cvs log" if they want the info CVS patchset: 6716 CVS date: 2004/06/20 16:59:13
2004-06-14since we do not store that in extra_info any more, this call is obsoleteMichael Roitzsch
CVS patchset: 6689 CVS date: 2004/06/14 13:45:46
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-04-10improving config help stringsMichael Roitzsch
CVS patchset: 6383 CVS date: 2004/04/10 15:45:10
2003-12-26* cure the ABI breakage: XINE_LANG_MAX cannot be increasedMichael Roitzsch
* add TODO items to provide a better solution CVS patchset: 5950 CVS date: 2003/12/26 16:13:21
2003-12-14API version bounceSiggi Langauf
CVS patchset: 5912 CVS date: 2003/12/14 22:13:22
2003-12-13set dvdcss verbosity according to xine's oneDaniel Caujolle-Bert
CVS patchset: 5901 CVS date: 2003/12/13 01:53:48
2003-12-07get rid of XINE_{ASSERT,ABORT} and useless xine_print_trace (useless). ↵Daniel Caujolle-Bert
Replace XINE_ASSERT by _x_assert, which works exaclty as assert, except that it still warns with NDEBUG defined (but don't abort). Fix missuning of assert(0), which isn't safe, abort is abort, assert is for debugging purpose only, so all assert(0) has been converted to abort() alls. In osd_preload_fonts(): alloc needed memory chunk. Define NDEBUG in CFLAGS, for non DEBUG build only. CVS patchset: 5860 CVS date: 2003/12/07 15:34:29
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
2003-11-26xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. ↵Daniel Caujolle-Bert
scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08
2003-11-16New stream/meta info (safe) stuff.Daniel Caujolle-Bert
BIG NOTE: use helpers to access to these informations (get/set/reset): _x_{stream,meta}_info_{get,set,reset}() are for internal use, don't use *_public() ones from inside the beast ;-) Some wrongly names "xine_" fonction renaming. CVS patchset: 5757 CVS date: 2003/11/16 23:33:42
2003-11-15more helper functions cleanup (stream info, meta info)Miguel Freitas
CVS patchset: 5731 CVS date: 2003/11/15 13:01:00
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-11-08Use info helper functions.Thibaut Mattern
CVS patchset: 5711 CVS date: 2003/11/08 22:39:32