summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-30Fix dvdnav map file closure.Darren Salt
2010-01-29Link the v4l2 plugin with libv4l2 (if required); use pkgconfig to locate it.Darren Salt
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 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-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-21Backport YUV build optimisation.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-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-17Cope with libavutil no longer defining some endian-specific macros.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-14Merge.Darren Salt
2010-01-14Backed out changeset fd48f5a5841d (discontinuity handling for short streams ↵Darren Salt
+ gapless).
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-06Ignore unsupported BluRay SPU streams (interactive (0x91) and text (0x92))Petri Hintukainen
2010-01-06Add v4l2 to the makefileTrever Fischer
--HG-- branch : v4l
2010-01-21Require v4l2:/ prefix.Darren Salt
--HG-- branch : v4l
2010-01-21Tidy up the v4l2 plugin.Darren Salt
Get rid of most compile-time warnings. Clean up white space. Mark xine_plugin_info as EXPORTED. Fix xine-lib internal #includes. Use #defines instead of many "#ifdef HAVE_LIBV4L2"/"#else"/"#endif". --HG-- branch : v4l
2010-01-06Use libv4l only if available, add copyright headerTrever Fischer
--HG-- branch : v4l
2010-01-06Preliminary support for v4l2.Trever Fischer
It's ugly and works half the time, but it's there. --HG-- branch : v4l
2010-01-06Demux BluRay PCM audioPetri Hintukainen
2010-01-06Join multiple chunks before passing to audio outPetri Hintukainen
(data is lost if PCM frames are splitted in the middle)
2010-01-06Use local variable for buffer sizePetri Hintukainen
2010-01-06CosmeticsPetri Hintukainen
2010-01-06Decode BluRay PCM headerPetri Hintukainen
2010-01-06Added some debug loggingPetri Hintukainen
2009-12-15TTA demux: Fix the calculation of the stream length.Kelvie Wong
Its resolution was in frames (+/- ~1 second), now it is calculated from the number of samples, as it should be.
2009-12-13TTA demux: Fix a buffer overflowKelvie Wong
It can be the case that the header is larger than buf->max_size (8 kilobytes), especially for slightly larger files. This sends them in parts so we don't overfill the buffer.
2009-12-11TTA demux: fix buffer->extra_info->total_timeKelvie Wong
Supposed to be in milliseconds; totalframes is only approx. total seconds.
2009-12-11TTA demux: don't read past the last frame.Kelvie Wong
I don't think whoever wrote this played a TTA file all the way to the end.
2009-12-11Extra meta-info identifiers.Darren Salt
2009-12-11Changelog entry for the TTA changes.Darren Salt
2009-12-06Finish implementing the TTA demuxerKelvie Wong
* Return the correct stream length * Return the current time * Implement seeking --- src/demuxers/demux_tta.c | 47 ++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 41 insertions(+), 6 deletions(-) --HG-- extra : transplant_source : D%27%B7%5C%C4%95Ra%90E%DD%99IG%CF%5D%21%27zN
2009-12-06Fix a couple of memory leaks.Kelvie Wong
--- src/demuxers/demux_flac.c | 1 + src/demuxers/demux_tta.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) --HG-- extra : transplant_source : C%21X%B8%E1p%D2%8E%E0%26%CA%3E%09%8B%09%16%19%C1CQ
2009-12-06Fix XShm detection in the absence of pkgconfig or x11.pc.Darren Salt
2009-12-05Add mimetypes for the TTA demuxerKelvie Wong
I've noticed that a lot of the demuxers don't have mimetypes -- Nokia and KDE's Phonon (when using the Xine backend, and consequently this bothers all Amarok users) depend on the mimetypes to see what types of files it can process. This adds support for the True Audio data type, which scratches my itch; I'm sure there are several other demuxers that need a similar change.
2009-12-05Build fix (undefined symbol) for when using older ffmpeg.Darren Salt