summaryrefslogtreecommitdiff
path: root/src/input/input_dvd.c
AgeCommit message (Collapse)Author
2003-03-27use timing information provided by libdvdnav to get more accurate positionMichael Roitzsch
CVS patchset: 4497 CVS date: 2003/03/27 13:48:03
2003-03-25new config option to switch between PG ("per chapter") and PGC ("per movie")Michael Roitzsch
based seeking, although this differs from the behaviour up to now, PGC based seeking is now the default, since this is what people usually expect, what hardware players do and it is needed for separate subtitles to work with DVDs. CVS patchset: 4481 CVS date: 2003/03/25 13:20:31
2003-03-13turn these around so that dvd_get_current_position is defined before usedMichael Roitzsch
CVS patchset: 4400 CVS date: 2003/03/13 22:09:51
2003-03-12fix wrong return value of seek function, kindly reported by Nick KurshevMichael Roitzsch
CVS patchset: 4396 CVS date: 2003/03/12 13:28:12
2003-03-04fix compiler warnings at least in xine's native codeMichael Roitzsch
CVS patchset: 4330 CVS date: 2003/03/04 10:30:27
2003-02-28Xine assert() replacement:Stephen Torri
All assert() function calls, with exceptions of libdvdread and libdvdnav, have been replaced with XINE_ASSERT. Functionally XINE_ASSERT behaves just likes its predecesor but its adding the ability to print out a stack trace at the point where the assertion fails. So here are a few examples. assert (0); This use of assert was found in a couple locations most favorably being the default case of a switch statement. This was the only thing there. So if the switch statement was unable to find a match it would have defaulted to this and the user and the developers would be stuck wonder who died and where. So it has been replaced with XINE_ASSERT(0, "We have reach this point and don't have a default case"); It may seem a bit none descriptive but there is more going on behind the scene. In addition to checking a condition is true/false, in this case '0', the XINE_ASSERT prints out: <filename>:<function name>:<line number> - assertion '<assertion expression>' failed. <description> An example of this might be: input_dvd.c:open_plugin:1178 - assertion '0' failed. xine_malloc failed!!! You have run out of memory XINE_ASSERT and its helper function, print_trace, are found in src/xine-utils/xineutils.h CVS patchset: 4301 CVS date: 2003/02/28 02:51:47
2003-02-26adjust input_dvd to handle DVDNAV_WAIT events properlyMichael Roitzsch
(that is: wait for the fifos to become empty) CVS patchset: 4292 CVS date: 2003/02/26 20:45:18
2003-02-20syncing to libdvdnav 0.1.5 and modifying input plugin accordinglyMichael Roitzsch
quoting the ChangeLog: * some bugfixes * code cleanup * build process polishing * more sensible event order in get_next_block to ensure useful event delivery * VOBU level resume * fixed: seeking in a multiangle feature briefly showed the wrong angle CVS patchset: 4217 CVS date: 2003/02/20 16:01:57
2003-02-14FreeBSD compile fixesHeiko Schaefer
CVS patchset: 4157 CVS date: 2003/02/14 18:00:38
2003-02-13use the requested channel number when querying for the languageMichael Roitzsch
(the _cool_ menu in xine-ui displays the correct languages now) CVS patchset: 4144 CVS date: 2003/02/13 16:24:27
2003-02-11enable libdvdcss title key cacheMichael Roitzsch
CVS patchset: 4132 CVS date: 2003/02/11 15:17:10
2002-12-27man errno: "must not be explicitly declared; errno may be a macro"Miguel Freitas
(thanks Chris Rankin for noticing) CVS patchset: 3693 CVS date: 2002/12/27 16:47:10
2002-12-22it doesn't make sense to reimplement flush here.Miguel Freitas
(this is why xine_demux_flush_engine was created, to avoid redundant code) CVS patchset: 3641 CVS date: 2002/12/22 23:35:42
2002-12-21- add buf->decoder_info_ptr: portability for systems where pointer hasMiguel Freitas
different sizeof than integer. - add extra_info structure to pass informations from input/demuxers down to the output frame. this can be used, for example, to pass the frame number of a frame (when known by decoder). also, immediate benefict is that we now have a slider which really shows the current position of the playing stream. new fields can be added to extra_info keeping binary compatibility - bumpy everybody's api versions CVS patchset: 3603 CVS date: 2002/12/21 12:56:44
2002-12-06- add still frame hint (untested - i don't have dvd here)Miguel Freitas
- check mrl before allocating plugin context, so it doesn't get initialized for non-dvd streams CVS patchset: 3448 CVS date: 2002/12/06 18:44:40
2002-11-23DVD input fixes and cleanup:Michael Roitzsch
* revert my removing of the clock adjustment; although this is bad, it seems to be the best solution for now (menu transitions have choppy audio without) * add patch from Marco Zühlke enabling dvd device specification by MRL * update GUI title and language display once immediately after plugin open CVS patchset: 3352 CVS date: 2002/11/23 12:41:04
2002-11-23registering config entries at init_class timeDaniel Caujolle-Bert
CVS patchset: 3351 CVS date: 2002/11/23 11:09:29
2002-11-22do not play with the clock any more, we have dedicated flush functions for ↵Michael Roitzsch
that now (This should fix Daniels MP3 problems, since the end of one stream would have adjusted the global clock thus affecting all other streams.) CVS patchset: 3334 CVS date: 2002/11/22 16:23:58
2002-11-20engine modifications to allow post plugin layer:Michael Roitzsch
* new public output interface xine_{audio,video}_port_t instead of xine_{ao,vo}_driver_t, old names kept as aliases for compatibility * modified the engine to allow multiple streams per output * renaming of some internal structures according to public changes * moving SCR out of per-stream-metronom into a global metronom_clock_t residing in xine_t and therefore easily available to the output layer * adapting all available plugins (note to external projects: the compiler will help you a lot, if a plugin compiles, it is adapted, because all changes add new parameters to some functions) * bump up all interface versions because of xine_t and xine_stream_t changes CVS patchset: 3312 CVS date: 2002/11/20 11:57:38
2002-11-18DVD input should now be initially unseekableMichael Roitzsch
CVS patchset: 3291 CVS date: 2002/11/18 11:48:35
2002-11-18getting rid of obviously unused INPUT_CAP_VARIABLE_BITRATEMichael Roitzsch
fix ejecting (works now) CVS patchset: 3288 CVS date: 2002/11/18 11:33:59
2002-11-17cleanup: bring config entries back to lifeMichael Roitzsch
introduce a seekable flag CVS patchset: 3277 CVS date: 2002/11/17 16:23:38
2002-11-15cleaning up spu types. now avi subtitles may be enabled again.Miguel Freitas
(+ missed ffmpeg/dv patch) CVS patchset: 3263 CVS date: 2002/11/15 00:20:31
2002-11-03some more release-related fixes...Siggi Langauf
CVS patchset: 3174 CVS date: 2002/11/03 23:03:30
2002-11-02don't display crap in UI panel, xine-ui expects a xine_ui_data_t andMichael Roitzsch
I think this is right, so we provide one CVS patchset: 3148 CVS date: 2002/11/02 15:13:01
2002-11-02Less verbosity.Daniel Caujolle-Bert
CVS patchset: 3138 CVS date: 2002/11/02 03:13:44
2002-11-01be less strict with MRL syntax, people are used to ://Michael Roitzsch
CVS patchset: 3128 CVS date: 2002/11/01 17:51:57
2002-11-01Time for fast navigation now !Thibaut Mattern
CVS patchset: 3124 CVS date: 2002/11/01 11:48:59
2002-10-31adapt input plugins to new MRL syntaxMichael Roitzsch
(mostly turning :// into :/) CVS patchset: 3113 CVS date: 2002/10/31 17:00:44
2002-10-27less noise and register skip_behaviour (chapter skip keys work again)Michael Roitzsch
CVS patchset: 3050 CVS date: 2002/10/27 20:07:39
2002-10-26timeouts for mms, send progress report events, introduce verbosity engine ↵Guenter Bartsch
parameter (not implemented yet), document new plugin loader in changelog CVS patchset: 3029 CVS date: 2002/10/26 22:50:52
2002-10-26first step in getting dvd events backMichael Roitzsch
CVS patchset: 3017 CVS date: 2002/10/26 20:15:21
2002-10-26Remove assert(0), left over from testing.James Courtier-Dutton
dispose of event queue. CVS patchset: 2998 CVS date: 2002/10/26 02:12:27
2002-10-25remove obviously obsolete INPUT_CAP_CLUT and INPUT_OPTIONAL_DATA_CLUTMichael Roitzsch
CVS patchset: 2997 CVS date: 2002/10/25 15:36:16
2002-10-24C99 version of macro definition with variable number of arguments addedJuergen Keil
CVS patchset: 2985 CVS date: 2002/10/24 15:04:41
2002-10-24Fix some log messages in audio_alsa_out.cJames Courtier-Dutton
Fix input_dvd.c for new config file loading before init_class(). CVS patchset: 2982 CVS date: 2002/10/24 13:52:56
2002-10-24Further changes to DVD code.James Courtier-Dutton
CVS patchset: 2981 CVS date: 2002/10/24 11:30:38
2002-10-23final c++ -> c coding style fixes, libxine compiles nowGuenter Bartsch
CVS patchset: 2971 CVS date: 2002/10/23 20:26:32
2002-10-23Oops...will compile now.James Courtier-Dutton
CVS patchset: 2964 CVS date: 2002/10/23 11:59:52
2002-10-23input_dvd.c now listens for keyboard events from xine-ui.James Courtier-Dutton
CVS patchset: 2962 CVS date: 2002/10/23 11:44:30
2002-10-23"dvd_device" device name moved from dvd_input_plugin_t -> dvd_input_class_t,Juergen Keil
adapt the check_solaris_vold_device() function. CVS patchset: 2959 CVS date: 2002/10/23 10:14:08
2002-10-22Fix bad comment, and disable some piece of code to enable compilation on solarisJuergen Keil
CVS patchset: 2940 CVS date: 2002/10/22 17:16:57
2002-10-22Update input_dvd.c to new api.James Courtier-Dutton
Plays DVDs now, but not menu buttons work yet. CVS patchset: 2933 CVS date: 2002/10/22 07:36:05
2002-10-14introduction of xine_stream_t and async xine events - all still in developementGuenter Bartsch
CVS patchset: 2828 CVS date: 2002/10/14 15:46:48
2002-10-06Proper alignment is needed for the array of "xine_mrl_t" structures on SPARC.Juergen Keil
CVS patchset: 2795 CVS date: 2002/10/06 15:48:02
2002-10-02- kill global variablesMichael Roitzsch
- remove some code that could never be reached (after return) CVS patchset: 2770 CVS date: 2002/10/02 15:56:51
2002-09-28configurable skipping behaviourMichael Roitzsch
CVS patchset: 2754 CVS date: 2002/09/28 11:10:04
2002-09-22API review part IMichael Roitzsch
- bring our beloved xine_t * back (no more const there) - remove const on some input plugin functions where the data changes with media (dvd, ...) changes and is therefore not const CVS patchset: 2740 CVS date: 2002/09/22 14:29:40
2002-09-20another bit of language display tweakingMichael Roitzsch
CVS patchset: 2720 CVS date: 2002/09/20 13:24:53
2002-09-19- memset not needed any moreMichael Roitzsch
- tweak language output CVS patchset: 2708 CVS date: 2002/09/19 11:23:40