Age | Commit message (Collapse) | Author |
|
|
|
--HG--
extra : transplant_source : %B5%96xd%99U%EC%7Cr%ABB%A8%26l%08%99L3o%F6
|
|
Use the proper function for common memory operations (memset() for
zeroing, memcpy() for copying, memmove() for moving), instead of
looping through arrays.
By extension, remove loops to reset arrays when they were allocated
with calloc() and thus already zeroed.
|
|
|
|
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
|
|
Functions and data structures that are not exported and are only ever
used in the same unit they are defined should be marked static to
improve compiler's ability to optimise them.
This applies to xine_dispose_internal() function for xine-lib, the
extended_to_int() function in the AIFF demuxer, the bandwidths array
in QuickTime demuxer, the wc_pal_lookup table in the WC3 movie
demuxer, and the rm_header and pnm_data_header arrays in pnm input
plugin.
|
|
|
|
Ref. http://aluigi.altervista.org/adv/xinehof-adv.txt
|
|
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
Solaris definitions.
|
|
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
|
|
Fixed seeking problem reported by the testsuite (segfault).
Problem was easy to reproduce :
press play, wait 5s
seek back to the beginning
seek to the end
CVS patchset: 7686
CVS date: 2005/07/26 22:10:40
|
|
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
|
|
CVS patchset: 6128
CVS date: 2004/02/09 22:24:36
|
|
- 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
|
|
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
|
|
CVS patchset: 5796
CVS date: 2003/11/26 19:43:26
|
|
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
|
|
- 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
|
|
CVS patchset: 5729
CVS date: 2003/11/13 15:23:00
|
|
CVS patchset: 5721
CVS date: 2003/11/11 18:44:50
|
|
CVS patchset: 5657
CVS date: 2003/10/31 22:56:21
|
|
CVS patchset: 5622
CVS date: 2003/10/27 23:23:29
|
|
CVS patchset: 5575
CVS date: 2003/10/23 05:18:59
|
|
fft*post are untouched (fft: for now).
CVS patchset: 5310
CVS date: 2003/08/25 21:51:37
|
|
CVS patchset: 5211
CVS date: 2003/07/25 21:02:04
|
|
CVS patchset: 5167
CVS date: 2003/07/16 00:52:45
|
|
CVS patchset: 4691
CVS date: 2003/04/26 20:15:52
|
|
CVS patchset: 4632
CVS date: 2003/04/17 19:01:23
|
|
CVS patchset: 4246
CVS date: 2003/02/22 14:06:47
|
|
CVS patchset: 4240
CVS date: 2003/02/22 01:38:10
|
|
CVS patchset: 3943
CVS date: 2003/01/17 16:52:33
|
|
CVS patchset: 3851
CVS date: 2003/01/10 11:57:15
|
|
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
|
|
CVS patchset: 3627
CVS date: 2002/12/22 04:00:51
|
|
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
|
|
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
|
|
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
|
|
* 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
|
|
CVS patchset: 3215
CVS date: 2002/11/09 23:22:32
|
|
CVS patchset: 3126
CVS date: 2002/11/01 17:41:02
|
|
CVS patchset: 3121
CVS date: 2002/11/01 03:36:24
|
|
CVS patchset: 3104
CVS date: 2002/10/31 02:22:58
|
|
- 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
|
|
CVS patchset: 3042
CVS date: 2002/10/27 16:14:22
|
|
to send headers
CVS patchset: 3026
CVS date: 2002/10/26 22:00:49
|
|
CVS patchset: 2944
CVS date: 2002/10/23 01:32:27
|
|
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
|
|
moved to bswap.h
CVS patchset: 2794
CVS date: 2002/10/06 03:48:13
|