summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-01-04fake some data to make demuxer auto detection workLudwig Nussel
2009-01-04use compiled in default for fifo dir if none specified.Ludwig Nussel
This way one can just run xine vdr://
2009-01-04Implement new features for vdr-xine-0.9.0.Reinhard Nißl
2009-01-04Introduce XVMC_LOCKDISPLAY_SAFE to solve deadlocks in certain xxmc ↵Reinhard Nißl
implementations. Some implementations are buggy and lock resources (for example the display or internal data structures) in different order, which results in deadlocks. As XVMC_LOCKDISPLAY_SAFE is not defined by default, most API functions will now be guarded by a LockDisplay()/UnlockDisplay() pair, which imposes a lock order at least for the resource display and hence avoids those deadlocks.
2009-01-04Remove empty xine_get_video_frame() which has been removed from the API.Reinhard Nißl
2009-01-04Merge from 1.1.Darren Salt
2009-01-04Fix WAV demuxer to send the last frames when they don't fit perfectly into ↵Matthias Kretz
the buffer
2009-01-04At discontinuity all stored PTS values need to be reset to 0, as they are ↵Reinhard Nißl
now invalid. But as PTS values are stored in FFmpeg's decoder, there is no way to reset them to 0. Therefore PTS tagging has been introduced. At discontinuity a tag is generated and applied to all new PTS values. Any returned PTS value is checked for this tag and outdated PTS values are reset to 0. When the tag appears on returned PTS values then tagging is reset.
2009-01-04Feed buffer PTS through FFmpeg's decoder to have them reordered to display ↵Reinhard Nißl
order. Attaching buffer PTS, which are in decoding order, to decoded images is simply wrong. FFmpeg meanwhile provides a way to pass PTS values through its decoder too. As a result they get reordered to display order and can be attached to the decoded frames.
2009-01-02configurable parameter for tvtime pulldown sync sensitivityJason Tackaberry
Currently, once the tvtime plugin has locked onto a telecine pattern, it will wait PULLDOWN_ERROR_WAIT (a hardcoded #defined value) number of frames before switching to filmmode. This sensitivity is excessively high (i.e. the value is too low) for certain content -- the kind of content that was shot on film but edited in video mode, so telecine patterns are constantly breaking (examples like Buffy, Simpsons and Family Guy are especially egregious offenders). The attached patch turns this constant into a modifiable post plugin parameter called pulldown_error_wait. Xine helpfully emits a XINE_EVENT_POST_TVTIME_FILMMODE_CHANGE event when film mode changes (a patch I submitted some years back). With the attached patch, a front-end can monitor the frequency of these events, and dynamically adjust pulldown_error_wait in a sensible way.
2009-01-02Merge from 1.1.Darren Salt
--HG-- rename : include/xine.h.in => include/xine.h rename : src/libspudvb/xine_spudvb_decoder.c => src/spu_dec/spudvb_decoder.c
2009-01-02Extend OSD framework by ARGB layer and custom extent specification.Reinhard Nißl
The ARGB layer is based on the idea and scratch implementation of Julian Scheel. Each OSD object may be associated with a client ARGB buffer which holds the content of the OSD, hence there is no need to copy the buffer content. So far an OSD's reference coordinate system was defined by coded video resolution. By specifing an OSD's extent, capable hardware or software implementations my scale an arbitrarily sized OSD to the video output area while blending. Additional constants have been defined to allow vo_drivers to report their capabilities and to allow clients to check whether an OSD implementation supports these new features.
2009-01-02Prevent another possible hang on stream stop (demuxer waiting for audio out).Darren Salt
The test stream sometimes causes the ASF demuxer to report "unknown GUID" several times then act as if the headers have been received, with the audio output thread waiting forever for data to be passed to it by the decoder, in this case the ffmpeg audio decoder. This particular hang occurs if playback is stopped before the demuxer has decided that headers have been received (later, and we'd have the problem which the parent cset of this cset fixes); having the demuxer control insert empty audio buffers where it would otherwise wait forever for the audio output thread to receive some data. Test stream: mmsh://213.92.19.8:80/radiodeejay?MSWMExt=.asf
2009-01-02ff_audio_decode_data() doesn't always return if the stream is closed or ↵Lorenzo Desole
playback stopped.
2009-01-01libmms does not handle percent-encoded uriNiels Vorgaard Christensen
libmms will always fail to request media with URIs containing percent-encoded characters. This is because the path component in the MMS URI should be decoded before it is sent to the server. http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-MMSP%5D.pdf (page 48)
2008-12-30Implement frame grabbing for accelerated frame formats.Reinhard Nißl
Currently, frame grabbing aborts when requested for accelerated image formats. By using a vo_driver provided frame procedure to retrieve image data, frame grabbing can be implemented for accelerated frames too. In case a vo_driver doesn't provide this functionality, _x_get_current_frame_data() no longer aborts when it is asked to provide image data. It will drop an error message as before and return a "green" YV12 image.
2008-12-29Merge.Darren Salt
2008-12-29SIGSEGV in libxine (DVB, SPU)Chris Rankin
2008-12-28Merge from 1.1.Darren Salt
--HG-- rename : src/libxineadec/Makefile.am => src/audio_dec/Makefile.am rename : src/libxinevdec/Makefile.am => src/video_dec/Makefile.am rename : src/libmpeg2/Makefile.am => src/video_dec/libmpeg2/Makefile.am
2008-12-28Report when defaulting due to the requested Xv port type not being available.Darren Salt
2008-12-28Add support for Xv "blitter" adaptors.Darren Salt
These are known to be present in some nvidia graphics hardware.
2008-12-28Fix up Xv textured video selection for use with drivers for nvidia gfx hw.Darren Salt
These drivers use "NV* Video Texture" instead of "* Textured Video".
2008-12-28Centralise some Xv-related static string array declarations.Darren Salt
2008-12-28Fix xcbxv Xv port fallback (was failing to find an Xv port).Darren Salt
2008-12-28Merge from 1.1.Darren Salt
--HG-- rename : src/combined/demux_flac.c => src/combined/flac_demuxer.c rename : src/libspudvb/xine_spudvb_decoder.c => src/spu_dec/spudvb_decoder.c
2008-12-27Recognise XV_BICUBIC for xf86-video-ati 6.9.1.Darren Salt
2008-12-27Recognise XV_VSYNC == XV_SYNC_TO_BLANK for xf86-video-ati 6.9.1.Darren Salt
2008-12-27Clean up Xv attribute-setting functions; fix a related off-by-one (xcbxv).Darren Salt
--HG-- extra : transplant_source : %A0%EE%CC%FA%D3%AF2%8B%96%1F%B1%8E%00%01%96%8E%9E%AC%93Y
2008-12-26Don't store immediately-discarded input read() resultsThomas Viehmann
2008-12-26demux_ts: PAT/PMT CRCs calculated by av_crc() need to be converted to ↵Reinhard Nißl
network byte order to match packet CRC
2008-12-20Fix constantness.Diego E. 'Flameeyes' Pettenò
2008-12-20Comment out the unused variables, make sure side effects are preserved though.Diego E. 'Flameeyes' Pettenò
2008-12-20Remove format warning.Diego E. 'Flameeyes' Pettenò
2008-12-20Remove unused variable.Diego E. 'Flameeyes' Pettenò
2008-12-20Fix size of mrls array.Diego E. 'Flameeyes' Pettenò
2008-12-15Re-fix linkage failure caused by the av_free() changes in the ffmpeg decoders.Darren Salt
2008-12-15Merge from 1.1; update PO files; make buildable.Diego E. 'Flameeyes' Pettenò
--HG-- rename : include/xine.h.in => include/xine.h rename : src/xine-utils/attributes.h => include/xine/attributes.h rename : src/xine-engine/buffer.h => include/xine/buffer.h rename : m4/_xine.m4 => m4/types.m4 rename : po/libxine1.pot => po/libxine2.pot rename : src/libfaad/xine_faad_decoder.c => src/audio_dec/xine_faad_decoder.c rename : src/libspucc/cc_decoder.h => src/spu_dec/cc_decoder.h rename : src/libspucmml/xine_cmml_decoder.c => src/spu_dec/cmml_decoder.c rename : src/libspudec/xine_spu_decoder.c => src/spu_dec/spu_decoder.c rename : src/libspudvb/xine_spudvb_decoder.c => src/spu_dec/spudvb_decoder.c rename : src/libspucc/xine_cc_decoder.c => src/spu_dec/xine_cc_decoder.c rename : src/libmpeg2/mpeg2.h => src/video_dec/libmpeg2/mpeg2.h
2008-11-22Add position-based seeking independent from seekpoints.Lorenzo Desole
When it comes to FLAC audio files, seeking relies on seekpoints which are not always present, and even when they are, sometimes it fails. Also, as far as I can see, xine is unable to play a FLAC stream starting at an arbitrary position. Other players (namely mplayer) do not rely on seekpoints when they handle FLAC files and they don't suffer from these problems. With this patch, time-based seeking doesn't change, while position-based seeking is completely independent from seekpoints.
2008-11-22Fix linkage failure caused by the av_free() changes in the ffmpeg decoders.Darren Salt
2008-11-20Memory access fixes:František Dvořák
- goom initialization - matroska playing recent files with AAC - replace free() by ffmpeg's av_free() in ff decoders
2008-11-20Some warning fixes: XINE_FORMAT_SCANF, statics in headers, consts, ...František Dvořák
Add warning flags to the DEBUG_CFLAGS too.
2008-11-20Fix using of the pointers, leak fixes in configfile.František Dvořák
2008-11-19Support XINE_GUI_SEND_DRAWABLE_CHANGED in DirectX video driverMatthias Ringwald
On XINE_GUI_SEND_DRAWABLE_CHANGED, the clipping area is adjusted to the new HWND and the frame shown again. This allows to switch the window where the video is shown at runtime, simliar to the X11 drivers.
2008-11-18Fix of the two opened CACA windows in cacaxine (xine-ui).František Dvořák
There is needed some ui<->lib interaction: used caca display is optionally delivered from ui to the caca vo plugin.
2008-11-17Fix video out for directx that support YV12 or YUV2Matthias Ringwald
The lPitch setting of the offscreen buffer was not taken into account, which let to a garbled image if the video card driver did support YV12 or YUV2 color formats. This patch fixes bug #72.
2008-11-09Matroska and FLI demuxers warning and valgrind fixesFrantisek Dvorak
2008-11-07Fixed segfault on start when using XINE_PLUGIN_PATH.František Dvořák
2008-11-07Merge.Darren Salt
2008-11-07Recognise H.264 codec with "XiWave" fourcc too.valtri@funny.zcu.cz
2008-11-07some spudvb fixesChristophe Thommeret
This fixes several bugs/incompatibilities in spudvb decoder. You can find various test samples at http://hftom.free.fr/video_samples/ --HG-- extra : transplant_source : %CD%CE%3A%3F%B6%8BN%FD2%5D%DB%9A%AB%AF%C2%E1%2B%1A%B1%23