summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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 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-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-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-23Fix up convenience interface library building (with older build tools).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-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.
2010-01-20demux_ts: pass each pts just once to buf (and to decoder)Reinhard Nißl
The content of large PES packets must be split into several input buffers. The current code attaches the PTS of the PES packet to all input buffers. A decoder must attach PTS to the image for example which starts next in the data. If the same PTS appears on several input buffers, a decoder might buffer the PTS and attach it to the next image for which the broadcaster didn't supply a PTS. Finally xine's metronom gets confused about those incorrect PTS and tries to correct that issue which usually makes things even more worse. By passing on PTS just once to the decoder it is less likely that the decoder behaves incorrect. I must admit that this is the second approach to fix this issue. The first approach slipped through into a totally different changeset and instead of passing the PTS just on the first buf, it passed it on the last buf of a PES packet which was totally wrong. This incorrect approach has been reverted recently.
2010-01-20Use pkg-config for vdpau where possible; fix excessive libvdpau linkage.Darren Salt
2010-01-18Merge from 1.1.Darren Salt
2010-01-18FLAC decoder post-merge fixups.Darren Salt
2010-01-17Cope with libavutil no longer defining some endian-specific macros.Darren Salt
2010-01-17Explicitly set audio & video presence to "not present" when demuxing playlists.Darren Salt
2010-01-17Merge from 1.1, omitting .qtl support (already present).Darren Salt
--HG-- rename : src/combined/decoder_flac.c => src/combined/flac_decoder.c
2010-01-17Don't try to handle .qtl in the Quicktime demuxer.Darren Salt