summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-10-13mkv fix: null dereferences, skipping of unknown elementsLorenzo Desole
2011-10-10xine_check: check vasprintf() return valuePetri Hintukainen
2011-10-10Marked _x_canonicalise_url() with XINE_MALLOC attributePetri Hintukainen
2011-10-09Removed ' from preprocessor macroPetri Hintukainen
2011-10-10corrected typos in src/post/audio/stretch.c and ↵Chad Dunlap
src/post/deinterlace/xine_plugin.c
2011-10-08Build fix for Fedora with external FFmpeg.Jose Alberto Reguero
2011-10-06Merge from 1.1.Darren Salt
--HG-- rename : src/xine-utils/attributes.h => include/xine/attributes.h
2011-10-06demux_ts: detect transport stream changes from PATPetri Hintukainen
* * * Make sure initial PAT is parsed even if it's crc is 0
2011-10-06demux_ts: Do not parse PAT unless it was changed (CRC)Petri Hintukainen
2011-10-06Cosmetics (fixed indent)Petri Hintukainen
2011-10-06demux_ts: always check if pid is PMT PIDPetri Hintukainen
2011-10-06demux_ts.c: always parse PATPetri Hintukainen
2011-10-05Bring xine_private.h into line with 1.2 branch, which already has this ↵Chris Rankin
capability, and force an error if someone tries to include xine_private.h in an unsuitable source file.
2011-10-05Merge commits which I've already merged from 1.1...Darren Salt
2011-10-05Merge from 1.1.Darren Salt
--HG-- rename : src/xine-engine/xine_internal.h => include/xine/xine_internal.h rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c
2011-10-04Merge from 1.1.Darren Salt
--HG-- rename : src/xine-utils/attributes.h => include/xine/attributes.h rename : src/xine-engine/xine_internal.h => include/xine/xine_internal.h rename : src/xine-utils/xineutils.h => include/xine/xineutils.h
2011-10-03Set CLOEXEC flag on three more sockets.Chris Rankin
There are two functions that actually set this flag: int _x_set_file_close_on_exec() int _x_set_socket_close_on_exec() (We need two functions because file descriptors and sockets are not the same under WIN32 - of course). These function belong to libxine's internal API, i.e. they are not available for use by plugins.
2011-10-03Prefix open_cloexec() and create_cloexec() with xine_, and add new ↵Chris Rankin
xine_socket_cloexec() function.
2011-10-03Add CLOEXEC support for VDR plugin, plus a few extra descriptors.Chris Rankin
2011-10-03Add CLOEXEC flag to DXR3 plugin's descriptors.Chris Rankin
2011-10-03Mark simple file and socket descriptors as uninheritable.Chris Rankin
This patch creates two utility functions: int open_cloexec(pathname, flags) int create_cloexec(pathname, flags, mode) These return a file descriptor with the CLOEXEC flag set, to ensure that the descriptor is not inherited across a fork/exec operation. The sockets returned by: _x_io_tcp_connect_ipv4() _x_io_tcp_connect() now also have their CLOEXEC flag set.
2011-10-01Merge from 1.1.Darren Salt
--HG-- rename : src/libdts/xine_dts_decoder.c => src/audio_dec/xine_dts_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/audio_dec/xine_musepack_decoder.c
2011-10-03Set CLOEXEC flag on three more sockets.Chris Rankin
There are two functions that actually set this flag: int _x_set_file_close_on_exec() int _x_set_socket_close_on_exec() (We need two functions because file descriptors and sockets are not the same under WIN32 - of course). These function have been assigned "internal" visibility so that they can be used throughout libxine.so itself while still not being exported to the global symbol table. In other words, they're both as close to being "static" as I can make them.
2011-10-03Prefix open_cloexec() and create_cloexec() with xine_, and add new ↵Chris Rankin
xine_socket_cloexec() function.
2011-10-03Add CLOEXEC to another descriptor. (Merge from 1.2 branch).Chris Rankin
2011-10-03Assign O_CLOEXEC a safe default value if it hasn't been defined already.Chris Rankin
2011-10-01Add CLOEXEC flag to DXR3 plugin's descriptors.Chris Rankin
2011-10-01Mark simple file and socket descriptors as uninheritable.Chris Rankin
This patch creates two utility functions: int open_cloexec(pathname, flags) int create_cloexec(pathname, flags, mode) These return a file descriptor with the CLOEXEC flag set, to ensure that the descriptor is not inherited across a fork/exec operation. The sockets returned by: _x_io_tcp_connect_ipv4() _x_io_tcp_connect() now also have their CLOEXEC flag set.
2011-09-26Merge from 1.1. (Needs some testing.)Darren Salt
--HG-- rename : src/xine-engine/buffer.h => include/xine/buffer.h
2011-09-16ffmpeg video: do not require preview buffers for mpeg1/2Petri Hintukainen
2011-09-16Splitted ff_init_mpeg12_mode() from ff_handle_preview_buffer()Petri Hintukainen
2011-09-16minor optimizationPetri Hintukainen
2011-09-16libdts: simplify. Preview buffers are already ignored.Petri Hintukainen
2011-09-27Fixed mpeg2 decoding with ffmpeg.Petri Hintukainen
Codec was never opened when using mpeg12 mode.
2011-09-26demux_ts_adaptation_field_parse(): compile code used for conditional logging ↵Petri Hintukainen
(TS_LOG) only when condition is defined
2011-09-26demux_ts_adaptation_field_parse(): return -1 when there is no PCR (0 is ↵Petri Hintukainen
valid value for PCR)
2011-09-27ff_audio_open_codec(): initialize codec if it hasn't been initialized.Petri Hintukainen
This makes HEADERS optional for codecs that don't require extradata. imported patch 10124.diff
2011-09-27Splitted ff_audio_open_codec() from ff_audio_decode_data()Petri Hintukainen
imported patch 10123.diff
2011-09-27Splitted ff_audio_init_codec() from ff_audio_handle_header_buffer()Petri Hintukainen
imported patch 10121.diff
2011-09-27Splitted ff_audio_handle_header_buffer() from ff_audio_decode_data()Petri Hintukainen
imported patch 10120.diff
2011-09-27ffmpeg audio: make sure decode_buffer is allocated only oncePetri Hintukainen
imported patch 10119.diff
2011-09-15ffmpeg audio: removed checks that are always true (context is allocated in init)Petri Hintukainen
imported patch 10116.diff
2011-09-15ffmpeg audio: make sure context is allocated only oncePetri Hintukainen
imported patch 10115.diff
2011-09-16Fixed "warning: cast from pointer to integer of different size"Petri Hintukainen
2011-09-16Simplify: check for BUF_FLAG_SPECIAL only once. Splitted special buffer ↵Petri Hintukainen
handling to separate function.
2011-09-13Merge.Darren Salt
2011-09-11Update parsing of program numbers from PATs.Chris Rankin
The order of programs is assumed not to change among otherwise identical PATs. (Not an unreasonable assumption).
2011-09-11demux_ts_buffer_pes() is called for video, audio and DVBSUB packets only.Chris Rankin
So why does it try to handle SPU_DVD packets? DVB subtitles don't seem to work yet anyway.
2011-09-12Count preview frames separately for all audio and video streams.Chris Rankin
Otherwise we risk not marking the first audio frame in each stream with BUF_FLAG_HEADER. This is the final fix for https://bugs.xine-project.org/show_bug.cgi?id=403
2011-09-10Remove the attempt to auto-detect audio/video streams from the MPEG-TS.Chris Rankin
The only way to identify which codec a stream is using is to wait for a PMT, at which time we know all the PIDs anyway. The codec ID is in no way related to (0x100 + stream ID), which is what this code was trying to do. Such a codec ID just hits the default path of "Unknown, using MPEG instead".