summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.c
AgeCommit message (Collapse)Author
2010-07-21Add _POSIX_THREAD_PRIORITY_SCHEDULING #ifdefsMatthias Drochner
This is optional, and some systems don't support it. POSIX defines the _POSIX_THREAD_PRIORITY_SCHEDULING to tell that support is present.
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-02-09Fix race conditions in gapless_switch (ref. kde bug #180339)Miguel Freitas
2007-04-15Increase priority of video decoder a little bit, to avoid frameReinhard Nißl
drops. When a video out device provides only a little number of video frames, the video decoder should be scheduled immediately to provide a decoded frame as soon as possible. Otherwise, the number of available frames for displaying may go below frame drop limit and thus resulting in unnecessary frame drops. (transplanted from 33960e92decd90e6010d904476f9d45b1173153a) --HG-- extra : transplant_source : 3%96%0E%92%DE%CD%90%E6%01%0D%90Dv%F9%D4%5B%11s%15%3A
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
2006-12-03should fix bug reported by Christophe Thommeret where avi+subtitlesxine-1_1_3-release1.1.3Miguel Freitas
(actually master/slave streams) could cause demux to get into an endless loop. CVS patchset: 8401 CVS date: 2006/12/03 19:23:16
2006-09-08handle thread creation and memory allocation failures more gratefullyMiguel Freitas
thanks Daniel Derrett for the patch CVS patchset: 8209 CVS date: 2006/09/08 21:11:29
2005-10-30gapless playback stream switching supportMiguel Freitas
CVS patchset: 7784 CVS date: 2005/10/30 02:18:35
2005-08-25*BUGFIX*František Dvořák
Windows ports fixes and improvements due to my current work on toxine: - first experiments with external win32 pthreads, more portable code (pthread_t may be a struct) - headers refactored - moved dirent win32 replacement to lib/, hide it for frontends, used system version, if found, not used non-POSIX dirent->d_reclen (this item doesn't work in MinGW), fix memleak in dvb - separated settings for postproc and avcodec when using external ffmpeg - check for malloc.h in public xine.m4, used it conditionally in xine headers - replaced random() by POSIX more common rand() - prevent one segfault in directx vo plugin, if fails - M$VC port update CVS patchset: 7709 CVS date: 2005/08/25 15:36:29
2005-04-19**BUGFIX**Bastien Nocera
Send the XINE_EVENT_UI_CHANNELS_CHANGED UI event when SPU, or audio channels are added CVS patchset: 7468 CVS date: 2005/04/19 17:42:29
2005-02-13reverting private changes - sorry...Stefan Holst
CVS patchset: 7412 CVS date: 2005/02/13 22:14:17
2005-02-13nitpick: reset MAX_AUDIO_CHANNEL and MAX_SPU_CHANNEL together with other ↵Stefan Holst
stream info in xine_close CVS patchset: 7411 CVS date: 2005/02/13 22:12:50
2004-12-16use UTF-8 meta info setting, where we know the string is ASCIIMichael Roitzsch
(costly conversion is not necessary, because ASCII is a subset of UTF-8) CVS patchset: 7264 CVS date: 2004/12/16 13:58:57
2004-12-12huge patch ahead: reorganizing config entries with automatic conversionMichael Roitzsch
and backwards compatible translation Sorry, I got a litte tired proof-reading the patch, so their might be bugs lurking around. I will give it some further examination and (as necessary) fixing tomorrow. CVS patchset: 7233 CVS date: 2004/12/12 22:00:47
2004-12-11Czech translation update. 100% of the messages after long time, yes! :-)František Dvořák
Fix a typo in two original messages (please correct, if I'm wrong), reflect it in de.po too. CVS patchset: 7222 CVS date: 2004/12/11 23:18:00
2004-10-27flush on end of streamMiguel Freitas
CVS patchset: 7080 CVS date: 2004/10/27 16:41:34
2004-10-14Implemented stream_t reference counter idea.Thibaut Mattern
See these two threads: http://thread.gmane.org/gmane.comp.video.xine.devel/10819 http://thread.gmane.org/gmane.comp.video.xine.devel/10424 Fixed _x_handle_stream_end __stop_internal race. See this thread: http://thread.gmane.org/gmane.comp.video.xine.devel/10818 If the lib is broken after this patch, you know who to blame ;-) CVS patchset: 7036 CVS date: 2004/10/14 23:25:24
2004-07-06fix a long standing bug: streams were not played till their very end, becauseMiguel Freitas
finished event was sent to frontend before the output fifos were empty. add a test for the number of streams attached to the output port. this will prevent deadlocking on multi-streams scenarios where fifos don't ever get empty. CVS patchset: 6777 CVS date: 2004/07/06 22:53:22
2004-04-26help strings added for all remaining config entries (so I hope)Michael Roitzsch
please everybody watch out for spelling (and other) errors CVS patchset: 6442 CVS date: 2004/04/26 17:50:06
2004-04-08make that a define to improve maintainabilityxine_1-rc3c-release1-rc3cMichael Roitzsch
CVS patchset: 6350 CVS date: 2004/04/08 13:37:54
2004-04-08Degrease jerking with OGM subtitles.František Dvořák
CVS patchset: 6348 CVS date: 2004/04/08 11:10:10
2004-04-07Michael's patch for improving playback with subtitles, fix the long seeking.František Dvořák
CVS patchset: 6342 CVS date: 2004/04/07 18:10:20
2004-03-28move the ticket acquire/release deeper inside the decoder loopsMichael Roitzsch
(buf->free_buffer() for example must not be called with a ticket held, since it can block, when the demuxer triggered nbc, which will occupy the fifo lock) CVS patchset: 6312 CVS date: 2004/03/28 19:51:56
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
2004-02-12big commit of the new ticket system to protect the rewiring and moreMichael Roitzsch
(as discussed on xine-devel, slightly improved to block acquires from different threads between atomic revoke and issue) * xine_ticket_t is declared in xine_internal.h and implemented in xine.c * the ticket is acquired for (hopefully) all port operations (no modifications to decoders needed, decoder loop does this) * the ticket is revoked on pausing and on rewiring * OSD does not store the port pointer any more (which was very dangerous, since the pointer can change on rewire) CVS patchset: 6137 CVS date: 2004/02/12 18:19:00
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
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
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
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-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-16actually not every engine file uses internals, so we do not need to defineMichael Roitzsch
XINE_ENGINE_INTERNAL for every file CVS patchset: 5753 CVS date: 2003/11/16 15:41:15
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-07-27- removed xine-engine/locale.c as it is unused, fix static functions in theBastien Nocera
engine and the utils, removed unused variables CVS patchset: 5219 CVS date: 2003/07/27 12:47:23
2003-06-22some additional pthread_*_destroy() callsMichael Roitzsch
(based on the implementation, this might fix memleaks on some platforms, although I doubt that this is the case here) CVS patchset: 5091 CVS date: 2003/06/22 17:10:41
2003-04-27fixing selection of spu titlesAndreas Heinchen
CVS patchset: 4698 CVS date: 2003/04/27 15:56:45
2003-04-02- remove unneeded use of pthread_exit(NULL). We do not have any cleanupBastien Nocera
handlers, so we can just use "return NULL" instead. CVS patchset: 4533 CVS date: 2003/04/02 12:28:08
2003-03-25- allow on-the-fly rewiring of streams outputMichael Roitzsch
- add missing destruction of some pthread structs - do not init streams_lock twice CVS patchset: 4479 CVS date: 2003/03/25 12:52:32
2003-03-07workaround buggy pthread implementations with a timedwaitMiguel Freitas
(thanks Ewald) CVS patchset: 4358 CVS date: 2003/03/07 15:29:30
2003-03-06- less verbosity, thanks GuenterBastien Nocera
CVS patchset: 4349 CVS date: 2003/03/06 23:30:36
2003-02-21make number of video buffers user-configurableGuenter Bartsch
CVS patchset: 4223 CVS date: 2003/02/21 01:13:55
2003-02-18sorry, private modifications...Michael Roitzsch
CVS patchset: 4196 CVS date: 2003/02/18 18:38:55
2003-02-18fix problem with not appearing still frames on DVDsMichael Roitzsch
(detailed problem description: since the flush is asynchroneous now and stillframes will only show up, when flushed out of libmpeg2, problems arise on stills with audio, where the video decoder waits for an audio discontinuity, which is all the way down on the bottom of the audio fifo; video_out can now put flush requests on the video fifo, but they won't get processed) CVS patchset: 4194 CVS date: 2003/02/18 18:35:02
2003-02-16bigger buffers for smoother playbackGuenter Bartsch
CVS patchset: 4174 CVS date: 2003/02/16 19:55:16
2003-02-01adding flush-mode so seek() and play() work for video processing (enix)Guenter Bartsch
CVS patchset: 4080 CVS date: 2003/02/01 19:22:30
2003-01-14move default handled flag to xine.c. this fixes false alarm with -A null.Miguel Freitas
CVS patchset: 3909 CVS date: 2003/01/14 00:10:28
2003-01-09- can't use HAS_VIDEO/HAS_AUDIO at this stage because some demuxers will onlyMiguel Freitas
set it on send_headers. also daniel convinced me that xine does "handle a no audio stream" - fix audio_out.c to abort filling with zero on seeking/stop/quit. CVS patchset: 3840 CVS date: 2003/01/09 02:44:39
2003-01-09handled/unhandled fixes. now it should work for dvd too.Miguel Freitas
CVS patchset: 3839 CVS date: 2003/01/09 01:09:57
2003-01-08fixes/cleanups of the handled/unhandled codecsMiguel Freitas
for more information see message on xine-devel CVS patchset: 3818 CVS date: 2003/01/08 01:02:27
2002-12-31kill unused variableMichael Roitzsch
CVS patchset: 3734 CVS date: 2002/12/31 11:35:14