Commit Graph

62 Commits

Author SHA1 Message Date
Anthony Jones
f574bb0e2e Bug 1050814 - Fix duration reporting in MP4; r=edwin 2014-08-19 14:13:58 +12:00
Anthony Jones
cc7b452600 Bug 1054153 - Fix MP4 demuxer is init vs buffered range race; r=edwin 2014-08-19 14:13:56 +12:00
Anthony Jones
dfffe06cbd Bug 1049133 - Calculate eviction offset for MP4 instead of guessing; r=kinetik,edwin 2014-08-19 14:13:55 +12:00
Jean-Yves Avenard
ee64078bc7 Bug 1022501 - Add MP3 support to MP4 demuxer. r=edwin
--HG--
rename : content/media/fmp4/eme/EMEAACDecoder.cpp => content/media/fmp4/eme/EMEAudioDecoder.cpp
rename : content/media/fmp4/eme/EMEAACDecoder.h => content/media/fmp4/eme/EMEAudioDecoder.h
rename : content/media/fmp4/ffmpeg/FFmpegAACDecoder.cpp => content/media/fmp4/ffmpeg/FFmpegAudioDecoder.cpp
rename : content/media/fmp4/ffmpeg/FFmpegAACDecoder.h => content/media/fmp4/ffmpeg/FFmpegAudioDecoder.h
extra : rebase_source : 964077ffa7abd11a5da586bfcdee2ee98d4bc210
2014-08-15 16:25:06 +10:00
Ryan VanderMeulen
deaa74fb0e Backed out changesets b8e0173c9c47, b087e84a99f1, and 66c055120ca7 (bug 1049133) for Android and B2G bustage.
CLOSED TREE
2014-08-17 22:28:34 -04:00
Anthony Jones
fce84186cc Bug 1049133 - Calculate accurate MP4 eviction offset; r=edwin 2014-08-18 13:02:27 +12:00
Anthony Jones
05417ba36f Bug 1054144 - Support 'tfdt' in MP4 parser; r=edwin 2014-08-18 13:02:22 +12:00
Anthony Jones
02954d544b Bug 1051666 - Add avc3 atom support to MP4 parser; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
89cf34962d Bug 1050060 - Optimise MP4 range calculation; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
154a8d9e7b Bug 1050060 - Clean up MP4 index fields; r=edwin 2014-08-13 17:13:27 +12:00
Blake Wu
fe63f52d3d Bug 941302 - Part 4: Changes in demuxer to make aac_profile public. r=ajones
From 3d24ae2e30a7d53387b2e08cf3562f343cf99123 Mon Sep 17 00:00:00 2001
2014-08-07 18:17:48 +08:00
Anthony Jones
53b97c265f Bug 1048517 - Initialised potentially uninitialised variables; r=cpearce 2014-08-07 16:40:01 +12:00
Chris Pearce
332c531212 Bug 1049309 - Remove no-op code in libstagefright. r=kentuckyfriedtakahe 2014-08-07 12:03:38 +12:00
Mike Hommey
62e4d2c740 Bug 1048064 - Fix libstagefright build on GNU/kFreeBSD. r=ajones 2014-08-05 16:07:28 +09:00
Anthony Jones
e7ff4e143d Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 18:12:48 +12:00
Wes Kocher
8690584308 Backed out 2 changesets (bug 1045909, bug 1045915) for build failures
Backed out changeset 70e3d6723e8e (bug 1045909)
Backed out changeset d137dd97d955 (bug 1045915)
2014-08-04 19:18:34 -07:00
Anthony Jones
1d729bea82 Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 13:35:04 +12:00
Jean-Yves Avenard
dd0783ff84 Bug 1046549 - Ignore mdat unless we've already found a media track. r=kentuckyfriedtakahe 2014-07-31 18:54:12 +12:00
Ralph Giles
a998be842d Bug 941296 - h.264 platform decoder for OS X. r=cpearce
Implement an h.264 decoder using Apple's VideoToolbox framework.
Based on gstreamer's vtdec because there's very little documentation
for this API beyond the framework's header file.

Reuse the MOZ_APPLEMEDIA define from the mp3 decoder.

AAC decoding is stubbed to use the BlankDecoderModule's 440A tone.

Provide a stub header for the VideoToolbox framework and load
it dynamically at run time so we can build and run on versions
prior to MacOS X 10.8 where it's not available.

