summaryrefslogtreecommitdiff
path: root/src
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.
2010-07-21Advance buffer pointer after readMatthias Drochner
In dvd_input.c:file_read(), if the read is not done in a single access, the buffer pointer doesn't get advanced so that the second read overwrites the data of the first. I actually don't remember under which circumstances this could happen, but the flaw in the code is obvious. The patch is from NetBSD's pkgsrc, and this patch is attributed to an "unnamed contributor" in the CVS log.
2010-07-21Normalize timevalMatthias Drochner
In demux_loop(), a time value is calculated by adding to the fractional part. In case a second barrier is crossed, the value is not in its canonical form anymore - the fractional part is larger than 10^9-1. It should be normalized for portability. While I haven't found a formal requirement for this in POSIX, NetBSD's libpthread checks for it and complains.
2010-07-20Missing mutex initMatthias Drochner
2010-07-19Fix a few small memory leaks.Darren Salt
2010-07-19Fix a potential freeing of unallocated memory.Darren Salt
2010-07-19Explicitly report unhandled codecs (in Matroska).Darren Salt
2010-07-15Change order of locking drawable and frame output callback to avoid deadlock.Reinhard Nißl
Recently I've posted a patch for xine-ui which uses a timed lock to avoid a deadlock when the output callback happens while changing the drawable. It is possible to avoid this deadlock at all by moving the drawable lock (and the reinit call which it is not necessary for the callback) after the callback. As a result the mentioned patch for xine-ui may be reverted.
2010-07-15Fix locking order of drawable and display to avoid deadlock.Reinhard Nißl
It is known to everyone that locking serveral resources requires a consistent order on all places where these resources are required. Otherwise a deadlock will happen.
2010-07-12Avoid X11 error bad drawable when drawable changes while displaying.Reinhard Nißl
At least two threads operate on the drawable -- the video output thread and the xine-ui gui thread. When xine-ui changes the drawable while the output thread is displaying a frame it is likely that the video output thread triggers the X11 error bad drawable. Usually XLockDisplay() is used to synchronize these threads but it causes too much impact and should only be used to implement short atomic operations. In this case scheduling two fields of a frame for displaying may take at least one field duration which is quite a long time. Therefore a separate mutex is used for synchronizing those threads.
2010-07-08Set default volume value at init time (pulseaudio)Lorenzo Desole
2010-07-17"Configuration loaded" log item.Darren Salt
2010-06-23disable debug logChristophe Thommeret
2010-06-23fix vc1 regressionChristophe Thommeret
2010-06-22fix vc1 advanced profile in mkv.Christophe Thommeret
2010-06-15fix max_dpb_countJulian Scheel
2010-06-14Merge from 1.1.Darren Salt
--HG-- rename : include/xine.h.in => include/xine.h rename : po/libxine1.pot => po/libxine2.pot
2010-06-13celanup debug printJulian Scheel
2010-06-13require at least 5 frames being marked progressive before switching to ↵Julian Scheel
progressive mode
2010-06-13fix reference markingJulian Scheel
- only mark pictures as reference for vdpau, where actually the slice nals are used for reference
2010-06-13fix debug outputJulian Scheel
2010-06-13fix typo in interlaced/progressive detectionJulian Scheel
2010-06-13fix debug outputJulian Scheel
2010-06-13improve interlaced/progressive detectionJulian Scheel
- only detect before drawing and only once per image insted per field
2010-06-13limit dpb sizeJulian Scheel
- never exceed hard limit of 16 frames in dpb - use max_dec_frame_buffering parameter when set
2010-06-12fix possible segfault in broken streamsJulian Scheel
2010-06-12interlaced/progressive detectionJulian Scheel
implemented a proper detection of interlaced/progressive content to enable deinterlacing only when needed
2010-06-12fix double free of dangling_imgJulian Scheel
2010-06-12fix decoded_picture leakJulian Scheel
wrong list was referenced in dpb_free_all, when clearing the reference picture list. this caused reference pictures not to be freed when stopping
2010-06-12fix field coded contentJulian Scheel
- discard field pairs, when only one field is available (ie at start of stream) - fix tff marking
2010-06-12rewrite vo_frame_t handling for field coded contentJulian Scheel
- fix tff marking - make code easier to read
2010-06-11rework of decoded picture bufferJulian Scheel
- the dpb is using two xine_lists now to manage reference pictures and pictures delayed for output - take VUI num_reorder_frames into account to buffer just as many frames as needed - cleanup reference counting for decoded pictures
2010-05-27vdpau mpeg4 fixes.Christophe Thommeret
2010-05-22mpeg4-part2 vdpau decoder. Set to low priority (too much buggy yet).Christophe Thommeret
2010-05-22Recognise and handle the WebM container format.Darren Salt
Currently, just treat it exactly as if it were Matroska.
2010-05-21Check for mpeg4-part2 vdpau hardware support.Christophe Thommeret
2010-05-21Bitstream buffers overflow prevention in vdpau decoders.Christophe Thommeret
2010-05-21Separate options for SD and HD vdpau deint.Christophe Thommeret
2010-05-14Implemented decoding of objects larger than 64kbPetri Hintukainen
2010-05-14object id is uint16_tPetri Hintukainen
2010-05-14cosmetics (removed tabs, ...)Petri Hintukainen
removed unused code added enum for segment type added missing lf's to log strings
2010-05-10Add an option to configure VDPAU deinterlace filter for SD content.Christophe Thommeret
2010-04-27vdpau: properly unlock the display in preemption reinit.Christophe Thommeret
--HG-- extra : rebase_source : 74bbd9ee7e0732ce16838356a666a07c9a44acd4
2010-04-24fix previous commit, it discared frames too earlyJulian Scheel
2010-04-24fix dpb overflow handlingJulian Scheel
2010-04-17VDPAU VC1: fixes field interlace refframes + skipped frames.Christophe Thommeret
2010-04-09skip stuffing bytesJulian Scheel
properly skip the emulation_prevention_three_byte in the bitstream, which fixes some glitches which could happen whenever such a stuffing byte was in one of the parsed sections
2010-04-09fix freeze on discontinuities/seekingJulian Scheel
completely reinitialise the h264 parser to avoid messup in the dpb which causes unnecessarily long img-locks, that might cause freezes
2010-04-08Add two new VO_CAP_*: SHARPNESS and NOISE_REDUCTION. Fix vdpau VO driver caps.Christophe Thommeret
2010-04-08Merge from 1.1.Darren Salt
--HG-- rename : include/xine.h.in => include/xine.h rename : src/xine-engine/video_out.h => include/xine/video_out.h