summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_elem.c
AgeCommit message (Collapse)Author
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
The xine_xmalloc() function is going to be deprecated, as its behaviour is rarely needed as such, and it's thus misused. With this, almost all uses of xine_xmalloc() with static size (for instance the value returned by sizeof()) or with a size that is guaranteed not to be zero (like strlen()+1) are replaced with calls to either calloc(1, ...) or malloc(). malloc() is used whenever the allocated memory is going to be immediately overwritten, while calloc() is used in every other case, as it sets the whole memory area to zero. --HG-- extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
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-02-20Fix a lot of format warnings in lprintf calls (mostly %ldd -> %"PRId64").Diego 'Flameeyes' Pettenò
CVS patchset: 8608 CVS date: 2007/02/20 00:34:55
2007-01-19Make get_description get_identifier get_extensions get_mimetypes return a ↵Diego 'Flameeyes' Pettenò
constant string, and make the extensions and mrl vaiables usually declared when testing extension demux strategy constants too. CVS patchset: 8523 CVS date: 2007/01/19 00:26:39
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-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
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-02-06Added node_plugin_t pointer to the demux struct.Thibaut Mattern
Incremented demux API version. This is needed to unload plugins. CVS patchset: 7385 CVS date: 2005/02/06 15:26:00
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-16Priority support.Thibaut Mattern
0 for "raw" demuxers 10 for "normal" demuxers CVS patchset: 6553 CVS date: 2004/05/16 18:01:26
2004-05-14trying to fix overly enthusiastic elem demuxerMichael Roitzsch
CVS patchset: 6536 CVS date: 2004/05/14 13:31:49
2004-05-10- remove dirty hack from the Program stream demuxer, and look deeper for aBastien Nocera
header when using the Elementary stream demuxer Hopefully that didn't break anything ;) CVS patchset: 6513 CVS date: 2004/05/10 11:24:28
2004-01-12it seems i forgot to commit the api increase (demux/decoder). weird.Miguel Freitas
CVS patchset: 6030 CVS date: 2004/01/12 17:35:14
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
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-15change demux api:Miguel Freitas
- demuxers should not access stream->demux_thread_running - remove deprecated get_video_frame/got_video_frame_cb CVS patchset: 5732 CVS date: 2003/11/15 14:00:35
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-10-30use info_helper functions.Thibaut Mattern
CVS patchset: 5638 CVS date: 2003/10/30 00:49:07
2003-08-10apply Frantisek patches to handle end of streams betterMiguel Freitas
CVS patchset: 5267 CVS date: 2003/08/10 16:03:21
2003-07-25small housekeeping: demuxer api seeks in milisecondsMiguel Freitas
CVS patchset: 5211 CVS date: 2003/07/25 21:02:04
2003-07-16more cleanup; remove unused variables; use lprintfMarco Zuehlke
CVS patchset: 5167 CVS date: 2003/07/16 00:52:45
2003-07-03cleaning up; removing unused stuffMarco Zuehlke
CVS patchset: 5127 CVS date: 2003/07/03 12:35:18
2003-05-19oups, stupid me !Thibaut Mattern
fix segfault with xine logo remove unneeded assert CVS patchset: 4879 CVS date: 2003/05/19 23:31:07
2003-05-19use demux helper for content detectionThibaut Mattern
use read_block (sync with OrT) CVS patchset: 4876 CVS date: 2003/05/19 20:24:14
2003-04-26bumping up demux plugin interface version numbers, update copyright noticesGuenter Bartsch
CVS patchset: 4691 CVS date: 2003/04/26 20:15:52
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
2003-01-04add 2 demuxer groups (audio and games) with multiple plugins at theMiguel Freitas
same shared library (reduce loading time). demuxer api increased so old ungrouped plugins won't be loaded. Bill Fink patch to enable playback of live rawdv streams. obs: non-regular files are now supposed non-seekable. CVS patchset: 3771 CVS date: 2003/01/04 14:48:11
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-20log outputGuenter Bartsch
CVS patchset: 3599 CVS date: 2002/12/20 22:57:48
2002-12-08- get xine_demux_control_headers_done() out of the demuxers.Miguel Freitas
i want to make sure we have a 1:1 mapping of sending and waiting for BUF_CONTROL_HEADERS_DONE.) - bring asf demuxer into a saner state when seeking. that fixes the problem of wrong audio pts and hanging audio_out on huge sleeps (at least for asf). CVS patchset: 3465 CVS date: 2002/12/08 21:43:50
2002-11-28Extended demuxer API with the methods get_capabilities() and ↵Peter Liljenberg
get_optional_data(). Bumped API version to 18. Added calls to these methods in xine_get_{spu,audio}_lang(). Added DVBSUB support in demux_ts.c CVS patchset: 3386 CVS date: 2002/11/28 10:21:05
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-11BUF_FLAG_PREVIEW was not used in preview mode.Thibaut Mattern
CVS patchset: 3242 CVS date: 2002/11/11 22:33:00
2002-11-09beginnings of the get_video/audio_frame apiGuenter Bartsch
CVS patchset: 3215 CVS date: 2002/11/09 23:22:32
2002-11-01new content detection method METHOD_EXPLICIT for demuxer given in MRLMichael Roitzsch
CVS patchset: 3126 CVS date: 2002/11/01 17:41:02
2002-10-29meta info, handling of small files fixedGuenter Bartsch
CVS patchset: 3081 CVS date: 2002/10/29 01:28:41
2002-10-29fix content detection, handles non-seekable streamsGuenter Bartsch
CVS patchset: 3077 CVS date: 2002/10/29 00:25:06
2002-10-28hey, i want to join xine breakage party! (what do you wanna break today? tm)Miguel Freitas
- time to cleanup demuxer mess... no more pthread stuff on any demuxer. of course i haven't tested all demuxers, but they at least compile. (sorry Mike, we will need to move a few variables around to make most of your demuxers work again - not big deal i think) - make api more consistent by providing xine_open/xine_close and xine_start/xine_stop. CVS patchset: 3058 CVS date: 2002/10/28 03:24:42
2002-10-27bring the elementary MPEG stream demuxer in line with the latest APIMike Melanson
revision CVS patchset: 3039 CVS date: 2002/10/27 04:14:27
2002-10-26make demuxers return their status so xine engine can check if demuxers fail ↵Guenter Bartsch
to send headers CVS patchset: 3026 CVS date: 2002/10/26 22:00:49
2002-10-12While the demuxer mutex is unlocked, relinquish the processor in the mainJuergen Keil
demuxer loop, otherwise (on solaris) demux_*_stop() has no chance to lock the mutex and change the demuxer status variable for interrupting the demuxer. Fixes xine_stop() problems on solaris. CVS patchset: 2815 CVS date: 2002/10/12 17:11:58
2002-09-18first steps towards implementing stream/meta infoGuenter Bartsch
CVS patchset: 2680 CVS date: 2002/09/18 00:51:33
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-04merging in the new_api branch ... unfortunately video_out / vo_scale is ↵Guenter Bartsch
broken now ... matthias/miguel: please fix it :-) CVS patchset: 2606 CVS date: 2002/09/04 23:31:05
2002-07-14make demuxers a bit more "programmer friendly"Miguel Freitas
CVS patchset: 2265 CVS date: 2002/07/14 22:27:24
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-06-12Remove no more needed XINE_LOGO.Daniel Caujolle-Bert
Internationalize all config related stuff. Fix not registered mrl ending in roq/film demuxer. Add bindtextdomain() calls in load_plugins (for audio/video out plugins). CVS patchset: 2066 CVS date: 2002/06/12 12:22:25
2002-06-07- demuxer cleanup (helper functions)Miguel Freitas
- endianness fixes/cleanups (fix asf demuxer/audio for bigendian) - xine_waveformatex - increased demuxer plugin version CVS patchset: 2028 CVS date: 2002/06/07 02:40:46