Dynamically load the CoreMedia framework as well, but build
against its headers since it's available on MacOS X 10.7 or
later, which is our minimum build version.
2014-07-24 13:47:00 -07:00
Anthony Jones
5f8aaaf71d Bug 1044714 - Add MP4 parser 'trex' atom support; r=edwin 2014-07-28 16:32:51 +12:00
Anthony Jones
47f2e5fc02 Bug 1044713 - Modify MP4 metadata parser to make it less sensitive to atom ordering; r=edwin 2014-07-28 16:32:50 +12:00
Anthony Jones
9b31f46826 Bug 1039128 - Fix drain of video queue 2014-07-25 14:57:25 +12:00
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Chris Pearce
5861c7b726 Bug 1041368 - Make MP4 demuxer correctly store the size of plain_sizes data. r=kentuckyfriedtakahe 2014-07-21 14:02:20 +12:00
Chris Pearce
98d143db73 Bug 1041346 - Remove MediaBufferGroup from libstagefright, since it's no longer used. r=kentuckyfriedtakahe 2014-07-21 14:00:42 +12:00
Chris Pearce
cf9816beca Bug 1041346 - Don't limit number of samples stagefright mp4 demuxer can output. r=kentuckyfriedtakahe 2014-07-21 14:00:32 +12:00
Anthony Jones
5c85a17e7f Bug 1022434 - Extract crypto information from MP4 demuxer; r=cpearce
* * *
Bug 1022434 - "[EME] Expose decryption data in MP4Samples" []
2014-07-18 15:36:04 +12:00
Wes Kocher
e291538b20 Backed out changeset daa82439f77f (bug 1022434) for build bustage 2014-07-17 20:03:18 -07:00
Anthony Jones
957b12d621 Bug 1022434 - Extract crypto information from MP4 demuxer; r=cpearce
* * *
Bug 1022434 - "[EME] Expose decryption data in MP4Samples" []
2014-07-18 14:37:43 +12:00
Carsten "Tomcat" Book
eed56f67d8 Backed out changeset 929cc6239d79 (bug 1022434) for bustage 2014-07-17 06:52:32 +02:00
Anthony Jones
991f83aba3 Backed out cset 588a03cd4e27 bug 1022434 2014-07-17 16:47:21 +12:00
Carsten "Tomcat" Book
e28c49c961 Backed out changeset 588a03cd4e27 (bug 1022434) for bustage on a CLOSED TREE 2014-07-17 06:45:20 +02:00
Anthony Jones
438d2467e0 Bug 1022434 - Extract crypto information from MP4 demuxer; r=cpearce
* * *
Bug 1022434 - "[EME] Expose decryption data in MP4Samples" []
2014-07-17 16:27:13 +12:00
Ralph Giles
3b047d243c Bug 1037689 - Document MP4Sample timestamp units. r=ajones
These look to be returning values in microseconds, already
adjusted by the stream's internal timescale.
2014-07-14 14:19:00 -07:00
Anthony Jones
c1f7c9decd Bug 1035059 - Add input padding for libav; r=edwin 2014-07-11 18:43:59 +12:00
Anthony Jones
c8cf40eb54 Bug 1034444 - Fix libstagefright warnings; r=cpearce 2014-06-02 17:38:04 +02:00
Anthony Jones
86cdad1007 Bug 1034444 - Make MP4Reader::GetBuffered() accurate; r=edwin,cpearce 2014-06-02 17:38:04 +02:00
Chris Peterson
d525daa0dc Bug 1031978 - Suppress -Wmismatched-tags clang warnings in third-party code: libstagefright. r=cajbir 2014-06-29 20:12:38 -07:00
Anthony Jones
ab6dbf1a7a Bug 1027875 - Remove Annex B assertion; r=cpearce 2014-07-04 20:31:19 +12:00
Anthony Jones
5956115649 Bug 1027875 - Fix CTS offset processing in fMP4; r=cpearce 2014-07-04 20:31:19 +12:00
Chris Pearce
06503f03bb Bug 1029824 - Fix AVCC to AnnexB conversion code for non-4 length NAL sizes and multiple NAL per samples. r=kentuckyfriedtakahe 2014-06-26 15:43:14 +12:00
Ralph Giles
79b23c4048 Bug 1019291 - Construct Annex B samples in the decoder. r=cpeace
Move Annex B sample formatting from the demuxer to a
static utility function. Return NAL unit syntax
samples by default, since more platforms prefer to
unpack the AVCC data themselves.

Pass the raw AVCC payload to ffmpeg through its extradata
field. It can handle either sample format, expecting one or
the other depending on whether extradata is present.

Pass input samples through a new WMFOutputSource::Input
method. Save a reference to the VideoDecoderConfig in the
WFMVideoOutputSource and use it to convert samples to
Annex B before forwarding them to the MFTDecoder.
2014-06-19 15:59:00 -07:00
Birunthan Mohanathas
a83d1bbd15 Bug 1026535 - Disable C4099 warning in 3rd party code. r=ehsan 2014-06-19 14:42:00 -04:00
Anthony Jones
4fed04b6df Bug 1020679 - Guard against MP4 /0 for timescale. r=cpearce 2014-06-17 13:52:03 +12:00
Anthony Jones
70f58351d1 Bug 1020679 - Fix MP4 demuxer duration. r=cpearce 2014-06-06 16:19:29 +12:00
Anthony Jones
fa4301f766 Bug 1016150 - Fix Windows date assert in libstagefright demuxer; r=cpearce 2014-06-09 18:07:46 +12:00
Jacek Caban
716717fb10 Bug 1018905 - Fix media/libstagefright compilation on mingw. r=ajones
--HG--
extra : rebase_source : 9f89d48a4985bda9611ff39b90955d026e173808
2014-06-03 13:26:07 +02:00
Chris Peterson
1c51032add Bug 1017110 - Suppress warnings in third-party code: libstagefright. r=cajbir
--HG--
extra : rebase_source : 7bb135a1ac1cdeda748fcfb6a2a6283807259e80
2014-05-26 22:31:34 -07:00
Anthony Jones
fc378f051a Bug 1014814 - Fix Android log r=glandium 2014-05-26 09:20:56 +12:00
Jan Beich
6966cac66c Bug 1014613 followup - Add one more fix for OpenBSD. 2014-05-26 16:05:53 +12:00