summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-05Merge from 1.1.Darren Salt
--HG-- rename : src/libmusepack/xine_musepack_decoder.c => src/audio_dec/xine_musepack_decoder.c
2009-08-05Changelog entries for the mpcdec & CDD{A,B} changes.Darren Salt
2009-08-05Fix reading of CDDB information (ref. cset a470c338149c)Christopher Martin
This fixes the reading of CDDB information by not setting INPUT_CAP_BLOCK for the CDDA plugin (and therefore also setting CD_RAW_FRAME_SIZE to 0), and allow reading in non-block sized chunks as per http://hg.debian.org/hg/xine-lib/xine-lib?cmd=changeset;node=a470c338149c;style=gitweb Explanation: At some point a number of releases ago, a codepath in Xine related to the reading of block devices which had been bypassed was fixed, which meant that when certain frontends asked Xine to provide CDDB information for a disc, querying the name, length, etc. of each track, Xine would actually cause a seek to the starting block of each track, which meant that before starting to play, the player would pause for 5-10 seconds, seeking through each track. This is unnecessary, since Xine should have simply used the CD TOC information from the CD audio header at the start of the disc. Other frontends handle CDDB differently and don't query Xine for information track by track, and so never triggered this problem. But for those with the problem, it made loading a disc rather slow. It turns out that the root of the problem is that the CDDA plugin shouldn't be setting INPUT_CAP_BLOCK, since Audio CDs are not block devices _in the sense that Xine intends_. Simply turning this off fixes the problem, with no other side effects (tested locally, for some time now, on xine-ui, kscd, kaffeine, amarok, etc.). This change pairs nicely with a patch originally committed years ago (cset a470c338149c) but which was reverted as it inadvertently triggered the same problem as is now (properly) fixed by the simple above-mentioned change. Now that a better fix is in, it can be re-committed.
2009-08-05Accept CDDB return code 211 ("found inexact matches")Christopher Martin
This code is returned when there is more than one CDDB entry for the disc in question. Before, when receiving a 211 response from a CDDB server, Xine would simply not display any CDDB information. Now one of the responses is displayed, on the theory that something is better than nothing.
2009-07-24Fix deadlocks caused by input_vdr's discontinuity handling.Reinhard Nißl
In trickspeed mode, input_vdr's metronom generates a discontinuity for each video frame. These generated discontinuities could interfere with discontinuities generated by the demuxer. As a result the metronom deadlocked while waiting for a matching discontinuity indication. So care must be taken to not mix internal and external discontinuities.
2009-06-11Add some missing BUF_FLAG_PREVIEW in preview_mode.Reinhard Nißl
2009-06-11Make use of the new xine_osd_set_video_window() in input_vdr.Reinhard Nißl
2009-06-11Provide framework to define a video output area within the OSD area.Reinhard Nißl
The supplied functions and constants allow to define a video output area (called video window) within the OSD area to show for example a small preview of the current channel in the top right corner while zapping through the channel list displayed as OSD. A VDPAU enabled xine-lib implements VO_CAP_VIDEO_WINDOW_OVERLAY already.
2009-05-17Update .hgignore (extra m4/*).Darren Salt
2009-05-17Merge from 1.1.Darren Salt
2009-05-17Require gettext 0.17; pull in some related updates (via autopoint).Darren Salt
2009-05-10Further improve parsing of CDDB informationChristopher Martin
Use strchr instead of strrchr to allow text to contain "=". --HG-- extra : transplant_source : l%29%15%0F%DFVV%08%B7%CF%FEb%E0v%22%18%FA%9Ap%8B
2009-05-10Provide genre & track no. for CDDB dataMarkus Kaufhold
(Tweaked to fit current hg and to fix a bug.) --HG-- extra : transplant_source : %FC%0C%D1n%D1%26%90%88%E0%EC%7D/%27%A1i%00%B0m%E5%AF
2009-05-10CDDB parsing code duplication cleanup.Darren Salt
--HG-- extra : transplant_source : w%85%203%2C%D1%04%CCgoRexh%03%88%9E%86Z%5B
2009-05-10Remove default /usr/lib when locating libXvMC & libXvMCW.Darren Salt
Was breaking on systems which, for some strange reason, use /usr/lib64.
2009-05-07Character encoding is stored in LC_CTYPESander Jansen
2009-07-15Port to new libmpcdec APIYavor Doganov
This is an incomplete patch porting xine-lib to the new libmpcdec API. Incomplete, because 1) no SV8 support and 2) still no seeking.
2009-07-05Disappearing DVB plugin (Linux, not Hurd)Chris Rankin
I noticed recently that xine's DVB plugin had disappeared. After a bit of investigation (and a few handfuls of hair) I have created this patch:
2009-06-21No DVB support on Hurd.Darren Salt
2009-06-11Add some missing BUF_FLAG_PREVIEW in preview_mode.Reinhard Nißl
--HG-- extra : transplant_source : %F5K%AE%D3f%EFQ%F5U%E5%FE%BB%1E.%2Beh%C5%20%7F
2009-06-07Fix _x_compute_interval for OS X.Matthias Ringwald
The new _x_compute_interval functions uses clock_gettime() which is not provided on OS X. If _POSIX_TIMERS is not defined, use the older gettimeofday().
2009-05-31Fix seeking in large raw DV filesScott Bigham
start_pos is of type off_t, and since we compile with D_FILE_OFFSET_BITS=64, -off_t is a 64-bit long long int, so you'd think we'd be fine here -- but we aren't, because start_time, this->duration and this->frame_size are all 32-bit ints, which means that the computed seek position gets truncated to 32 bits before it's assigned to start_pos. The simple solution is to cast start_time to off_t, expanding the computation to 64 bits in time to avoid truncation.
2009-05-28Fix a recently-added POSIX incompatibility.Marc Dequènes (Duck)
2009-05-28Fix FTBFS on the Hurd.Marc Dequènes (Duck)
2009-05-19Allow "dpkg-buildpackage -j2" to work.Darren Salt
2009-04-26Adjust the CDDA frame cache to a 'snappier' value.Christopher Martin
2009-04-26Fix CD gapless playback.Christopher Martin
Similar to the fix in cset 86b9162cfcfe.
2009-04-26Merge from 1.1.Darren Salt
--HG-- rename : src/xine-engine/buffer.h => include/xine/buffer.h rename : src/libmad/xine_mad_decoder.c => src/audio_dec/xine_mad_decoder.c
2009-04-25Merge -gapless branch.Darren Salt
2009-04-25Revert indentation changes.Darren Salt
2009-04-22Demux timing fixes (Windows)Carlo Bramini
m4/pthreads.m4 * Mingw GCC says that '-pthread' option is unknown. * Correct library name under Mingw is -lpthreadGC2. src/xine-engine/demux.c * function _x_compute_interval cannot be compiled
2009-04-13When writing catalog.cache, use a new file & atomically replace the old one.Darren Salt
2009-04-12Merge from 1.1.Darren Salt
2009-04-12Prepare input_vdr for VDR 1.7.5's requirements on returned STC.Reinhard Nißl
VDR 1.7.5 requires that STC should be near to a previously transmitted PTS value. We cannot hold this requirement immediately after a discontinuity as the currently displayed image's vpts time (which originated before the discontinuity) will be transformed to STC by applying the new vpts offset established at discontinuity. Therefore, a queue of vpts offset pairs is created and at discontinuity the current offset is stored there in combination with the vpts value up to which it has to be used. When retrieving a STC value, we lookup the offset to use from current vpts and therefore get a STC near to an originating PTS value. As VDR requires this quality of STC values also for its trickspeed modes, it is nolonger possible to simply set PTS of incoming frames to 0 to schedule them just after the previous frame. Therefore a discontinuity is generated for each frame in trickspeed mode, which allows us to schedule each frame immediately after the previous one while there may be gaps in PTS values. As a result the above mentioned code will take care to provide proper STC values even in VDR's trickspeed modes.
2009-04-10Add advisory nos. for the QT demuxer bug.Darren Salt
2009-04-06A trivial harmless little length test off-by-one.Darren Salt
2009-04-06Minimal porting of sndio to 1.2.Darren Salt
2009-04-06Merge from 1.1.Darren Salt
2009-04-05Fix handling of the length of UTF-16 content sourced from, e.g., ID3 tags.Darren Salt
This avoids use of strlen(), which doesn't cope well with UTF-16, and also has the ID3 parser double-NUL-terminate the buffered string.
2009-04-05Properly NUL-terminate when reading ID3v2.2 tag content.Darren Salt
2009-04-05Fix a resource leak in libdvdnav.Darren Salt
2009-04-04Correct invalid MIME info in the MOD demuxer.Darren Salt
2009-04-03Correct a CVE no.Darren Salt
2009-04-03Merge from 1.1, discarding new "#if"s in ff_video_decoder.c.Darren Salt
2009-04-03Added tag xine-lib-1_1_16_3-release for changeset fc1aecbb9d80Darren Salt
2009-04-031.1.16.3.xine-lib-1_1_16_3-release1.1.16.3Darren Salt
2009-04-01Fix an integer overflow in the Quicktime demuxer.Darren Salt
--HG-- extra : transplant_source : %AE%D3%DCw%0F%073h%5D%C0%B5%A7%BA%2B%95%81%95bT%D6
2009-03-25Merge from 1.1; adapt dh_xine for 1.2.Darren Salt
2009-03-25Add dh_xine, to be used when building front end .debs.Darren Salt
2009-03-25Add Mimetypes to src/demuxers/demux_mod.cShlomi Fish
This patch adds mimetypes to src/demuxers/demux_mod.c for the file types it can handle. After this patch is applied, then xine_get_mime_types() reports them correctly, which allows Amarok 2.x to play them and probably prevents other interoperability problems. Previously Amarok 2.x rejected MOD/S3M/IT/XM/etc. files that were enqueued there when using the xine phonon backend because their mime types were not included in those announced by xine-lib.