summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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
2010-01-17"Fix" playback of 24-bit FLAC.Darren Salt
We pretend that it's 16-bit to avoid "audio device unavailable" (ALSA). Also, the clock is a bit fast.
2010-01-16Clean up properly after QTL parsing.Darren Salt
2010-01-16Added basic support for .qtl (Quicktime media link).Darren Salt
2010-01-15Fix seekingJulian Scheel
Do not discard the parser, but reset fields that won't be valid after a decoder reset (ie seek) anymore
2010-01-15Cleanup of log messagesChristophe Thommeret
2010-01-15Merge with 1.2-vdpau mainJulian Scheel
2010-01-15Cleanup of log messages (replace printf calls)Julian Scheel
2010-01-15Merge from 1.2 main.Darren Salt
2010-01-14Merge from 1.1.Darren Salt
2010-01-14Merge.Darren Salt
2010-01-14Backed out changeset fd48f5a5841d (discontinuity handling for short streams ↵Darren Salt
+ gapless).
2010-01-14Don't deinterlace still framesChristophe Thommeret
still frames are marked by the decoder and the video_out will not deinterlace if the flag is set.
2010-01-13Clear VDPAU surfaces on new streams.Christophe Thommeret
2010-01-12Merge from 1.2 mainJulian Scheel
2010-01-12Merge from 1.1.Darren Salt
2010-01-12fix a/v syncJulian Scheel
send the pts to the decoders, even if the pes packet is just a continuation packet
2010-01-12always draw still images. a still image is detected by the immediate ↵Julian Scheel
following of an end of sequence mark, so that it is safe to remove backward references after decoding it. this will make the drawing logic work and draw the picture actually this fixed dvd menus with still images in background which were not always drawn
2010-01-12Demux BluRay DTS (stream 0x82)Petri Hintukainen
2010-01-12Do not reset decoder flags from parse_pes_header() when setting ↵Petri Hintukainen
BUF_FLAG_FRAME_END. Fixes BluRay PCM audio when PES payload size is less than 2048 bytes.
2010-01-11Merge with 4d746db529dee2629e297297e0d751de95010792jscheel-guest
2010-01-11complete rework of the h264 decoderjscheel-guest
coded_picture replaces the abused nal_units, while nal_units are just what their name says. sps and pps are handled in buffers as the spec proposes. pic_num calculation and ref-frame marking reworked to be spec compliant
2010-01-08Merge from 1.2 main.Darren Salt