summaryrefslogtreecommitdiff
path: root/src/demuxers
AgeCommit message (Collapse)Author
2007-06-12A nice simple merge from 1.1.Darren Salt
Hopefully, I've applied all of the $(LTLIBINTL) changes correctly...
2007-06-09Add $(LTLIBICONV) wherever objdump -R shows a dependency on iconv functions.Darren Salt
Some plugins may have been missed due to them not being built here.
2007-06-09Add $(LTLIBINTL) wherever objdump -R shows a dependency on gettext functions.Darren Salt
Some plugins may have been missed due to them not being built here.
2007-06-09Fix %d -> %zd for size_t parameter.Diego 'Flameeyes' Pettenò
2007-06-09Remove unused variables.Diego 'Flameeyes' Pettenò
2007-06-09Remove unused variable.Diego 'Flameeyes' Pettenò
2007-06-08Properly read metadata for the file, the structure is more complex than it ↵Diego 'Flameeyes' Pettenò
was previously implemented.
2007-06-08Fix metadata parser.Diego 'Flameeyes' Pettenò
2007-06-08Mark some stuff constant, reduce scope of a few other variables.Diego 'Flameeyes' Pettenò
2007-06-08More conversion to switches.Diego 'Flameeyes' Pettenò
2007-06-08More switches in parse_reference_atom.Diego 'Flameeyes' Pettenò
2007-06-08Use a switch statement even for the parsing of trak atom.Diego 'Flameeyes' Pettenò
2007-06-08Update parse_meta_atom to use a switch case rather than a series of if. By ↵Diego 'Flameeyes' Pettenò
the way, the code is totally broken and does not work as intended.
2007-06-08Add two missing alloca.h includes and clean up one other.Darren Salt
2007-06-05Use XINE_PACKED rather than __attribute__((__packed__)).Diego 'Flameeyes' Pettenò
2007-06-04Merge from 1.1.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-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-01Collapse the Ogg demuxer, and the Theora, Vorbis and Speex decoders in the ↵Diego 'Flameeyes' Pettenò
same 'xiph' plugin. As the three decoders requires Ogg support, and requires an Ogg demuxer to play, enabling any one of them will then enable the ogg demuxer. The Ogg demuxer, on its own, needs to know which of the three formats are enabled, or it will not be able to properly decode them. With this change, only one plugin will need to load and know about Xiph formats and libraries. --HG-- 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
2007-06-01Prioritise the musepack demuxer over mpgaudio, as sometimes the latter can ↵Bram Verweij
misfire and report a good file as unplayable.
2007-05-31Patch: fix parsing qt/mov embedded referncesClaudio Ciccani
The attached patch fixes a problem with embedded references in recent versions of quicktime's movie formats. Apparently there is an additional atom (RMRA) before the RMDA atom: it works like a container for all subsequent atoms, so it can be safely skipped. You can test yourself what I'm saying by watching some trailers at apple.com (http://www.apple.com/trailers). -- Regards, Claudio Ciccani klan@users.sf.net http://directfb.org http://sf.net/projects/php-directfb
2007-05-29Actually id3v2_tagsize was used by demux_mpgaudio and demux_aac; but as it ↵Diego 'Flameeyes' Pettenò
makes little sense, move BE_*_synchsafe functions from id3.c to id3.h and declare them inline, then BE_32_synchsafe can be replaced to id3v2_tagsize as drop in.
2007-05-29Fix typo reporting ID3v2.4 tags as ID3v2.3.Diego 'Flameeyes' Pettenò
2007-05-29Print the invalid header flags when found.Diego 'Flameeyes' Pettenò
2007-05-29Add a comment about id3v2_istag function and remove id3v2_tagsize function ↵Diego 'Flameeyes' Pettenò
(was used by demux_flac only).
2007-05-29Correctly parse ID3 tags, and avoid skipping over them manually. This ↵Diego 'Flameeyes' Pettenò
reduces again the amount of troublesome FLAC files.
2007-05-02[PATCH] Remove packet count from demux_ts, to remove a long delaySimon Farnsworth
The attached patch applies after my logging patches (I can regenerate if needed). demux_ts attempted to read packets from the input 200 times before giving up. When playing a local file, this is harmless, as it will hit EOF 200 times; however, input_dvb waits 5 seconds for packets on each call to read, resulting in a 1000 second delay if tuning fails. Remove the counting of input packets, and add a comment to read() in input_plugin.h, to indicate that we expect inputs to try and return some data when read() is called. This fixes the delay, and makes it clear to future maintainers that they shouldn't expect to loop like this. -- Simon Farnsworth
2007-05-02[PATCH] Enhance logging in demux_ts, input_dvb and video_out_xvSimon Farnsworth
The three attached patches (against 1.1.6) each increase the amount of debug logging in their respective components. We've found the extra logging useful when trying to track down faults. I've split this into three patches to make it easier to apply only some of our changes. -- Comments welcome, Simon Farnsworth
2007-05-06Merge Reinhard Nissl's demuxer fixes.Darren Salt
2007-04-21Add support for MDHD version 1 atom in demux_qt. [bug #1679398]Diego 'Flameeyes' Pettenò
2007-04-17Fix DVD playback (was hanging when either the AC3 or DTS demuxers were probed).Darren Salt
This may have side-effects wrt other streams; CDDA is fine, though.
2007-05-31Restore $(AM_CFLAGS) usage.Diego 'Flameeyes' Pettenò
2007-05-31Merge from 1.1 branch.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libmad/xine_mad_decoder.c => src/libxineadec/xine_mad_decoder.c
2007-05-31Move modplug demuxing on its own plugin.Diego 'Flameeyes' Pettenò
This way binary distributions can make it optional, as it requires quite a bit of CPU time during initialisation, even for audio files that nothing have to do with modplug.
2007-05-31Create a single NSF plugin that includes both the demuxer (previously in the ↵Diego 'Flameeyes' Pettenò
audio group) and the decoder. One of the two plugins without the other would be useless. --HG-- rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c
2007-05-31Merge -newbuild.Darren Salt
2007-05-30Merge from 1.1.Darren Salt
2007-05-16Merge changes from main 1.2 repositoryMatt Messier
2007-05-17Merge from 1.1.Darren Salt
2007-05-14Final pass over decoders.m4Matt Messier
2007-05-12More configure/Makefile cleanupsMatt Messier
-- Make a pass at cleaning up contrib/ Makefile.am files -- Rename many AM_CONDITIONALS for consistency and give them better names to better indicate what they mean -- Remove some dead input plugin tests -- Clean up AM_PATH_DVDNAV
2007-05-11Another pass at cleaning up Makefile.am files. More to come.Matt Messier
2007-05-08Merge changes from main 1.2 repositoryMatt Messier
2007-05-08Merge from 1.1.Darren Salt
2007-05-08RIP: AC_OPTIMIZATIONSMatt Messier
-- Removed m4/optimizations.m4, and along with it, AC_OPTIMIZATIONS. -- Stripped down, cleaned up, and merged the former together with other compiler characteristic checks. -- Do not set any optimization flags into CFLAGS. Update all Makefile.am's with proper AM_CFLAGS, AM_CPPFLAGS, AM_LDFLAGS, etc. to set up optimization flags, usually from DEFAULT_OCFLAGS. -- Start cleaning up CFLAGS/CPPFLAGS stuff in Makefile.am's all over the place. -- Correct a number of places where CFLAGS itself was being mangled in Makefile to on-the-fly adjust optimizations to work around compiler bugs. This stuff is now done correctly. -- The run of automake from autogen.sh is now clean of warnings. -- Cleaned out some (now) dead macros from m4/_xine.m4 -- Mac OS X intel builds out-of-the-box now -- dropped optimization on post/deinterlace/plugins/kdetv-greedyh to O1_CFLAGS. -- OBJCFLAGS is now getting set correctly everywhere that it needs to be -- Various other miscellaneous cleanups all over
2007-04-21Merge from 1.1 branch.Diego 'Flameeyes' Pettenò
2007-04-21Avoid fiddling with __attribute__.Diego 'Flameeyes' Pettenò
2007-04-21Mark bandwidths array static.Diego 'Flameeyes' Pettenò
2007-04-17Merge from 1.1 (and update the debian/changelog datestamp for 1.2.0~hg).Darren Salt
2007-04-15Avoid sending BUF_FLAG_FRAME_END before the first frame.Reinhard Nißl
When BUF_FLAG_FRAME_END is sent before the first frame, decoding fails as there is no data and a "bad" frame of size 0x0 will be allocated, which is really bad as such as frame is simply invalid.