summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-06-04fallback to none output when the device is unpluggedMatthias Kretz
2007-06-04handle unplugged devices in audio_alsa_out (return -1) and in audio_out ↵Matthias Kretz
close the driver on a return value <0
2007-06-04pending a real fix --enable-debug for libxine does not enable debugging ↵Matthias Kretz
options for ffmpeg for now
2007-06-04Mark audiocs_rates static and const.Diego 'Flameeyes' Pettenò
2007-06-04Remove redundant nested #ifdef __svr4__.Diego 'Flameeyes' Pettenò
2007-06-04Update the note about which audio drivers are available.Diego 'Flameeyes' Pettenò
2007-06-04Note that raw devices and 2.6 kernels don't get along well.Diego 'Flameeyes' Pettenò
2007-06-04Use the ™ symbol rather than the &trade; entity.Diego 'Flameeyes' Pettenò
2007-06-03Update libmpcdec code to 1.2.6 version.Diego 'Flameeyes' Pettenò
2007-06-03Changelog entry for the MPEG PES change.Darren Salt
2007-06-03[patch] Fix video pid misdetectionAndrew de Quincey
Hi, the next bug that has been annoying me is as follows. I have some streams recorded from BBC4 on UK DVB-T. BBC4 only actually starts transmitting at about 7pm; prior to that there is a static picture saying it is not playing just now. With these streams and xine, I would get audio, but no picture. Looking at the PMT table during the static picture, all the streams have type 0x0b. However there IS a video stream in there, but there are also several streams of binary data. Xine's current video PID auto-detection code was locking on to one of these streams of binary data because it contained the magic sequence 00 00 01 e0 at one of the PUS. *HOWEVER* it is NOT a PES stream; this sequence is just an accident. The other problem is that xine can only handle one video stream; so once it was misdetected once, it was stuck at that PID. The attached patch changes the corrupted_pes flag into a counter. If a video stream has more than CORRUPT_PES_THRESHOLD corrupt PES packets in a row, then it is deselected as the video stream, and auto-detection is kicked off again. Auto-detection will now also ignore any streams seen previously which have a nonzero corrupted_pes count. This works very well; I can now see the video fine. One possible issue might be that if you get a lot of corrupt PES in a stream which really IS the video stream, it will be deselected. However, this is not actually a problem: once the corruption goes away, the corrupted_pes counter will be reset to 0, and the stream will once again be autodetected as the video stream (and playback will continue from there).
2007-06-03[PATCH] remove uneeded %s from it translationRiccardo Magliocchetti
2007-06-03Add a comment & changelog entry for the mmap bug fix.Darren Salt
2007-06-03[patch] Nasty mmap problem with huge filesAndrew de Quincey
Hi, I've been tracking down a very odd bug this afternoon. As it turns out it is caused by enabling xine's mmap() support for the input_file.c. I'm running 32 bit linux 2.6.21. The file in question is 0x10e4da000 bytes long (you can probably guess what kind of bug this is by now :) Anyway, the issue stems from the definition of mmap(): void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset); compare this to the definition of st_size in struct stat: off_t st_size; /* total size, in bytes */ On my machine (in input_file.c) sizeof(size_t) ==4, whilst sizeof(off_t) == 8. However the compiler doesn't generate a warning when the following is done in xine's code: if ( (this->mmap_base = mmap(NULL, sbuf.st_size, PROT_READ, MAP_SHARED, this->fh, 0)) != (void*)-1 So it silently truncates the upper part of the length. Obviously you cannot mmap() a file that large into (32 bit) memory anyway, but as it turns out, mmapping() 0xe4da000 succeeds, which causes... problems. The patch (against xine-lib 1.1.6) does two things: * Check that the length will not be truncated, while still allowing for mmap()s of large files under 64 bit OSes. * A correctness fix: if mmap() fails, this->mmap_base will be set to 0xffffffff. Later on when the file is closed, this means it was attempting to do munmap(0xffffffff).
2007-06-02Rename the files.Diego 'Flameeyes' Pettenò
2007-06-02Convert the rule too.Diego 'Flameeyes' Pettenò
2007-06-02Convert the figure files to SVG (with white background).Diego 'Flameeyes' Pettenò
2007-06-02Fix && -> &amp;&amp;Diego 'Flameeyes' Pettenò
2007-06-02Don't check for sgmltools and fig2dev.Diego 'Flameeyes' Pettenò
2007-06-02Reorder hackersguidedir.Diego 'Flameeyes' Pettenò
2007-06-02Remove docs target.Diego 'Flameeyes' Pettenò
2007-06-02Remove dist-hook.Diego 'Flameeyes' Pettenò
2007-06-02Replace the faq.html and faq.txt rules with new ones with xmlto.Diego 'Flameeyes' Pettenò
2007-06-02Rename the file in EXTRA_DIST.Diego 'Flameeyes' Pettenò
2007-06-02Rename the faq SGML file to DocBook.Diego 'Flameeyes' Pettenò
--HG-- rename : doc/faq/faq.sgml => doc/faq/faq.docbook
2007-06-02Replace the distclean-local hook with a proper DISTCLEANFILES usage.Diego 'Flameeyes' Pettenò
2007-06-02Remove docs-prepare target.Diego 'Flameeyes' Pettenò
2007-06-02Remove the dist-hook.Diego 'Flameeyes' Pettenò
2007-06-02Update copyright year.Diego 'Flameeyes' Pettenò
2007-06-02Update the doctype to DocBook XML.Diego 'Flameeyes' Pettenò
2007-06-02Assume presence of fig2dev command while doing make dist or make install ↵Diego 'Flameeyes' Pettenò
from Hg.
2007-06-02Add a new rule to build hackersguide.html from the docbook version.Diego 'Flameeyes' Pettenò
2007-06-02Make LIBNAME correspond to the soname.Darren Salt
2007-06-02Make the docbook valid XML.Diego 'Flameeyes' Pettenò
2007-06-02Add missing line.Diego 'Flameeyes' Pettenò
2007-06-02Don't create a distclean-local hook when you can just use DISTCLEANFILES ↵Diego 'Flameeyes' Pettenò
variable.
2007-06-02Remove the copy of original sgml files.Diego 'Flameeyes' Pettenò
2007-06-02Rename the .sgml to .docbook.Diego 'Flameeyes' Pettenò
2007-06-02Update copyright year and add my name to authors.Diego 'Flameeyes' Pettenò
2007-06-02Use UTF-8 encoding.Diego 'Flameeyes' Pettenò
2007-06-02Update the doctype and rename entities.Diego 'Flameeyes' Pettenò
2007-06-02Rename the sgml files to docbook (xml).Diego 'Flameeyes' Pettenò
--HG-- rename : doc/hackersguide/hackersguide.sgml => doc/hackersguide/hackersguide.docbook rename : doc/hackersguide/internals.sgml => doc/hackersguide/internals.docbook rename : doc/hackersguide/intro.sgml => doc/hackersguide/intro.docbook rename : doc/hackersguide/library.sgml => doc/hackersguide/library.docbook rename : doc/hackersguide/output.sgml => doc/hackersguide/output.docbook rename : doc/hackersguide/overview.sgml => doc/hackersguide/overview.docbook rename : doc/hackersguide/stream.sgml => doc/hackersguide/stream.docbook
2007-06-02Fiddle with the versioning so that we get libxine.so.2.0.0.Darren Salt
This requires renaming po/libxine1.pot -> po/libxine2.pot. --HG-- rename : po/libxine1.pot => po/libxine2.pot
2007-06-02Repair breakage introduced in cset 923cae943a0e.Darren Salt
2007-06-02Rename libxine-dev to libxine2-dev.Darren Salt
--HG-- rename : debian/libxine-dev.install => debian/libxine2-dev.install
2007-06-02Merge.Darren Salt
2007-06-02Merge from 1.1; handle Debian packaging fallout from the merge.Darren Salt
--HG-- rename : debian/libxine1-doc.docs => debian/libxine2-doc.docs rename : debian/libxine1-doc.manpages => debian/libxine2-doc.manpages
2007-06-02Conflict with libxine2-dev.Darren Salt
2007-06-02Bump libtool revision number.Darren Salt
2007-06-02Don't use GNU make extensions for fig to png creation, as the old-style ↵Diego 'Flameeyes' Pettenò
suffix rules works.