Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-08-22 | Audio crash fix | Torsten Jager | |
Audio decoder loop creates a sorted map of available audio channels on the fly. If neither user nor dvdnav intervene, it will pass the first (= lowest index) audio channel to decoders. Now imagine a TV recording with 2 audio channels: audio.0: eac3 5.1 (fra) audio.1: eac3 stereo (qaa) By chance, first audio frame to be demuxed is for channel #1. Track map will be [0]: eac3, channel 1 Audio loop opens ffmpeg audio decoder / stereo out. Fine. Then, first frame for channel #0 comes in. [0]: eac3, channel 0 [1]: eac3, channel 1 Both are same codec, so audio loop just switches to channel 0 without further notice. Audio decoder then runs into a mem leak, or worse, crashes audio out who still thinks we're only stereo. Whenever we insert something at track map index 0, and its going to be auto-selected later, reset current codec type. This forces a clean decoder/output switch. | |||
2011-08-13 | rv30 & rv40 support | Torsten Jager | |
2011-08-13 | VP8 support | Torsten Jager | |
2011-08-13 | ffmpeg audio crash fix (sse2 alignment) | Torsten Jager | |
Certain ffmpeg audio decoders use 32 bit float samples internally (wma, eac3, ...). They are then exported to the calling application as 16 bit integer. That conversion is done by faster sse2 code if your processor supports it. However, sse2 instructions require data buffers to be 16 byte aligned, or hit a segfault otherwise. Plain malloc() / realloc() ensures only 8 byte alignment, giving a 50% chance of a crash. FFmpeg internally uses aligned buffers a lot. It seems to be a good idea to do likewise for input buffers as well, even if current version does not strictly need it yet. Libavutil/av_realloc() has a bug that can break the alignment when enlarging an existing buffer. Thus I included a fixed version of it within ff_audio_decoder.c. | |||
2011-08-10 | Merge. | Darren Salt | |
2011-08-09 | Cosmetics: reordered functions | Petri Hintukainen | |
2011-08-09 | ffmpeg VC-1: scan for extradata (sequence header) from preview buffers | Petri Hintukainen | |
2011-08-14 | Fixed multithreaded decoding with lavc >= 52.112.0. | Petri Hintukainen | |
avcodec_thread_init() was deprecated in lavc 52.112.0 (2011-02-09) | |||
2011-08-23 | Logic error with AC3 demuxer | Chris Rankin | |
This is a small mistake, but I'm fairly sure the index should be "j" and not "i". | |||
2011-08-02 | demux_ts: Added defines for PMT stream info descriptors | Petri Hintukainen | |
2011-07-18 | Fixed small typo in src/audio_out/audio_directx2_out (LP #810407) | Kent Baxley | |
2011-07-18 | demux_ts: commented out PCM inside PS1 | Petri Hintukainen | |
Demuxer does not send PCM header. Decoder can't handle raw PCM stream without configuration. | |||
2011-07-22 | demux_ts: packet content should be checked for AC3 syncword after checking ↵ | Petri Hintukainen | |
all descriptors | |||
2011-10-04 | Merge. | Chris Rankin | |
2011-10-04 | Import xine_private.h as needed, not as part of xine_internal.h. | Chris Rankin | |
2011-10-04 | fixed remaining compiler warnings from demuxers | Petri Hintukainen | |
2011-10-04 | demux_qt: check asprintf() return value | Petri Hintukainen | |
2011-10-04 | demux_ogg: check asprintf return value | Petri Hintukainen | |
2011-10-04 | demux_qt: fixed using uninitialized data | Petri Hintukainen | |
2011-10-04 | demux_real: fixed buffer size check | Petri Hintukainen | |
Check used (NULL) target pointer instead of length and would be always false | |||
2011-10-04 | demux_ts: save pcr pid from pmt | Petri Hintukainen | |
2011-10-04 | utils.c: fixed missing prototypes: unconditionally include xine_internal.h | Petri Hintukainen | |
_x_set_file_close_on_exec() and _x_set_socket_close_on_exec() prototypes were missing. We need the prototypes because of visibility attributes. | |||
2011-09-27 | demux_ts: removed sending of preview/header buffers. | Petri Hintukainen | |
Now all used decoders work without header/preview buffers. | |||
2011-10-04 | Add AAC LATM audio and CLOEXEC descriptors to ChangeLog. | Chris Rankin | |
2011-07-18 | demux_ts: added m2ts and mts file extensions | Petri Hintukainen | |
2011-08-02 | demux_ts: added buffer size checks to adaptation field parsing | Petri Hintukainen | |
2011-07-18 | Fixed writing outside of buffer when there are more than MAX_PIDS scrambled ↵ | Petri Hintukainen | |
pids. | |||
2011-07-22 | demux_ts: Added buffer size checks. Make sure buffer size is not set to ↵ | Petri Hintukainen | |
negative value (that results writing out of buffer when buffering payload). Check buffer size before checking substream header bytes. | |||
2011-07-16 | parse_pes_header(): eliminated local variable by simplifying the code that ↵ | Petri Hintukainen | |
skips pes header | |||
2011-07-16 | demux_ts: Fixed reading outside of buffer: check header length before ↵ | Petri Hintukainen | |
parsing pts. | |||
2011-07-16 | demux_ts: Fixed reading outside of buffer. Checking if pes header length == ↵ | Petri Hintukainen | |
6 is not enough ; anything less than 9 is invalid (header length byte at [8] can't be used if it is outside of buffer). Moved check to beginning of parse_pes_header() to avoid reading outside of buffer. | |||
2011-08-01 | demux_ts: removed unneeded check ((stream_id & 0xf0) == 0xe0 implies ↵ | Petri Hintukainen | |
stream_id >= 0xbc) | |||
2011-07-18 | Removed unneeded check | Petri Hintukainen | |
2011-07-15 | Factorized known audio pid search code | Petri Hintukainen | |
2011-07-15 | Removed unused parameter | Petri Hintukainen | |
2011-07-22 | demux_ts: Removed unused and write-only variables | Petri Hintukainen | |
2011-07-09 | Fixed 20-bit BluRay PCM audio. In this format samples are padded to 24 bits, ↵ | Petri Hintukainen | |
4 lowest bits are 0 --> Handle as 24-bit BluRay PCM. | |||
2011-07-09 | Fixed 24-bit BluRay PCM audio broken by commit 7b6c2dc0ac98. Samples are 24 ↵ | Petri Hintukainen | |
bit BE, not in DVD format. | |||
2011-07-09 | Composition descriptor state is only two bits | Petri Hintukainen | |
2011-07-09 | Cosmetics: reordered functions | Petri Hintukainen | |
2011-07-09 | Killed warnings | Petri Hintukainen | |
2011-07-09 | Fixed hiding subtitles: composition descriptor state has nothing to do with ↵ | Petri Hintukainen | |
hide/show. Hide overlay when there are no objects to display. | |||
2011-07-08 | Improved standard compilance: Drop cached data at epoch start or acquistion ↵ | Petri Hintukainen | |
point, not at end of display set | |||
2011-07-06 | Fix bad width in vdpau vc1 decoder | Jerome Lacarriere | |
2011-05-17 | Merge from 1.1. | Darren Salt | |
--HG-- rename : src/libxineadec/xine_lpcm_decoder.c => src/audio_dec/xine_lpcm_decoder.c | |||
2011-05-17 | Fix build with very recent copies of FFmpeg | Brad Smith | |
This is a backport of the 1.2 code that was commited to utilize the new API provided by FFmpeg for awhile now but this is especially important because the old API has been eliminated all together from said copies of FFmpeg. | |||
2011-05-17 | Fix build with relatively recent copies of FFmpeg | Brad Smith | |
Relatively recent copies of FFmpeg before the major API clean up have both the old SHA1 API and the new SHA (1/2) API so the recently added autoconf check will reject perfectly valid copies of FFmpeg. Also tweak the input_cdda code to make sure to use the new API and not include the compat macros if both the old and new API are around. | |||
2011-05-17 | Add one file which is needed to determine when to build more quietly. | Darren Salt | |
Reason is that this is, apparently, only tested with GNU make, so we're restricting it to that. | |||
2011-05-17 | Use "quietened" build if automake 1.11 was used. | Darren Salt | |
2011-05-16 | Missed a #define. | Darren Salt | |