summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-09-14Protected access to stream->demux_action_pendingIan Rae
The deadlock was caused by the unprotected use of stream->demux_action_pending internal variable from play_internal() and from within the demuxer loop. Direct access to demux_action_pending is replaced with _x_action_raise() and _x_action_lower(), which use a mutex for thread safety.
2010-02-12Clip the atom size to that remaining *before* testing whether it's too small.Darren Salt
This fixes a segfault which may occur when playing an MPEG4 stream.
2010-02-07Compiler warning fixes.Darren Salt
2010-02-06Minor cleanup (loop conversion, printf args).Darren Salt
2010-02-06Fix leakage of vo_frame_t on reset/flush/disposeJulian Scheel
If a decoded_pic was locally cached, because it is the first half of a reference picture it would not get freed in case of a reset/flush/dispose.
2010-02-06Fix segfault on disposeJulian Scheel
In case of an empty nal_buffer the free method would run into a NULL pointer. Check for this.
2010-02-06Merge from 1.1.Darren Salt
--HG-- rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c
2010-02-06libv4l check shouldn't fail & abort unless --enable-libv4l is given.Darren Salt
2010-02-05Fix testing for DVB support.Darren Salt
2010-02-05Fix freeze/crash on seekingJulian Scheel
When the parser was reset it did not forget about the last pts, which might cause metronom to freeze. On flush the cached vo_frame_t was kept in case the previously decode produced a 1st field and the decoder was waiting for 2nd field now. As on flush all images are released after drawing this could point to a invalid vo_frame_t
2010-02-04Extend Ogg metadata handling.Darren Salt
2010-02-04Work around an ffmpeg SVQ3 bug; check for avcodec_thread_init failure.Darren Salt
2010-02-04Fix a ticket-related memory leak.Darren Salt
2010-02-03Remove pointless output from stats logging; make the const variables static.Darren Salt
2010-02-03Kill a "missing return" warning.Darren Salt
2010-01-30Fix dvdnav map file closure.Darren Salt
2010-01-30Merge with xine-lib-1.2Julian Scheel
2010-01-30fix a memleak with interlaced contentJulian Scheel
some minor cleanups
2010-01-30Add dummy alt attributes to ensure valid XHTML 1.0 Transitional.Darren Salt
This is less than ideal. Really, we want DocBook 5.
2010-01-29Merge from 1.1.Darren Salt
2010-01-29Link the v4l2 plugin with libv4l2 (if required); use pkgconfig to locate it.Darren Salt
2010-01-28Do the dvbsub CLUT reset in spudec_reset.Darren Salt
This is probably still wrong, but at least works properly with BBC subtitling.
2010-01-28Make the index LUTs per-region; put the colour reset code in its own function.Darren Salt
2010-01-28Clean up and extend DVB subtitle decoding.Darren Salt
Decoding fixed (nybble extraction was broken, and some filling was wrong). Default colour tables added. The following is untested: * Support for 2-bit and 8-bit images. * Support for expansion from 2→4, 2→8 and 4→8 bits. * Support for expansion tables. * Handling of stuffing chunks (not expected to be seen). * Copying of the top field into the bottom field.
2010-01-26Convert xine_log → xprintf.Darren Salt
2010-01-26Switch off logging, convert some lprintf() to xine_log(), add a startup warning.Darren Salt
2010-01-26Get rid of a few compiler warnings.Darren Salt
2010-01-26More error checking.Darren Salt
2010-01-26Merge from 1.1.Darren Salt
2010-01-26Merge v4l2 support.Darren Salt
2010-01-26Mention v4l2 in xine(5).Darren Salt
--HG-- branch : v4l
2010-01-26Fix AAC in FLV.Darren Salt
This bug appears to be a variety of aliasing bug, caused by the compiler not knowing that buffer is written to by ...->read(). On i386, the bug shows up because buffer[0] has to be re-read when extracting the sample rate etc.; on amd64, it works fine because the value was cached in a register. The problem is avoided by not read()ing into any storage more than once while it remains in scope.
2010-01-25Bump version no. etc.Darren Salt
2010-01-23Fix up convenience interface library building (with older build tools).Darren Salt
2010-01-23Cope with missing libvdpau-dev (on lenny); adjust automake dependency.Darren Salt
2010-01-22v4l2: set no. of bytes sent, and don't send more than max_size bytes at a time.Darren Salt
--HG-- branch : v4l
2010-01-22v4l2: set stream audio/video flags; check for VIDIOC_S_FMT failure.Darren Salt
--HG-- branch : v4l
2010-01-21No need to set CFLAGS.Darren Salt
2010-01-21Clean up DEB_BUILD_OPTIONS handling.Darren Salt
2010-01-21Merge.Darren Salt
2010-01-21Revert a038e9625e79 (breaks A/V sync).Darren Salt
2010-01-21Create libxine-interface.la and make libxine.la weakly provide it.Darren Salt
This reduces requirements of plugins etc., hopefully where possible and without breakage. (Works on Linux.)
2010-01-21Backport YUV build optimisation.Darren Salt
2010-01-21Tidy up YUV library requirements.Darren Salt
2010-01-21Merge from 1.1.Darren Salt
2010-01-21Merge.Darren Salt
2010-01-21Undo libavutil workaround (fixed upstream).Darren Salt
2010-01-21Fix width and padding bugs in opengl fragprog rendererEddie Goodall
There's a rendering bug when using the opengl fragment program if the width of the video is not a multiple of 16. U and V channels will have padding on each row because they always have pitches which are a multiple of 8, glTexSubImage2D will copy the padding data to the texture and the U & V channels will be skewed. The same also applies to the Y channel when width is not a multiple of 8. Fixed by passing pitch to glTexSubImage2D instead of width. The U & V channels also have to be outlined in grey on the texture and if there's padding then we need to add the line on the right to every frame before calling glTexSubImage. It also looks like the location of the V channel in the texture was off by one pixel in the call to glProgramEnvParameter4fARB. --HG-- extra : rebase_source : 1984e493f77e80081e55b7c3b816d3baea965e4e
2010-01-21video_out_vdpau: provide configureable background colorReinhard Nißl
Plasma TV users have the problem that black border pixels age differently compared to active image pixel in the center of the screen. Changing the background color for example to gray makes the border pixels age almost equally like the image pixels. As a result image brightness will change more equally over TV's lifetime.
2010-01-20vdpau_mpeg12: attach a PTS just once to imgReinhard Nißl
Without resetting the buffered PTS it happens that the same PTS gets attached to multiple images which is wrong.