summaryrefslogtreecommitdiff
path: root/src/input/input_plugin.h
AgeCommit message (Collapse)Author
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2008-06-20Ask the input plugin which demuxer to use.Darren Salt
This overrides the normal content/extension detection, but can be overridden by the user. This is an input plugin API extension; ABI is unchanged. The version is not bumped (we can't bump it due to 1.2).
2008-06-20Allow input plugins to report MIME types as optional data. Implement for http.Darren Salt
This is an input plugin API extension; ABI is unchanged. The version is not bumped (we can't bump it due to 1.2).
2008-05-07Simplify MRL_FREE and MRL_DUPLICATE macros.Diego 'Flameeyes' Pettenò
There is no need to check if a pointer is not NULL before freeing it, so just call free() during MRL_FREE. During duplication, always prefer freeing and recreating to reallocating, as that would probably take more time than would actually be needed to allocate a new memory area. Also, most likely the duplication will happen on a new instance.
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-02[PATCH] Remove packet count from demux_ts, to remove a long delaySimon Farnsworth
The attached patch applies after my logging patches (I can regenerate if needed). demux_ts attempted to read packets from the input 200 times before giving up. When playing a local file, this is harmless, as it will hit EOF 200 times; however, input_dvb waits 5 seconds for packets on each call to read, resulting in a 1000 second delay if tuning fails. Remove the counting of input packets, and add a comment to read() in input_plugin.h, to indicate that we expect inputs to try and return some data when read() is called. This fixes the delay, and makes it clear to future maintainers that they shouldn't expect to loop like this. -- Simon Farnsworth
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-22Removed INPUT_CAP_NOCACHE.Claudio Ciccani
CVS patchset: 8432 CVS date: 2006/12/22 16:38:15
2006-12-18Added INPUT_CAP_NOCACHE: disable usage of internal input cache by default.Claudio Ciccani
CVS patchset: 8421 CVS date: 2006/12/18 21:22:45
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-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-09-26 - almost finalize headers refactoring needed for MSVC frontends (and for otherFrantišek Dvořák
poor platforms, of course) - fix a bug in generated xine-config for WIN32 and make it relocateable under Windows - MSVC port: update, fix some warnings, remove old unneeded files - improve function for getting runtime directory, it will need next fix yet (bug probably due to active volume drives) CVS patchset: 7001 CVS date: 2004/09/26 22:54:51
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
2003-12-14API version bounceSiggi Langauf
CVS patchset: 5912 CVS date: 2003/12/14 22:13:22
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-11-23Implement seek timeout in RIP and drop input capability INPUT_CAP_SLOW_SEEK.František Dvořák
Check for seek success in mp3 and avi demuxers. CVS patchset: 5775 CVS date: 2003/11/23 23:20:56
2003-10-13Don't find out id3 info in mp3 files saved by RIP from non-seekable inputs.František Dvořák
CVS patchset: 5507 CVS date: 2003/10/13 14:52:53
2003-08-21RIP Input PluginMiguel Freitas
CVS patchset: 5300 CVS date: 2003/08/21 00:37:26
2003-07-03cleaning up; removing unused stuffMarco Zuehlke
CVS patchset: 5124 CVS date: 2003/07/03 00:58:51
2003-05-20public header cleanup:Michael Roitzsch
* regulate mutual inclusion based on XINE_COMPILE * src/xine-engine/spu_decoder.h was unused -> make it the spu decoder API header and remove src/libspudec/spu_decoder_api.h * mark some xine_stream_t members as unused for next cleanup CVS patchset: 4883 CVS date: 2003/05/20 13:50:55
2003-04-26bump up input plugin interface version numberGuenter Bartsch
CVS patchset: 4692 CVS date: 2003/04/26 22:34:31
2003-04-13Input plugin api change:Thibaut Mattern
old open() function replaced by : *_class_get_instance() : return an instance if the plugin handles the mrl *_plugin_open() : open the stream CVS patchset: 4598 CVS date: 2003/04/13 16:02:53
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-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-01-31- MAX_PREVIEW_SIZE = 4096Miguel Freitas
- new fb driver with zero copy CVS patchset: 4058 CVS date: 2003/01/31 14:06:03
2002-12-29remove old hack for sputextMichael Roitzsch
CVS patchset: 3719 CVS date: 2002/12/29 16:48:34
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-15try to fix function descriptionsGuenter Bartsch
CVS patchset: 3552 CVS date: 2002/12/15 22:58:47
2002-12-15Remove some vagueness decribing plugin routines. For example that theRocky Bernstein
units "length" returns is bytes, and elaborate on what "input" means with examples. Describe some idea of how some of the input routines are used. CVS patchset: 3551 CVS date: 2002/12/15 22:18:09
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-18getting rid of obviously obsolete INPUT_CAP_VARIABLE_BITRATEMichael Roitzsch
CVS patchset: 3289 CVS date: 2002/11/18 11:36:28
2002-11-17bring eject back: no eject function if the plugin does not support itMichael Roitzsch
CVS patchset: 3281 CVS date: 2002/11/17 17:48:47
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-21document INPUT_CAP_CHAPTERSMichael Roitzsch
CVS patchset: 2898 CVS date: 2002/10/21 12:57:51
2002-10-20provide some documentation of input plugin capabilitiesGuenter Bartsch
CVS patchset: 2892 CVS date: 2002/10/20 22:35:33
2002-10-17move open_plugin function (used to create new plugin instances) from the ↵Michael Roitzsch
plugin info struct to the plugin class struct small nerby change in libffmpeg decoder plugin: access to video_out/audio_out in decoders should now be done via the appropriate members in xine_stream_t CVS patchset: 2843 CVS date: 2002/10/17 17:43:41
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-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-06introduce "const"Michael Roitzsch
fix some input plugins that would not copy the mrl on open CVS patchset: 2623 CVS date: 2002/09/06 18:13:10
2002-09-05remove plugin's private priority and interface membersMichael Roitzsch
adapt some more decoders CVS patchset: 2618 CVS date: 2002/09/05 22:18:50
2002-09-05use xine_mrl_t instead of mrl_t in input plugins, implement more configfile ↵Guenter Bartsch
functions CVS patchset: 2615 CVS date: 2002/09/05 20:19:48
2002-07-17Apply Bill Fink's patch for skip by chapter capability.Daniel Caujolle-Bert
CVS patchset: 2308 CVS date: 2002/07/17 21:23:57
2002-07-05Bump up version numbers due to changes in xine_tMichael Roitzsch
CVS patchset: 2214 CVS date: 2002/07/05 17:31:59
2002-05-25patch from Michael Roitzsch:Siggi Langauf
increased interface version numbers, to reflect the xine_t change CVS patchset: 1939 CVS date: 2002/05/25 19:19:16
2002-04-23Increment audio/video/spu decoder and input plugin API version numberEwald Snel
- update dxr3 and xvid plugins to new interface (add dispose() functions) CVS patchset: 1766 CVS date: 2002/04/23 15:45:19
2002-04-23Fix memory leaks by disposing input, demux and decoder plugins at exitEwald Snel
- add dispose() function to all decoder plugin structures CVS patchset: 1763 CVS date: 2002/04/23 13:30:42
2002-04-11Add an INPUT_CAP_PREVIEW mode.James Courtier-Dutton
This tells the demuxers if the input plugin can handle preview testing. Most plugins which are seekable can handle it. The current exception to this is the xine-dvdnav plugin which is seekable but not previewable due to DVDs having still pictures which stall the preview testing. CVS patchset: 1710 CVS date: 2002/04/11 22:27:11