summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-11-10Stop trying to distribute videodev2.h.Darren Salt
2007-11-09Use system's linux/videodev2.h header file.Diego 'Flameeyes' Pettenò
Please note: on 2.4 systems without the extra V4L2 stack, the header will be missing. As it is, both input_pvr and input_v4l (that still uses the old interface) will be disabled if either header is not found. Further optimisation to just disable PVR on non-V4L2-capable systems might be useful.
2007-11-09Remove stray file.Diego 'Flameeyes' Pettenò
2007-11-09More updates for FSF address.Diego 'Flameeyes' Pettenò
2007-11-09Merge FSF address changes from 1.1 branch.Diego 'Flameeyes' Pettenò
--HG-- rename : src/combined/decoder_flac.c => src/combined/flac_decoder.c rename : src/combined/demux_flac.c => src/combined/flac_demuxer.c rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.c => src/combined/wavpack_combined.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/liba52/xine_a52_decoder.c => src/libxineadec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/libxineadec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/libxineadec/xine_faad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-11-06Change how the RealPlayer codecs are detected.Darren Salt
* Use arrays and loops instead of chained if()s. This reduces code size a little. * Try to dlopen drvc.so instead of just checking for its existence. The old code could, for example, try to use a dir containing 32-bit libs on a 64-bit system. (Not that I'd expect this to happen, of course...)
2007-11-06Decode numbered XML char entities as UTF-8, and support codes >= 256.Darren Salt
Ref. http://bugzilla.gnome.org/show_bug.cgi?id=484768#c12
2007-11-05Add another RealPlayer codecs path.Darren Salt
2007-11-03Allow external libfaad.Darren Salt
2007-11-01Update contributed libfaad (faad2) to version 2.6.1.Diego 'Flameeyes' Pettenò
Since the release 2.6.1 of faad2 the source code for libfaad is now once again released under a GPL-compatible license (actually, GPL2 plus commercial licenses sold by Nero AG, and a note about clarifying who's copyright it is). As we were using a possibly buggy old CVS snapshot of faad2 from before 2.5 release, the update might fix some buggy AAC files or streams. The updated xine-lib was tested against iTunes Plus audio files, Japan-A-Radio stream, SKY.fm streams, and Apple HD trailers, no regression seems to be present.
2007-11-01Fix zooming 16:9 frames and increase verbosity for debugging.Reinhard Nißl
In H.264 there are a couple of aspect ratios which can be thought of as beeing 16:9. The easiest way is to consider all non 4:3 ratios as beeing 16:9 and apply the zoom factors for 16:9 to such frames. Reporting buffer usage is intended to detect replay issues on slow machines.
2007-10-31Merge from 1.1.Darren Salt
2007-11-01Improve interfacing FFmpeg especially for interlaced content.Reinhard Nißl
The changes include setting VO_INTERLACED_FLAG for interlaced frames, adjusting frame height to a multiple of 32 lines (i. e. the height of one macroblock per field) and cropping away the extra lines, setting progressive_frame and top_field_first as supplied by FFmpeg, fixing the workaround for demux_mpep_pes sending fields as frames and bad frame allocation (i. e. use at least 16x32 pixels). --HG-- extra : transplant_source : %C7c%951J%F5o%C5%F1%16%B4%05%95%D0J%C0j%7F%E6%F8
2007-10-31Improve PTS wrap detection for large A/V offsets.Reinhard Nißl
The last fix to PTS wrap detection could not handle streams with A/V offsets larger than 3 seconds. The improved version can deal with them now. --HG-- extra : transplant_source : %89%1F%7E%12%D5r%A8%CE%95N%BAG%96%02%60%0C%10%9Aar
2007-10-29Trivial consistency tweak.Darren Salt
2007-10-29Merge from 1.1.Darren Salt
Spanish translation merge needs checking.
2007-10-28Add another identifier (0x10 0x00 0x00 0x02) for MPEG video.Darren Salt
Seen in an AVI in the wild; apparently generated by mencoder.
2007-10-26Linux-2.6.23 header change breaks buildKen Moffat
> > /* Special codes used when specifying changer slots. */ > #define CDSL_NONE (INT_MAX-1) > #define CDSL_CURRENT INT_MAX
2007-10-23Merge from 1.1, updating plugin Conflicts/Replaces accordingly.Darren Salt
2007-10-23Simple patch to the XML parserBastien Nocera
Found this little problem (was causing some "uninitialised variable accesses" under valgrind) while implementing Podcast reading in RB using Totem's playlist parser. --HG-- extra : transplant_source : J%D9/%16%E2i%B2%84%FA%8A%85%888N%A5%B4%16s%BD%16
2007-10-23Generate video_step from stream and work around wrong field duration.Reinhard Nißl
When demux_mpeg_pes uses FFmpeg for H.264 streams, it doesn't set video_step as it doesn't know it. But FFmpeg provides it deriveable from time_base. So let's use the derived value as long as it isn't set explicitly. Furthermore, demux_mpeg_pes set's BUF_FLAG_FRAME_END whenever it encounters a H.264 access unit delimiter, which appears between fields or frames, but it doesn't know, whether it deals with fields or frames. avcodec_decode_video() on the other hand sets got_picture even when the decoded data specifies just a field. But it also sets the flag interlaced_frame. So let's use this flag to halve video_step in order to show the decoded images just for a field duration. --HG-- extra : transplant_source : %40Q%E3fO%3C%E7%A0%02%BA%9D%1D%BD%81%F0f-%EAs%87
2007-10-23Use vdr://path/to/fifo and netvdr://host[:port]; cope with any number of "/"s.Darren Salt
2007-10-22vdr:// MRL handling improvements.Darren Salt
Do MRL unescaping. For FIFOs, require vdr:///path/to/fifo (i.e. three or more leading slashes). For host[:port], truncate the MRL at the first "#" (prior to unescaping).
2007-10-22Fix broken usage of macros within translation markup.Darren Salt
2007-10-22Add socket connection support to input_vdr.Reinhard Nißl
2007-10-21small bugfix: make sure width/height are known before trying to use them ↵"Miguel Freitas ext:(%22)
(wait the main stream to fully initialize) prevents division by zero in draw_subtitle().
2007-10-18Merge from 1.1.Darren Salt
2007-10-18fix issue with non-seekable stream in demux_flvClaudio Ciccani
2007-10-10Stop a really irritating fprintf() that really should not be.Matt Messier
(transplanted from 2b2f2adc8a1e0a05d89354ff259f7b2a331aa071) --HG-- extra : transplant_source : %2B/%2A%DC%8A%1E%0A%05%D8%93T%FF%25%9F%7B%2A3%1A%A0q
2007-10-08add lib64/real into the real codec pathsAnssi Hannula
I managed to miss one from my earlier patch, though I could've sworn I checked this. Add (prefix)/lib64/real into the real codec path list. It is encountered in the 64bit PLF Mandriva real-codecs package.
2007-10-08Revert cheating invalid frame sizes after fixed frame allocation (continued).Reinhard Nißl
These cheats where hiding a frame allocation bug in FFmpeg decoder which was previously fixed.
2007-10-16Implement VDR's subtitles menu key for vdr-xine-0.7.12.vdr-xine-version-712Reinhard Nißl
2007-10-03Merge from 1.1.Darren Salt
2007-10-02Unbreak flac demuxer (was trying to #include a deleted file).Darren Salt
2007-10-01Fix incorrect H.264 detection on successive MPEG1/2 B frames.Reinhard Nißl
Successive MPEG1/2 B frames (each with a slice #9) could incorrectly lead to the assumption of a H.264 stream, as sequence or group start codes were not seen for these frames. So the detection logic interpreted the slice #9 start codes as H.264 access unit delimiters and therefore incorrectly switched to H.264 buffer type instead of MPEG1/2. Extending the detection logic to consider MPEG1/2 picture start codes as well (which do not appear in H.264 streams), prevents false positives.
2007-10-01Revert cheating invalid frame sizes after fixed frame allocation.Reinhard Nißl
These cheats where hiding a frame allocation bug in FFmpeg decoder which was previously fixed.
2007-10-01Add UI option to configure FFmpeg's video decoder thread count.Reinhard Nißl
External FFmpeg has recently gained multithreaded H.264 decoding and to make use of this feature, it is necessary to inform FFmpeg about the maximum number of threads it may use for decoding.
2007-10-01Set PTS even for bad frames to improve syncing of audio and video.Reinhard Nißl
When a stream doesn't start with an IDR frame, there will be several seconds of bad frames and not setting PTS on those frames causes an unnecessary delay in syncing audio and video.
2007-10-01Fix allocation of 0x0 frame when frame size is still unknown.Reinhard Nißl
When a stream doesn't start with an IDR frame, then frame size isn't known, but all frames up to an IDR frame are reported as bad frames. In such a case, a frame of size 1x1 will be allocated as xine-lib cannot handle 0x0 frames properly, i. e. many output drivers simply crash.
2007-09-23Merge from 1.1.Darren Salt
2007-09-19Convert the "AFD changed" message into a LOG message.Darren Salt
2007-09-19Add controls for setting the opacity of DVB subtitles.Darren Salt
2007-09-17Revert the "#define lprintf" debug changes.Darren Salt
2007-09-16add two real codec search pathsAnssi Hannula
The attached patch to xine-lib adds two more real codec search paths. /usr/lib/real is encountered in PLF packages for Mandriva, and /usr/lib/RealPlayer10GOLD/codecs is encountered in RealPlayer package of Mandriva.
2007-09-14Merge from 1.1.Darren Salt
2007-09-14Strip leading white space from an initial text segment nested in an XML element.Darren Salt
2007-09-14Drop xml_parser_build_tree_relaxed().Darren Salt
That isn't in any release, and anyway we have a suitable replacement in xml_parser_build_tree_with_options().
2007-09-14Create child "[CDATA]" nodes for extra text (but prefer merging).Darren Salt
<a>b<[CDATA[c]]></a> gives a.data = "bc". <a>b<d/>c</a> gives a.data = "b" & .child = "d" then "[CDATA]" with .data = "c" if XML_PARSER_MULTI_TEXT is set, else a.data = "bc" and there's no "[CDATA]".
2007-09-14Handle <[CDATA[...]]>. (Based on a patch by Bastien Nocera <hadess@hadess.net>.)Darren Salt