Commit Graph

165 Commits

Author SHA1 Message Date
Brian Smith
a9c7d1ab15 Bug 1119072, Part 8: Work around internal compiler error in VS2015 (libstagefright), r=cpearce 2015-01-08 23:08:36 -08:00
Jean-Yves Avenard
fbda614afe Bug 1123507: Prevent out of bound memory access. r=edwin 2015-01-20 13:42:30 +11:00
Jean-Yves Avenard
592c72f634 Bug 1116056: Ensure all atoms read are valid. r=mattwoodrow 2015-01-20 13:42:27 +11:00
Chris Pearce
5469ec47b0 Bug 1123498 - Make MP4Reader skip-to-next-keyframe less aggressively. r=mattwoodrow 2015-01-20 15:20:43 +13:00
Jean-Yves Avenard
648a303842 Bug 1120075: Use Movie Extend Header's duration as fallback when available. r=kentuckyfriedtakahe 2015-01-16 23:49:01 +11:00
Jean-Yves Avenard
65f703a192 Bug 1121757: Prevent out of bound memory access should AVC data be invalid. r=kinetik 2015-01-16 20:27:11 +11:00
Jean-Yves Avenard
d34c1cb3b3 Bug 1121342: Re-search for Moof if an initial attempt to find it failed. r=kentuckyfriedtakahe 2015-01-16 15:48:43 +11:00
Brian Smith
9058178f66 Bug 1119776, Part 2: Avoid defining snprintf when MSVC provides it (video), r=giles 2015-01-08 22:32:03 -08:00
Anthony Jones
00254f0abf Bug 1116056 - Change MOZ_ASSERT() to NS_WARNING() in Box::Read(); r=jya 2015-01-14 16:57:14 +13:00
Bobby Holley
602f207f3a Bug 1119456 - Make MP4Demuxer's blocking reads non-blocking and hoist blocking into callers with a hacky retry strategy. r=k17e 2015-01-11 13:24:26 -08:00
Carsten "Tomcat" Book
b6421b94d2 Merge mozilla-central to b2g-inbound 2015-01-08 15:44:18 +01:00
Ethan Lin
b5cf55b2ca Bug 1118698 - Add namespace for automic functions to prevent redefine error. r=ajones 2015-01-07 03:41:00 -05:00
Bobby Holley
3a84da82a8 Bug 1064128 - Implement support for timestampOffset in segments mode. r=k17e,r=cajbir 2015-01-07 15:58:55 -08:00
Chris Pearce
97b5a8bb5e Bug 1118593 - Disable MoofParser for encrypted streams. r=kentuckyfriedtakahe 2015-01-07 17:09:27 +13:00
Ralph Giles
44c8ff75f1 Bug 1111328 - Add missing include. r=jya
Fixes problems with non-unified builds.
2015-01-05 13:20:00 -08:00
Bobby Holley
35e4ddbeec Bug 1115749 - Assert that we hold the monitor at all the MP4Demuxer API entry points. r=rillian
MP4Demuxer accesses shared state (index, moofparser) in lots of shared helper
routines, so we should assume that it's not safe to touch the demuxer at all
without holding the lock (unless demonstrated otherwise). This stuff should
probably be redesigned, but that's a problem for another day.
2014-12-29 16:10:16 -08:00
Jean-Yves Avenard
1f44034faa Bug 1111328: Add H264 SPS NAL decoder part #2 (VUI and HDR). r=kentuckyfriedtakahe 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard
853b06952f Bug 1111328: Add H264 SPS NAL decoder. r=kentuckyfriedtakahe 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard
bd6ee9c179 Bug 1113073: Add H264 3-bytes NAL size support. r=kentuckyfriedtakahe 2014-12-23 14:41:21 +11:00
Jean-Yves Avenard
1a79df027d Bug 1113403: Make MP4Sample destructor virtual. r=kinetik 2014-12-23 14:40:29 +11:00
Jean-Yves Avenard
e3862286bc Bug 1110534: Add AVC Annex B to AVCC format conversion utility. r=kentuckyfriedtakahe
Based on original code by Baptiste Coudurier extracted from FFmpeg's libavformat
2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
e98b4109a1 Bug 1110534: Use more accurate names in MP4Sample and Annex B utility functions. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
75c64f415c Bug 1110534: Retrieve SPS and PPS from AVCC stream when necessary. r=kentuckyfriedtakahe
In avc3 or annex B stream, the AVCC extradata doesn't always contain the SPS and PPS required to
decode the first frame. Add method to extract SPS and PPS and construct an AVCC extradata.
2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
f8e7db49c6 Bug 1110534: Simplify MP4 extradata handling. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Bobby Holley
4ab21b2415 Bug 1114383 - Assert that access to mMoofs goes through a monitor. r=k17e 2014-12-21 22:04:36 -08:00
Jean-Yves Avenard
cd57883333 Bug 1111311: Use 32 bits signed for storing CTS in order to properly calculate PTS. r=kentuckyfriedtakahe 2014-12-17 22:21:10 +11:00
Anthony Jones
5abe572b26 Bug 1110608 - Add CENC support to MoofParser; r=edwin 2014-12-16 18:10:46 +13:00
Anthony Jones
86b218e493 Bug 1098126 - Fix build bustage; r=mattwoodrow 2014-12-16 18:10:46 +13:00
Anthony Jones
daeb6d1397 Bug 1098126 - MoofParser fixes and disable for EME; r=mattwoodrow 2014-12-05 14:01:44 -08:00
Anthony Jones
3d773e3aa8 Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-16 18:10:45 +13:00
Anthony Jones
293f79d510 Bug 1098126 - MoofParser forced moof read; r=mattwoodrow 2014-12-16 18:10:45 +13:00
Anthony Jones
b92bd55495 Bug 1098126 - Use MoofParser to read fragmented MP4 data; r=mattwoodrow 2014-12-16 18:10:45 +13:00
Anthony Jones
e6a8eb6d10 Bug 1098126 - Remove duplication in MP4 demuxer seek; r=mattwoodrow 2014-12-16 18:10:44 +13:00
Carsten "Tomcat" Book
927b1e3fd1 Backed out changeset f3830d09ce0e (bug 1098126) for bustage on a CLOSED TREE 2014-12-15 09:04:00 +01:00
Carsten "Tomcat" Book
bb2f6415cc Backed out changeset 3af0cab9d0de (bug 1098126) 2014-12-15 09:03:12 +01:00
Carsten "Tomcat" Book
23eb2adeb3 Backed out changeset 3ecd5b8c293a (bug 1098126) 2014-12-15 09:03:10 +01:00
Carsten "Tomcat" Book
3ca9a0f4af Backed out changeset 732d6e4e6bed (bug 1098126) 2014-12-15 09:03:08 +01:00
Carsten "Tomcat" Book
b00179dfdf Backed out changeset 7da16258c33b (bug 1098126) 2014-12-15 09:03:06 +01:00
Nigel Babu
fc75345911 Backed out changeset cdf7d7507577 (bug 1110608) for non-unified build failure on CLOSED TREE 2014-12-15 12:43:40 +05:30
Anthony Jones
0b7ceea197 Bug 1110608 - Add CENC support to MoofParser; r=edwin 2014-12-15 17:43:59 +13:00
Anthony Jones
c5368cbd57 Bug 1098126 - MoofParser fixes and disable for EME; r=mattwoodrow 2014-12-05 14:01:44 -08:00
Anthony Jones
8a5dd08528 Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-15 17:43:59 +13:00
Anthony Jones
2140036c4f Bug 1098126 - MoofParser forced moof read; r=mattwoodrow 2014-12-15 17:43:59 +13:00
Anthony Jones
aca8015e25 Bug 1098126 - Use MoofParser to read fragmented MP4 data; r=mattwoodrow 2014-12-15 17:43:58 +13:00
Anthony Jones
6b7ada9f4e Bug 1098126 - Remove duplication in MP4 demuxer seek; r=mattwoodrow 2014-12-15 17:43:58 +13:00
Jean-Yves Avenard
9bcfe53889 Bug 1109987: Use signed timestamps in mp4 demuxer. r=k17e 2014-12-15 10:07:39 +11:00
Jean-Yves Avenard
218c8fe378 Bug 1107339 - Add VP6F and extend MP3 support in libstagefright. r=k17e 2014-12-04 11:54:06 -08:00
Ryan VanderMeulen
4973cdd919 Backed out 5 changesets (bug 1098126) for Windows web-platform-test failures.
Backed out changeset 7cf7a6ea28c2 (bug 1098126)
Backed out changeset 21aab02fb41c (bug 1098126)
Backed out changeset 55dba2167b36 (bug 1098126)
Backed out changeset 73c2707c4f60 (bug 1098126)
Backed out changeset 4d6a52c5fb75 (bug 1098126)
2014-12-05 20:09:54 -05:00
Anthony Jones
d255080e7a Bug 1098126 - Disable MoofParser for EME; r=rillian 2014-12-05 14:17:23 -08:00
Anthony Jones
eba2e764cd Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-05 14:17:23 -08:00