summaryrefslogtreecommitdiff
path: root/src/xine-engine/buffer.c
AgeCommit message (Collapse)Author
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.
2006-12-25Fix a grammar error, and mark the error message for translation.Diego 'Flameeyes' Pettenò
CVS patchset: 8458 CVS date: 2006/12/25 21:59:32
2006-06-20Fix generic warnings.Diego 'Flameeyes' Pettenò
CVS patchset: 8063 CVS date: 2006/06/20 00:35:07
2004-03-03use the _x_abort() macro instead of abort, since it prints some debug infoMichael Roitzsch
before aborting CVS patchset: 6211 CVS date: 2004/03/03 20:09:11
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-20"Anti audio fifo null" patch ;)Thibaut Mattern
Makes things a bit more symetric: - the audio fifo (demuxer->decoder) can't be NULL - the video driver can be NULL A dummy fifo (5 buffers) is used if the audio driver or video driver is NULL. Audio frontends (rhythmbox, seedeexeen, quark) do not need to instanciate a video driver anymore. CVS patchset: 5767 CVS date: 2003/11/20 00:42:14
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-10-14Add a callback to the buffer_pool_alloc function.Thibaut Mattern
The goal is to detect in the net_buf_ctrl if there is no more free buffer in a fifo, which indicates there will be a deadlock if the engine is not unpaused. Currently this detection is done from the "put" callback, it's not a safe solution, nothing prevents a demuxer to allocate 2 buffers before calling put(). The impact is low, only one test per buffer_pool_alloc call if no callback is registered. It's done exactly the same way as the put and get callbacks. CVS patchset: 5520 CVS date: 2003/10/14 22:16:32
2003-05-15add broadcasterMiguel Freitas
CVS patchset: 4857 CVS date: 2003/05/15 20:23:16
2003-05-13support multiple callback registrationMiguel Freitas
CVS patchset: 4840 CVS date: 2003/05/13 16:38:04
2003-05-12Better checking for too many buffer free's.James Courtier-Dutton
CVS patchset: 4831 CVS date: 2003/05/12 11:51:18
2003-03-30New net_buf_ctrl.Thibaut Mattern
See xine-devel for details. Basicaly it adds callbacks to fifo, and everything is done at fifo level now. It fixes deadlocks with ogg/ogm streams, pauses the engine at the right time, and evaluates better the length of the data in fifos (using pts when the bitrate is not constant). Enjoy. CVS patchset: 4513 CVS date: 2003/03/30 15:19:45
2003-03-03Remove pthread_cancel() support, these threads are never pthread_cancelledEwald Snel
- only some input plugins (still) have this... old code from xine 0.9.x? CVS patchset: 4325 CVS date: 2003/03/03 07:37:23
2003-02-23New method to get the number of free elements in the pool.Thibaut Mattern
It will be used in net_buf_ctrl to detect if a fifo is full. You need to recompile the whole lib after this patch. CVS patchset: 4265 CVS date: 2003/02/23 19:27:57
2003-02-22fix another situation of not showing still frames: when the video fifo is full,Michael Roitzsch
we won't have any free buffers, so the try_alloc() will fail and the flush is not issued in video_out -> always keep one spare buffer CVS patchset: 4247 CVS date: 2003/02/22 14:12:45
2003-02-08New net_buf_ctrl strategy.Thibaut Mattern
see http://sourceforge.net/mailarchive/forum.php?thread_id=1568239&forum_id=7131 CVS patchset: 4116 CVS date: 2003/02/08 13:52:44
2003-01-26revert, commited by error, thibaut patch ;-)Daniel Caujolle-Bert
CVS patchset: 4017 CVS date: 2003/01/26 23:36:46
2003-01-26fix automake warning. NOTE: nvtv user, can you check if i didn't break ↵Daniel Caujolle-Bert
compilation of this stuff?? CVS patchset: 4016 CVS date: 2003/01/26 23:31:13
2002-12-22flush moved to decoder loop. that simplifies things a lot.Miguel Freitas
new buffer methods to avoid deadlocks doing flush from video_out CVS patchset: 3629 CVS date: 2002/12/22 15:02:06
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-07-17initialize size to avoid simple mistakesMiguel Freitas
CVS patchset: 2305 CVS date: 2002/07/17 18:36:44
2002-07-14make demuxers a bit more "programmer friendly"Miguel Freitas
CVS patchset: 2265 CVS date: 2002/07/14 22:27:24
2002-03-24scr unregister patch from Michael Roitzsch, buffer mem release fix, ↵Guenter Bartsch
xmalloc_aligned cleanup - fb vo plugin needs to be fixed for this one CVS patchset: 1626 CVS date: 2002/03/24 14:15:36
2002-03-12minor corrections and a patch for metronom to make sure it doesn't ↵Guenter Bartsch
compensate drifts forever CVS patchset: 1563 CVS date: 2002/03/12 11:04:06
2002-03-11Use same datatype.Daniel Caujolle-Bert
CVS patchset: 1551 CVS date: 2002/03/11 00:00:08
2002-03-01memleak fixes from ewald snelGuenter Bartsch
CVS patchset: 1535 CVS date: 2002/03/01 09:29:49
2001-11-17Add 'xine_' prefix to all of xine-utils functions (what about cpuDaniel Caujolle-Bert
acceleration?). Merge xine-utils header files to a new one "xineutils.h". Update xine-lib C/headers to reflect those changes. dxr3 headers are no more installed ine $includdir, but $includdir/xine. CVS patchset: 1054 CVS date: 2001/11/17 14:26:36
2001-11-06ASF bugfixes / variable to check for fifo buffer sizeMiguel Freitas
CVS patchset: 971 CVS date: 2001/11/06 21:46:05
2001-10-14Don't waste memory, when buffer_size is alignedJuergen Keil
CVS patchset: 806 CVS date: 2001/10/14 19:20:01
2001-10-14buffer alloc alignment patch by Kyle Centers <kcent@programmer.net>Guenter Bartsch
CVS patchset: 803 CVS date: 2001/10/14 17:37:59
2001-10-10Add a fifo_buffer function to query the number of the elements stored in aJuergen Keil
fifo buffer (for a dvdnav optimization) CVS patchset: 786 CVS date: 2001/10/10 10:54:48
2001-09-05miguel's latest patchesGuenter Bartsch
CVS patchset: 567 CVS date: 2001/09/05 16:02:29
2001-08-12cancel demux thread on xine_stop instead of pthread_join to prevent hangGuenter Bartsch
CVS patchset: 415 CVS date: 2001/08/12 15:12:54
2001-07-03chasing more races..Guenter Bartsch
CVS patchset: 242 CVS date: 2001/07/03 21:25:03
2001-05-24first sloppy frames and audioGuenter Bartsch
CVS patchset: 78 CVS date: 2001/05/24 15:31:30
2001-04-30fixed a buffer pool bug and inserted more log messagesGuenter Bartsch
CVS patchset: 49 CVS date: 2001/04/30 21:55:26
2001-04-24fixed buffer.c and more cleanupsGuenter Bartsch
CVS patchset: 19 CVS date: 2001/04/24 15:47:32
2001-04-18Initial revisionDaniel Caujolle-Bert
CVS patchset: 1 CVS date: 2001/04/18 22:33:39