aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-07[ffmpeg/patches] Add backported mpegts optimisationspopcornmix
2013-08-07[ffmpeg] - backport - mpegts: Remove one 64-bit integer modulus operation ↵Ben Avison
per packet The common case of the pointer having increased by one packet (which results in no change to the modulus) can be detected with a 64-bit subtraction, which is far cheaper than a division on many platforms. Before After Mean StdDev Mean StdDev Change Divisions 248.3 8.8 51.5 7.4 +381.7% Overall 2773.2 25.6 2372.5 43.1 +16.9% Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-07[ffmpeg] - backport - mpegts: Make discard_pid() faster for single-program ↵Ben Avison
streams When a stream contains a single program, there's no point in doing a PID -> program lookup. Normally the one and only program isn't disabled, so no packets should be discarded. Before After Mean StdDev Mean StdDev Change discard_pid() 73.8 9.4 20.2 1.5 +264.8% Overall 2300.8 28.0 2253.1 20.6 +2.1% Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-07[ffmpeg] - backport - mpegts: Remove one memcpy per packetBen Avison
This was being performed to ensure that a complete packet was held in contiguous memory, prior to parsing the packet. However, the source buffer is typically large enough that the packet was already contiguous, so it is beneficial to return the packet by reference in most cases. Before After Mean StdDev Mean StdDev Change memcpy 720.7 32.7 649.8 25.1 +10.9% Overall 2372.7 46.1 2291.7 21.8 +3.5% Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-07[ffmpeg] - backport - avio: Add an internal function for reading without copyingBen Avison
As long as there is enough contiguous data in the avio buffer, just return a pointer to it instead of copying it to the caller provided buffer. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-07Merge pull request #3071 from popcornmix/uninit_audiohuceke
[rbp/omxplayer] Fix uninitialised variable that can lose audio packet
2013-08-07[rbp] Fix type of transform parameter to match latest firmwarepopcornmix
2013-08-07[rbp/omxplayer] Fix uninitialised variable that can lose audio packetpopcornmix
The uninitialised variable meant the first run through Decode goes through the non-passthrough path (when passthrough) and so doesn't get correctly submitted and is discarded
2013-08-07[rbp/omxplayer] Apply deinterlace changes immediatelypopcornmix
Currently on Pi the deinterlace state is only sampled when opening the player. This means to change deinterlace settings, you need to change in the video OSD then manually quit and restart the video. This commit detects a change in current deinterlace settings and closes and opens the video player which applies the setting. For seekable streams, seeking to "now" makes the video restart quicker. Without the seek, the video does reappear, but takes a number of seconds
2013-08-07[rbp/omxplayer] Support frame advance with right arrow when pausedpopcornmix
It seems this is desired behaviour for xbmc, and works okay on Pi, so enable it.
2013-08-07[rbp/omxplayer] Avoid flushing fifos when audio/video fifos out of syncpopcornmix
This was intended to be a never happens event that could reset the state when something bad happens. However it does trigger in some reasonable cases (like audio codec change) and makes things worse.
2013-08-07Merge pull request #3067 from popcornmix/fix_compile_maxMartijn Kaijser
[rbp/omxplayer] Fix build error in types for max
2013-08-07[rbp/omxplayer] Fix build error in types for maxpopcornmix
It seems there is a compile error when STDINT_H_AVAILABLE is not defined. See: http://raspbmc.apt-get.eu/downloads/bin/xbmc/nightlies/xbmc-rbp-20130710.log
2013-08-07[cosmetics] - get rid of some checks for _WIN32 and replace them with proper ↵Memphiz
TARGET_WINDOWS checks
2013-08-07Merge pull request #3038 from popcornmix/improve_ffrewMartijn Kaijser
[rbp/omxplayer] Fixes for trickplay
2013-08-07[osx/ios/atv2] - sync xcode projectMemphiz
2013-08-07Merge pull request #2981 from cptspiff/cmake-rulesArne Morten Kvarving
added: generate and install cmake helpers for addons
2013-08-07added: generate and install cmake helpers for addonsspiff
2013-08-07Merge pull request #3061 from MartijnKaijser/xbox_legacy_dvdArne Morten Kvarving
remove check if running from DVD
2013-08-07uri: use of protocol tags to deduce if parent needs to be checkedJoakim Plate
2013-08-07apk: tag filesystem as having parent in hostnameJoakim Plate
2013-08-07url: CURL::GetWithoutUserDetails would return non encoded hostnameJoakim Plate
For rar/zip and similar with an expected url encoded path in their hostnames, CURL::GetWithoutUserDetails would return an invalidly formatted non encoded hostname.
2013-08-07Merge pull request #3014 from bfg1981/masterJoakim Plate
Avoid overflow warning during compilation. Note the warning is invalid. But it doesn't hurt to range check the input variable before it is compared to the lengths of the internal buffers.
2013-08-07jsonrpc: fix "size" property from Files.GetDirectory overflowing and not ↵montellese
returning bytes
2013-08-07jsonrpc: fix "mimetype" being empty in Files.GetDirectorymontellese
2013-08-07Merge pull request #2895 from verybadsoldier/masterMemphiz
Fix for SMB shares after suspend
2013-08-07[cosmetics] update copyright headerMartijn Kaijser
2013-08-06Merge pull request #3043 from Voyager1/xml-empty-stringvaluesjmarshallnz
Allow empty String values to be read in XML tags
2013-08-06Merge pull request #3048 from FernetMenta/spdifMartijn Kaijser
ActiveAE: limit sampling rate to 48khz on SPDIF
2013-08-06Merge pull request #3036 from aballier/libavhacksAlexis Ballier
Add a libav compatibility layer with --enable-libav-compat
2013-08-06libav hacks: define AVFORMAT_HAS_STREAM_R_FRAMERATE to give it a dummy accessor.Alexis Ballier
2013-08-06Fix swr_get_delay computation from libavresample API.Alexis Ballier
2013-08-06DllAvCodec: Remove now unused LIBAVCODEC_FROM_* macros.Alexis Ballier
2013-08-06DVDFactoryCodec: Remove pointless libav #ifery and improve the libav_hacks.hAlexis Ballier
hackery so that it actually compiles with libav.
2013-08-06DVDOverlayCodecText: Remove libav compat #ifery and move it to libav_hacks.hAlexis Ballier
2013-08-06DVDOverlayCodecFFmpeg.cpp: Remove pointless #ifery since we require a recent ↵Alexis Ballier
enough FFmpeg anyway.
2013-08-06DllAvFilter.h: Drop checks for libav and factorize some #if / #else. Those ↵Alexis Ballier
are now done in libav hacks.
2013-08-06DVDVideoCodecFFmpeg: Drop usage of LIBAVFILTER_FROM_* and use ↵Alexis Ballier
LIBAVFILTER_AVFRAME_BASED instead.
2013-08-06Remove avfilter_graph_parse hacks for libav and move it to libav hacksAlexis Ballier
2013-08-06Move libav check for libavfilter being avframe based to libav_hacks.hAlexis Ballier
2013-08-06DllAvUtil: Drop libav hacks and move them to libav_hacks.h.Alexis Ballier
2013-08-06ActiveAE: Replace deprecated CODEC_ID by AV_CODEC_ID.Alexis Ballier
The former does not build with FFmpeg 2.0 and I somehow missed this reading the code. Maybe I should remove the compatibility layer with the old names in the internal FFmpeg to prevent this to happen again.
2013-08-06Use av_stream_get_r_frame_rate instead of accessing avstream->r_frame_rate whenAlexis Ballier
available. From avformat.h: * Code outside avformat should access this field using: * av_stream_get/set_r_frame_rate(stream)
2013-08-06DllAvFormat: map av_stream_get_r_frame_rate when available.Alexis Ballier
2013-08-06Introduce a libav-hacks library to wrap a compatibility layer with libav.Alexis Ballier
This copies/pastes some code from FFmpeg but at least allows us to support the fork.
2013-08-06DllSwResample: Clean up libavresample support that is broken anyway.Alexis Ballier
2013-08-06Add a fake .pc file for libswresample -> libavresampleAlexis Ballier
2013-08-06configure: Add --enable-libav-compat option.Alexis Ballier
2013-08-06configure, external ffmpeg: Drop check for libavresample.Alexis Ballier
2013-08-06remove check if running from DVD. this is XBOX legacy which isn't used anymoreM. Kaijser