Commit Graph

85 Commits

Author SHA1 Message Date
Jean-Yves Avenard
3fdefafdf7 Bug 1077264 - Keep searching until one correct fragment is found. r=kentuckyfriedtakahe 2014-10-04 10:55:46 +10:00
Jean-Yves Avenard
306594dd23 Bug 1076719 - Skip styp box at beginning of new fragment. r=kentuckyfriedtakahe 2014-10-02 20:27:07 +10:00
Daniel Holbert
c0871dfb92 Bug 1072062: Add parens around && within || in SampleTable.cpp, to pacify clang warning. r=edwin 2014-09-23 20:07:31 -07:00
Edwin Flores
b953fa9dff Bug 1044742 - Fix build bustage on a CLOSED TREE - r=bustage 2014-09-24 13:21:01 +12:00
Edwin Flores
ad43786d33 Bug 1044742 - Fix multiple track support for EME - r=cpearce 2014-09-24 10:04:49 +12:00
Edwin Flores
af6576a9da Bug 1066427 - Add Common Encryption support to the MP4 demuxer for non-fragmented MP4 files - r=kentuckyfriedtakahe 2014-09-24 10:04:48 +12:00
Edwin Flores
c9c77ae790 Bug 1066422 - Pass whole pssh boxes into CDM - r=kentuckyfriedtakahe 2014-09-24 10:04:48 +12:00
Ralph Giles
1747850822 Bug 1066319 - Reject mp4 files with unreasonable sample sizes. r=ajones
Don't believe the Sample Size Box if it declares too large a value.

The limit is four times the fallback voodoo constant for 1080p in
the stsz parser, to support UHD but not 8k video, per current limits
elsewhere.
2014-09-13 10:24:00 -07:00
Anthony Jones
647bb1c0fb Bug 1065850 - Read as little as possible to get the MP4 track metadata; r=rillian 2014-09-15 11:16:09 +12:00
Anthony Jones
23a21b3d2e Bug 1061079 - Make BufferStream work for a moving window; r=edwin 2014-09-11 15:57:33 +12:00
Anthony Jones
bbd6d5e8f3 Bug 1062514 - Fix range handling for regular MP4 with b-frames; r=rillian 2014-09-11 15:57:32 +12:00
Phil Ringnalda
231a486798 Backed out changeset b9e3a9f5d04a (bug 1036849) for build bustage, a=backout 2014-09-01 19:22:06 -07:00
Anthony Jones
a1e2cbc462 Bug 1036849 - Share a single MediaSourceReader; r=edwin; a=philor 2014-09-02 13:42:39 +12:00
Anthony Jones
521d1bcd79 Bug 1060704 - Save MP4 init segment for later; r=kinetik 2014-09-01 20:45:48 +12:00
Anthony Jones
d8db640996 Bug 1060182 - Cache MP4 buffered ranges; r=cpearce 2014-09-01 20:45:46 +12:00
Ehsan Akhgari
a3e58b5225 Bug 1061051 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : c3d5f6a1cc95f4a7f123129e14a9a0c57d00ef38
2014-08-31 23:50:59 -04:00
Ehsan Akhgari
5c071cc02e Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : 14da50f7d2e37e04452445dea575ea4d582e8efd
2014-08-31 23:50:23 -04:00
Anthony Jones
6199191782 Bug 1057225 - Fix MP4 timestamp discontinuities due to rounding; r=edwin 2014-08-29 14:29:11 +12:00
Anthony Jones
3b67e0d61c Bug 1043710 - Expose decode timestamp. r=edwin 2014-08-27 14:08:00 -07:00
Anthony Jones
6d7eb5d09c Bug 1056485 - Fix tfdt handling for files with multiple tracks; r=edwin 2014-08-26 16:53:53 +12:00
Anthony Jones
982856c33f Bug 1056485 - Use tfdt box data when seeking in MP4; r=edwin 2014-08-26 16:53:51 +12:00
Anthony Jones
c9340066b7 Bug 1057203 - Remove MoofParser dependency on stagefright; r=edwin 2014-08-26 16:53:48 +12:00
Anthony Jones
569dcc73e7 Bug 1054023 - Fix final buffered range calculation; r=edwin 2014-08-21 13:41:00 -07:00
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