summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-03-14xine_init(): mutex objs not initializedCarlo Bramini
The problem comes from the fact that into xine_probe_fast_memcpy() there is a call to xprintf, which excutes some actions to this->log_lock. But the "log_lock" field is still uninitialized. Under Windows, the xine_init() always crashes because that type is implemented as a structure, so the lock receives a NULL pointer and the execution is halted. The attached patch proposes to move the mutex objects to the top of xine_init() function. --HG-- extra : transplant_source : %07%1D%7F%F0%97%7D%06%3E%9F%2Ar%03%1DQ%14%F3%D1%EF%1D%93
2008-03-14Unportable pthread_t compare in xine.cCarlo Bramini
With Pthreads for Win32/Win64 I cannot compare two pthread_t items because they are implemented as structures. This patch fixes the comparison by using pthread_equal() function. --HG-- extra : transplant_source : %9D%98%CE%83%5E%BD%A9u%11%C7%3BmP%28%EBH%D0%B6I%DF
2008-03-02Make use of the new function xine_get_current_frame_alloc().Reinhard Nißl
The new function allows us to remove pausing the stream as the image data can now be retrieved in a single call. --HG-- extra : transplant_source : %DE%A7%7B%C9%E93%15%AC%1E%3D%A2Ik%E4%D1%AC44w_
2008-03-02Intercept metronom to recognize discontinuities after which PTS is valid.Reinhard Nißl
For various operations, VDR needs to know the current PTS. But to have VDR work correctly, xine-lib's PTS must only be returned to vdr-xine when the PTS is related to the current stream. Intercepting the stream's metronom for monitoring discontinuities serves the need to detect the point in time from which on xine-lib's PTS values are related to the current stream. --HG-- extra : transplant_source : %89%DEe%F0uI%CCMK%27%9E%C3%A6%EC%ACk%13Bh%02
2008-03-02Fix "clear" implementation by introducing sync points in data stream.vdr-xine-version-802Reinhard Nißl
vdr-xine used a padding packet to push out any remaining data before input_vdr executed "clear" to drop that data. But depending on the way how input_vdr is connected to vdr-xine it could happen that the padding packet reached input_vdr after executing "clear" and therefore "clear" didn't work as expected. To fix this issue, sync points are introduced by making the padding packets "unique" in the stream. input_vdr will now drop all data up to the sync point packet. So even if the padding packet arrives later than the "clear" command, only data following the sync point will be fed to the demuxer. --HG-- extra : transplant_source : %A1%5E%8C%E1vmW%98D%1EW%A7%AF%B4V%5D%84%26%D0%DA
2008-03-02Fix a compiler warning regarding const.Reinhard Nißl
--HG-- extra : transplant_source : %FFP%FFI%1EgE%7F%15%AAwQt%AD%08%FB6aO%19
2008-03-04Whoops, managed to lose mangle.h.Darren Salt
(This can happen when you revert & patch when merging.)
2008-03-04Merge from 1.1.Darren Salt
--HG-- rename : include/xine.h.in => include/xine.h rename : src/libdts/xine_dts_decoder.c => src/audio_dec/xine_dts_decoder.c rename : src/libmpeg2/decode.c => src/video_dec/libmpeg2/decode.c
2008-03-04Merge from 1.1.Darren Salt
--HG-- rename : src/libffmpeg/ff_dvaudio_decoder.c => src/combined/ffmpeg/ff_dvaudio_decoder.c rename : src/libffmpeg/ff_video_decoder.c => src/combined/ffmpeg/ff_video_decoder.c rename : src/libffmpeg/ffmpeg_decoder.h => src/combined/ffmpeg/ffmpeg_decoder.h
2008-03-04Fix libavcodec/dvdata.h-related build problems with older ffmpeg.Darren Salt
2008-03-02Fix compilation with older external ffmpeg.Darren Salt
HAVE_FFMPEG_AVUTIL_H wasn't being defined, and there were some incorrect checks.
2008-03-02Provide safe and convenient implementations of xine_get_current_frame().Reinhard Nißl
xine_get_current_frame() relies on the caller to provide a sufficiently sized buffer. To calculate the required size of the buffer, one has to call xine_get_current_frame() to retrieve the necessary parameters. But as the image can change between two successive calls one has to pause the stream for consistency. To improve the situation, xine_get_current_frame_s() has been introduced which requires to specify the buffer size when an image is going to be retrieved. Furthermore, it will return the required/used buffer size. In that way, it can prevent copying data into a too small buffer and therefore can be considered safe. For convenience, xine_get_current_frame_alloc() is provided which takes care to allocate a sufficiently sized buffer. This function avoids pausing the stream as the image will be returned in a single call.
2008-03-02Push out current frame when seeing the sequence end code 0xb7.Reinhard Nißl
2008-03-02Reorganise DTS audio type detection (ready for LE16 & BE14); changelog entry.Darren Salt
2008-03-02Backport the MANGLE macro handling from 1.2-libavutil branch (and adapt).Diego 'Flameeyes' Pettenò
2008-03-01Support the new FFmpeg include layout. Now the same include directive should ↵Reinhard Nißl
work for both internal and external FFmpeg (with new layout).
2008-03-01Update to the new FFmpeg's include directory.Diego 'Flameeyes' Pettenò
This also allows to remove the comment stating the includes come from libavutil, as it's now explicit.
2008-03-01Remove stray #if and #endif.Diego 'Flameeyes' Pettenò
2008-03-01Use libavutil's base64 functions, and get rid again of internal copy of base64.Diego 'Flameeyes' Pettenò
2008-03-01Merge from 1.2 tip.Diego 'Flameeyes' Pettenò
--HG-- rename : src/combined/ffmpeg/ff_dvaudio_decoder.c => src/audio_dec/ff_dvaudio_decoder.c
2008-03-01Add extra include, dvaudio always have to use internal copy.Diego 'Flameeyes' Pettenò
2008-03-01dvdata.h is no more in include path alone.Diego 'Flameeyes' Pettenò
2008-03-01Only include the toplevel ffmpeg directory, with the new style include it ↵Diego 'Flameeyes' Pettenò
works better.
2008-03-01Merge from 1.1.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libffmpeg/Makefile.am => src/combined/ffmpeg/Makefile.am rename : src/libffmpeg/ff_dvaudio_decoder.c => src/combined/ffmpeg/ff_dvaudio_decoder.c rename : src/libffmpeg/ff_video_decoder.c => src/combined/ffmpeg/ff_video_decoder.c rename : src/libffmpeg/ffmpeg_decoder.h => src/combined/ffmpeg/ffmpeg_decoder.h
2008-03-01Support the new FFmpeg include layout. Now the same include directive should ↵Diego 'Flameeyes' Pettenò
work for both internal and external FFmpeg (with new layout).
2008-02-29Merge from 1.1.Darren Salt
--HG-- rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c
2008-02-29Added check if DTS data with IEC958 header will fit into frames samples size ↵Kirill Belokurov
and send it without IEC958 header otherwise - so the receivers can autodetect the raw DTS stream. --HG-- extra : transplant_source : %7C%02Vm-%DF%B4%CD%8B%B9U3%A7%B9%EDT%3CZ%91%81
2008-02-28Unbreak xcbxv port auto-detection (broken in cset f03669a2395d).Darren Salt
2008-02-25When auto-detecting Xv ports, prefer port nos. >= configured.Darren Salt
(Transplanted from f03669a2395d97a3e40615db1089af084a69d299)
2008-02-25When auto-detecting Xv ports, prefer port nos. >= configured.Darren Salt
2008-02-25Add more VO_CAP_* to indicate support for colour controls & zoom properties.Darren Salt
--HG-- extra : transplant_source : %C2%84%E8%0E%FD%DE%D3%3E%FB%B8%AF%F3%80a%5E%B3v%C5%8B%08
2008-02-22added patch for 16bit big endian DTS detectionKirill Belokurov
--HG-- extra : transplant_source : %5C%D4ln%1C%B8Up%88%96R%09%1A%05HQ%3C%F8%CE%08
2008-02-20Off-by-one in the FLAC security fix, breaking playback of some files.Darren Salt
2008-02-18Timecode diff is signed.Thibaut Mattern
Should fix bug 35. --HG-- extra : transplant_source : %DD%95%9F%A7%8D%01%BD%98%40%E4R%AAW%F2%ED%93%B2%DE%1A%E9
2008-02-18merge backoutThibaut Mattern
2008-02-18merge backoutThibaut Mattern
2008-02-18Backed out changeset 698d30889b29Thibaut Mattern
id3v2_istag has not the same signature in 1.1 and 1.2.
2008-02-17nvidia driver uses XV_SYNC_TO_VBLANK attribute, not XV_DOUBLE_BUFFER as xine ↵Miguel Freitas
expected. add code to set this attribute from xine and mention nvidia-settings, since the user may need to select a sync device as well.
2008-02-16Take in account the size of the extended header.Thibaut Mattern
--HG-- extra : transplant_source : %C0%D71D1%8CQ%889P%21%20%D7%F7%B5%F2T%FE%88%FA
2008-02-15Fixed endianess problem.Thibaut Mattern
This should allow big ID3v2 tag to be parsed (i mean tags with embedded pictures).
2008-02-15Fixed endianess problem.Thibaut Mattern
This should allow big ID3v2 tag to be parsed (i mean tags with embedded pictures). (transplanted from ebb0d5507d3208f8e73af78f912230719d37830a) --HG-- extra : transplant_source : %EB%B0%D5P%7D2%08%F8%E7%3A%F7%8F%91%220q%9D7%83%0A
2008-02-15Don't unlock unconditionally the mainloop on failure.Diego 'Flameeyes' Pettenò
2008-02-14Fixed mp3 sniff code.Thibaut Mattern
Fixed bug 4 sample playback (nilbymouthclapton.112.mp3).
2008-02-11Merge from 1.1.Darren Salt
2008-02-09Remove some unnecessary tests (which the compiler would discard).Darren Salt
2008-02-08Avoid a build failure (affects gcc 4.0 on x86_32).Darren Salt
2008-02-08Merge from 1.1.Darren Salt
2008-02-07Merge; mark 1.1.11.Darren Salt
2008-02-07Improve detection of MP3 streams with ID3v2 tags. Don't trust the tag size.Thibaut Mattern
2008-02-07Add length checking in the FLAC metadata-parsing code.Darren Salt
Make the tracknumber/tracktotal buffer larger (possible overflow).