Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
David Major
dc759e14b2
Bug 1119072: Backed out ce3638e6a659 since it's no longer needed with VS2015RC. rs=cpearce
...
--HG--
extra : rebase_source : e9569023f28c44293c5dc68da7cceb88aea8b49f
2015-05-18 16:25:21 -04:00
Birunthan Mohanathas
735ccdd101
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj
2015-05-18 13:50:35 -07:00
Eric Rahm
4d6eca8317
Bug 1164622 - Part 1: Remove instances of #ifdef PR_LOGGING in media. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Eugen Sawin
04d593a1be
Bug 1093815 - Remove ambiguous typedefs. r=kinetik
...
---
media/libstagefright/binding/include/demuxer/TrackDemuxer.h | 4 ++--
media/libstagefright/binding/include/mp4_demuxer/DecoderData.h | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
2015-05-13 15:15:43 +02:00
Eugen Sawin
8597d299a4
Bug 1093815 - Add MP3 track demuxer. r=kinetik
...
---
media/libstagefright/binding/MP3TrackDemuxer.cpp | 755 +++++++++++++++++++++
.../binding/include/mp4_demuxer/MP3TrackDemuxer.h | 380 +++++++++++
media/libstagefright/moz.build | 2 +
3 files changed, 1137 insertions(+)
create mode 100644 media/libstagefright/binding/MP3TrackDemuxer.cpp
create mode 100644 media/libstagefright/binding/include/mp4_demuxer/MP3TrackDemuxer.h
2015-05-13 15:15:36 +02:00
Jean-Yves Avenard
0afcf75167
Bug 1159027: Part4. Include ftyp box when parsing init segment. r=kentuckyfriedtakahe
2015-05-11 20:57:37 +10:00
Jean-Yves Avenard
5ad333f5a3
Bug 1159027: Part2. Extend BufferStream to work with external buffer array. r=kentuckyfriedtakahe
...
Also make BufferStream::AppendBytes fallible
2015-05-11 20:54:59 +10:00
Jean-Yves Avenard
9c019c30fe
Bug 1159027: Part1. Add MP4Metadata method to retrieve init segment byte range. r=cpearce
2015-05-11 20:54:54 +10:00
Jean-Yves Avenard
556d935c52
Bug 1156689: Part9. Remove unused headers. r=kentuckfriedtakahe
2015-05-01 15:26:51 +10:00
Jean-Yves Avenard
06c5225d25
Bug 1156689: Part8. Use new MoofParser::HasMetadata in MP4Metadata. r=kentuckyfriedtakahe
...
This allows MP4Reader::ReadMetadata() to no be unecessarily blocking on partial
init segment.
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
208ad93cf7
Bug 1156689: Part7. Add MoofParser::HasMetadata method. r=kentuckyfriedtakahe
...
Allows to check if we have a full MP4 metadata's atom available in our stream.
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
a8026d01e4
Bug 1156689: Part6. Add ResourceStream class. r=kentuckyfriedtakahe
...
A Stream abstract over a MediaResource
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
0e53bf222b
Bug 1156689: Part5. Add MP4Metadata class. r=kentuckyfriedtakahe
...
This allows to abstract the calls to libstagefright and allow future
replacement with our own code.
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
6049519f68
Bug 1156689: Part2. Remove MP4 Index's libstagefright dependency. r=kentuckyfriedtakahe
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
e146d4940f
Bug 1156689: Part1. Remove mp4_demuxer::TrackType. r=cpearce
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
84c09b9f81
Bug 1156891: Disable use of stagefright::String8::clear. r=kentuckyfriedtakahe
...
Some parts of stagefright::String8 aren't threadsafe as they make use of
static shared objects.
2015-04-29 15:38:16 +10:00
Jean-Yves Avenard
71b238d9f4
Bug 1149605: Avoid potential integers overflow. r=kentuckyfriedtakahe
2015-04-26 14:42:37 +10:00
Jean-Yves Avenard
cedf773d19
Bug 1158568: Fix potential size overflow. r=kentuckyfriedtakahe
2015-04-26 16:05:10 +10:00
Carsten "Tomcat" Book
b3ac5654ea
Backed out changeset 1b04bf621858 (bug 1158568) for bustage on a CLOSED TREE
2015-04-28 15:39:41 +02:00
Carsten "Tomcat" Book
a4ebdec9ac
Backed out changeset 87277085561a (bug 1149605) for bustage on a CLOSED TREE
2015-04-28 15:37:01 +02:00
Jean-Yves Avenard
d51ead79d5
Bug 1149605: Avoid potential integers overflow. r=kentuckyfriedtakahe
2015-04-28 22:28:41 +10:00
Jean-Yves Avenard
aa8f8fc0d2
Bug 1158568: Fix potential size overflow. r=kentuckyfriedtakahe
2015-04-28 22:27:13 +10:00
Nathan Froyd
be6934841f
Bug 1157290 - fix modeline in media/libstagefright/moz.build; r=me, DONTBUILD for comment-only fix
2015-04-22 11:24:10 -04:00
Blake Wu
eeb2174b40
Bug 1153876 - Support MPEG-4 Codec, mp4v-es. r=jya. r=cpearce.
...
--HG--
extra : rebase_source : 596b37eab0d6d77c020b752212063b42ad6f5f3f
2015-04-20 21:57:29 +08:00
Jean-Yves Avenard
0e46a78213
Bug 1154683: Fix potential size overflow. r=kentuckyfriedtakahe
2015-04-20 14:35:45 +10:00
Felix Janda
19a724ba1d
Bug 1151202 - libstagefright: Fix compilation for systems without <sys/cdefs.h>. r=cpearce
...
--HG--
extra : rebase_source : 984a06e3228614fcd25561e15d54c5c3bda836e6
2015-02-05 22:26:24 +01:00
Jean-Yves Avenard
52a7a65989
Bug 1153094: Rename LargeDataBuffer and DataBuffer object. r=cpearce
...
This causes conflicts with webRTC libraries that use those names already. The
linker appears to get it wrong and calls the destructor of the wrong class.
--HG--
extra : rebase_source : 809221de3e5bde540bd40406f061f3865e4c4f00
2015-04-15 15:27:38 +10:00
Jean-Yves Avenard
4623f4873e
Bug 1153049: Part4. Remove redundant mHasAudio/mHasVideo member. r=cpearce
...
--HG--
extra : rebase_source : f53f194f7e8c870024c39270a626bc41f2f79d0b
2015-04-14 15:17:51 +10:00
Jean-Yves Avenard
378df808cf
Bug 1153049: Part3. Using AudioInfo/VideoInfo object. r=cpearce
...
This remove all remaining references to stagefright/MP4 specific objects.
--HG--
extra : rebase_source : 0f34f7851c0f22532dffb88c32ac83ebb962a7cc
2015-04-14 15:16:32 +10:00
Jean-Yves Avenard
ea02e1a1f5
Bug 1152658: Use MediaRawDataWriter to access MediaRawData::mCrypto. r=cpearce
...
--HG--
extra : rebase_source : 20332ef7e99c0183d219c0b1b739aae24f35d907
2015-04-14 15:15:46 +10:00
Chris Double
9f5a6dea5a
Bug 1148203 - Fix build errors with combinations of enable/disable of ffmp4/ffmpeg/eme - r=cpearce,ted
...
Fixes build error with all three disabled. Prevents other combinations
that cause build errors by detecting them at configure time and displaying
an error message.
2015-04-13 11:07:14 +12:00
Jean-Yves Avenard
1a95012eb4
Bug 1153097: Use 32 bits int to compare frequencies. r=rillian
...
Also potentially fix out of bound memory access.
2015-04-12 18:22:07 +10:00
Jean-Yves Avenard
aa270b640c
Bug 1152652: Part1. Use mStandardMozillaStyle for crypto classes. r=edwin
2015-04-09 21:14:56 +10:00
Jean-Yves Avenard
e6858f0af5
Bug 1150853: Part2. Use new MediaRawObject across the board. r=cpearce.
2015-04-09 21:14:55 +10:00
Jean-Yves Avenard
a441d92aa3
Bug 1150853: Part1. Create MediaRawData object type. r=cpearce
...
This object extends MediaData and will be used to contain demuxed compressed
data.
2015-04-09 21:14:55 +10:00
Jean-Yves Avenard
dfb7ffd7e5
Bug 1147744: Part2. Properly calculate cropping value. r=k17e
...
If chroma_format_idc isn't defined, chroma_format_idc shall be inferred to be
equal to 1 (4:2:0 chroma format).
Also, ignore nonsensical cropping values as per spec.
2015-04-08 14:26:38 +10:00
Jean-Yves Avenard
cb95c32927
Bug 1147744: Part1. Round down display size. r=k17e
2015-04-08 14:26:35 +10:00
Jean-Yves Avenard
d7cb635d09
Bug 1151378: Part3. Fix constness and remove use of reference to refcounted ptr. r=k17e
2015-04-07 20:33:18 +10:00
Jean-Yves Avenard
1d47a88bf2
Bug 1151378: Part2. Remove libstagefright depencies from Crypto config. r=edwin
2015-04-07 20:33:18 +10:00
Jean-Yves Avenard
f17c6eb49e
Bug 1151378: Part1. Remove of now unused code path. r=k17e
...
libstagefright is now only used to read the metadata.
2015-04-07 20:33:18 +10:00
Jean-Yves Avenard
c74f6b186a
Bug 1145926: Part1. Refactor AVCC wrapper. r=cpearce
...
Add support for future handling of audio remuxing before conversion.
2015-04-07 20:33:17 +10:00
Jean-Yves Avenard
37d978104c
Bug 1151360: Allow playback of extended AAC profile audio track. r=k17e
2015-04-07 20:33:17 +10:00
Jean-Yves Avenard
7a51dcf194
Bug 1149278: Limit box reads to resource length. r=k17e
...
Also, add a safeguard where we will never attempt to read a mp4 box over 32MiB
2015-04-07 20:33:16 +10:00
Brian Smith
0c89cfc24d
Bug 1150357: Remove libstagefright's stdbool.h to fix MSVC 2015 CTP 6 build, r=cpearce
...
MSVC 2013 and later already provide a real stdbool.h. libstagefright's
stdbool.h breaks the build in MSVC 2015 CTP 6 because MSVC 2015's internal
headers #include <stdbool.h> expecting it to be the real thing.
--HG--
extra : rebase_source : a7cd3deef2aa3b0f890a4ca3180831b1fb0dfaf4
2015-04-01 18:49:24 -10:00
Edwin Flores
46cbfd3c6b
Bug 1147689 - Pass the session ID(s) of an encrypted frame into EME CDMs - r=cpearce
2015-03-26 22:57:36 +13:00
Jean-Yves Avenard
b5404f62e0
Bug 1145815: Do not report discontinuities less than 35ms. r=k17e
...
--HG--
extra : rebase_source : eb8fa50d7036ceae23756e10d0ad815605aae3f8
2015-03-25 22:32:21 +11:00
Matt Woodrow
500d1b3448
Bug 1145037 - Remove invalid assertion in MoofParser. r=ajones
...
--HG--
extra : rebase_source : 9a2b2b0f588fd9a7730e050306417b64725a2e94
2015-03-26 12:57:58 +13:00
Martin Storsjö
5b69c33e9b
Bug 1143491: Parse all trun boxes in MP4 fragments, not only the first one. r=jya
2015-03-23 11:39:27 +02:00