Commit Graph

1058 Commits

Author SHA1 Message Date
janekptacijarabaci a9950bb7d3 DevTools - Storage - throws an error (fixed merge conflict) 2018-07-25 06:21:15 +08:00
trav90 bfafa7aaa9 Properly assign the decoded sample duration
We default to the previous logic if for some unlikely condition we couldn't find the frame's duration (using the last input frame's duration).
2018-07-25 06:21:14 +08:00
trav90 0ab9d0b05a Properly set the keyframe flag
We were incorrectly setting the keyframe flag of the last input sample rather than of the decoded one.
2018-07-25 06:21:12 +08:00
trav90 0a7eb3d9c0 Use LibAV/FFmpeg logic to detect invalid pts
The logic was extracted from LibAV cmdutils.c. FFmpeg provides an API for that (av_frame_get_best_effort_timestamp()) unfortunately this isn't provided by LibAV.
So copy the logic instead in order to keep compatibility with the two forks.
2018-07-25 06:21:09 +08:00
trav90 61c7b38e08 Fix pts calculation in FFmpeg video decoder 2018-07-25 06:21:08 +08:00
trav90 0f0d8c765b Have FFMpegDecoderModule properly return if a codec is supported
Our current PlatformDecoderModule::SupportsMimeType implementations only check for support by performing a lookup on the mimetype as a strink and always assume that the underlying decoder is usable and is working.

This is an invalid assumption; especially with the FFMpeg decoder that may not be compiled with some particular codec support (like if it was compiled with --disable-nonfree).
2018-07-25 06:21:06 +08:00
JustOff 4f62ea8f31 resize indicator according #741 2018-07-25 06:21:04 +08:00
JustOff 46a165392e tooltips update 2018-07-25 06:21:03 +08:00
JustOff f4838d520c tab->space typo 2018-07-25 06:21:01 +08:00
Pale Moon af08825797 Disable unicode-ranges on anything but Windows.
This code is apparently not working yet on *nix, because it uses its own font list system.
Additionally, SSUAO required for Google Fonts on *nix because they don't do anything but UA sniffing. *sigh*
2018-07-25 06:20:59 +08:00
trav90 e3750943c9 Add assignment operators to mozilla::Pair 2018-07-25 06:20:58 +08:00
trav90 23e066c1f2 Allow copying of mozilla::Pair objects 2018-07-25 06:20:56 +08:00
trav90 a541823568 Add an equivalent of std::make_pair for mozilla::Pair
BMO 1142366
2018-07-25 06:20:54 +08:00
Pale Moon 1f96ef4237 Version bump 2018-07-25 06:20:52 +08:00
Pale Moon a15843bbfd Fix DOM storage writes to tabs in restored sessions.
This might previously throw in case of tab migration from an old version session.
It'll still throw in case of invalid DOM storage data (when migrating) but should solve the "can't restore tab contents" issue present in 27.0.x
2018-07-25 06:20:50 +08:00
janekptacijarabaci db86b9f871 Minor fix: Some sites - throws an errors 2018-07-25 06:20:49 +08:00
JustOff d260a1de06 Revamp extension target indicators for tooltip support (alternative) 2018-07-25 06:20:46 +08:00
Pale Moon 26c3282e7f Re-apply Pale Moon net error page styling. (regression fix) 2018-07-25 06:20:44 +08:00
Pale Moon 69e09fb1c8 Align overrides/appstrings.properties with /docshell neterror.
This resolves #738.
2018-07-25 06:20:42 +08:00
janekptacijarabaci 9e5eb7f246 DevTools - Web Audio - throws a warning 2018-07-25 06:20:41 +08:00
janekptacijarabaci 6549666b14 DevTools - Canvas Debugger - throws an error 2018-07-25 06:20:39 +08:00
janekptacijarabaci f6852833d0 Minor fix - about:telemetry - throws an error 2018-07-25 06:20:37 +08:00
janekptacijarabaci d0ad29c256 DevTools - Telemetry - remove 2018-07-25 06:20:35 +08:00
trav90 8b514b3576 Revert "Use demuxed dimensions to determine picture size and offset"
Causes build bustage. Also doesn't apply to H.264 video (which is currently our only use for FFmpeg).
2018-07-25 06:20:33 +08:00
Pale Moon 8fcef36616 Make sure that a block element following left float clears it when it can't fit next to it.
(2009 BMO bug)

This resolves #732
2018-07-25 06:20:31 +08:00
Pale Moon 72ef51f79c Crash fix: SVG+SMIL animation timing crash (DiD). 2018-07-25 06:20:29 +08:00
Mike Kaply 7a9392fe21 Fallback to ASCII if AutoConfig UTF-8 conversion fails. 2018-07-25 06:20:27 +08:00
Pale Moon 1569ca50c1 Update firefox appcompat version in XPI installer. 2018-07-25 06:20:25 +08:00
trav90 c09f5b9f68 Use demuxed dimensions to determine picture size and offset
Don't assume it always has an offset of (0,0)
2018-07-25 06:20:23 +08:00
trav90 cdd9c93bb6 Delete codec context upon initialization failure 2018-07-25 06:20:21 +08:00
trav90 c6fce7f64d Always request 16 bits audio for libavcodec 53 2018-07-25 06:20:19 +08:00
Lootyhoof 961dc66766 Ensure config.css is preprocessed 2018-07-25 06:20:17 +08:00
Lootyhoof 7b32eeeac3 Restore classic about:config styling 2018-07-25 06:20:15 +08:00
janekptacijarabaci 49273ed290 [Suggestion] Minor fix: about:support - Show Update History (BuildID == null) 2018-07-25 06:20:13 +08:00
trav90 a5de85d358 Use getter to access MediaRawData mData and mSize member in WMFVideoMFTManager 2018-07-25 06:20:11 +08:00
trav90 9992910055 Support YUV420J pixel format
YUV420J is 12bpp YUV420P.
2018-07-25 06:20:10 +08:00
Pale Moon caf1dee052 Correct branding typo + update unstable branding. 2018-07-25 06:20:07 +08:00
janekptacijarabaci 1448162612 Minor fix: DevTools - Responsive Design - throws an errors 2018-07-25 06:20:05 +08:00
trav90 6b219443fd Remove dependency on libavformat
When searching for ffmpeg or libav we currently look for libavformat and search for a specific version. We have no use for the libavformat library as we only use libavcodec and (indirectly) libavutil. The version numbering in libavformat is also completely irrelevant for our use.

With this commit, we will look for libavcodec instead.
2018-07-25 06:20:04 +08:00
trav90 45c02334a5 Fix FFmpeg shutdown crash should decoder not be initialised 2018-07-25 06:20:02 +08:00
trav90 c945261c27 Prevent potential null deref when flushing FFmpeg decoder 2018-07-25 01:31:43 +08:00
trav90 52c9efbf75 Request S16 audio for libav 0.8 and earlier 2018-07-25 01:31:42 +08:00
trav90 b20af88870 Work around bug in some versions of LibAV
When multi-threading decoding is enabled; the frames dimensions were incorrectly set with some versions of LibAV.
2018-07-25 01:31:40 +08:00
trav90 f5157f3254 Add method to determine which version of libavcodec is available 2018-07-25 01:31:38 +08:00
trav90 8492676d0d Fix image alignment allocation 2018-07-25 01:31:36 +08:00
trav90 2c5c4a6d69 Fix pts calculations in older LibAV versions 2018-07-25 01:31:34 +08:00
trav90 4699afe3ca Use libavformat-ffmpeg.so.56 if available
Some Debian based distro's install FFmpeg as libavformat-ffmpeg.so.56 alongside LibAV.
2018-07-25 01:31:32 +08:00
trav90 cd3a76330b Check whether H264Converter created its decoder successfully 2018-07-25 01:31:31 +08:00
trav90 189e888c2a Make the "-disable-precompiled-startupcache" option actually work 2018-07-25 01:31:29 +08:00
Mingcong Bai 43bbf29df6 aboutDialog: do not capitalize bit 2018-07-25 01:31:27 +08:00