Commit Graph

165 Commits

Author SHA1 Message Date
Brian Smith
c5dd29443f Bug 1119072, Part 8: Work around internal compiler error in VS2015 (libstagefright), r=cpearce
--HG--
extra : rebase_source : a92130375280523b216562e06f11c6e3f755b9e6
2015-01-08 23:08:36 -08:00
Jean-Yves Avenard
7cb22b680c Bug 1123507: Prevent out of bound memory access. r=edwin
--HG--
extra : rebase_source : 48c8a833b0b394d0c35754b2311f54e8bf8c5b66
2015-01-20 13:42:30 +11:00
Jean-Yves Avenard
e0e1eb6214 Bug 1116056: Ensure all atoms read are valid. r=mattwoodrow
--HG--
extra : rebase_source : 6d5575bd0886b70dec23e1bccb638b1591eef5e9
2015-01-20 13:42:27 +11:00
Chris Pearce
38ce54e92d Bug 1123498 - Make MP4Reader skip-to-next-keyframe less aggressively. r=mattwoodrow 2015-01-20 15:20:43 +13:00
Jean-Yves Avenard
48590e96ad Bug 1120075: Use Movie Extend Header's duration as fallback when available. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : 54e554e183d9072908ec02b6c14de5c2f46e8204
2015-01-16 23:49:01 +11:00
Jean-Yves Avenard
66fb59bc00 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
1405328928 Bug 1121342: Re-search for Moof if an initial attempt to find it failed. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : 009d8048a8917d5ff1a1660b0b6cf8220743cba8
2015-01-16 15:48:43 +11:00
Brian Smith
63b6fa3518 Bug 1119776, Part 2: Avoid defining snprintf when MSVC provides it (video), r=giles
--HG--
extra : rebase_source : 0ea7b0b1a65b31993df689784dd17e741a0c312e
2015-01-08 22:32:03 -08:00
Anthony Jones
cda9b848d1 Bug 1116056 - Change MOZ_ASSERT() to NS_WARNING() in Box::Read(); r=jya 2015-01-14 16:57:14 +13:00
Bobby Holley
8e73f2d0e8 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
b788f3bf6a Merge mozilla-central to b2g-inbound 2015-01-08 15:44:18 +01:00
Ethan Lin
e23a01e36b Bug 1118698 - Add namespace for automic functions to prevent redefine error. r=ajones 2015-01-07 03:41:00 -05:00
Bobby Holley
4e76b3f561 Bug 1064128 - Implement support for timestampOffset in segments mode. r=k17e,r=cajbir 2015-01-07 15:58:55 -08:00
Chris Pearce
d13c7ffa8b Bug 1118593 - Disable MoofParser for encrypted streams. r=kentuckyfriedtakahe 2015-01-07 17:09:27 +13:00
Ralph Giles
738a4eca45 Bug 1111328 - Add missing include. r=jya
Fixes problems with non-unified builds.
2015-01-05 13:20:00 -08:00
Bobby Holley
547538412a 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
707059a642 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
186b832d70 Bug 1111328: Add H264 SPS NAL decoder. r=kentuckyfriedtakahe 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard
3e53b4dc03 Bug 1113073: Add H264 3-bytes NAL size support. r=kentuckyfriedtakahe 2014-12-23 14:41:21 +11:00
Jean-Yves Avenard
bd3199bb51 Bug 1113403: Make MP4Sample destructor virtual. r=kinetik 2014-12-23 14:40:29 +11:00
Jean-Yves Avenard
2f02a73c68 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
4f568fc6f0 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
4eb0a91706 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
5434717edd Bug 1110534: Simplify MP4 extradata handling. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Bobby Holley
7a0f2ef977 Bug 1114383 - Assert that access to mMoofs goes through a monitor. r=k17e 2014-12-21 22:04:36 -08:00
Jean-Yves Avenard
9d528ef1b8 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
41c61aa68a Bug 1110608 - Add CENC support to MoofParser; r=edwin 2014-12-16 18:10:46 +13:00
Anthony Jones
bc61bebaa3 Bug 1098126 - Fix build bustage; r=mattwoodrow 2014-12-16 18:10:46 +13:00
Anthony Jones
ad0036715b Bug 1098126 - MoofParser fixes and disable for EME; r=mattwoodrow 2014-12-05 14:01:44 -08:00
Anthony Jones
f6f2abfc31 Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-16 18:10:45 +13:00
Anthony Jones
e09ac45947 Bug 1098126 - MoofParser forced moof read; r=mattwoodrow 2014-12-16 18:10:45 +13:00
Anthony Jones
2d798b6a2b Bug 1098126 - Use MoofParser to read fragmented MP4 data; r=mattwoodrow 2014-12-16 18:10:45 +13:00
Anthony Jones
7567469034 Bug 1098126 - Remove duplication in MP4 demuxer seek; r=mattwoodrow 2014-12-16 18:10:44 +13:00
Carsten "Tomcat" Book
e0c6b196ba Backed out changeset f3830d09ce0e (bug 1098126) for bustage on a CLOSED TREE 2014-12-15 09:04:00 +01:00
Carsten "Tomcat" Book
095c10e5cb Backed out changeset 3af0cab9d0de (bug 1098126) 2014-12-15 09:03:12 +01:00
Carsten "Tomcat" Book
3080af2cd7 Backed out changeset 3ecd5b8c293a (bug 1098126) 2014-12-15 09:03:10 +01:00
Carsten "Tomcat" Book
b943c950c9 Backed out changeset 732d6e4e6bed (bug 1098126) 2014-12-15 09:03:08 +01:00
Carsten "Tomcat" Book
b604517fda Backed out changeset 7da16258c33b (bug 1098126) 2014-12-15 09:03:06 +01:00
Nigel Babu
e71f4d6e48 Backed out changeset cdf7d7507577 (bug 1110608) for non-unified build failure on CLOSED TREE 2014-12-15 12:43:40 +05:30
Anthony Jones
8490163f41 Bug 1110608 - Add CENC support to MoofParser; r=edwin 2014-12-15 17:43:59 +13:00
Anthony Jones
04765e3b40 Bug 1098126 - MoofParser fixes and disable for EME; r=mattwoodrow 2014-12-05 14:01:44 -08:00
Anthony Jones
fa1de4cb32 Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-15 17:43:59 +13:00
Anthony Jones
41475aef37 Bug 1098126 - MoofParser forced moof read; r=mattwoodrow 2014-12-15 17:43:59 +13:00
Anthony Jones
d5c235bc44 Bug 1098126 - Use MoofParser to read fragmented MP4 data; r=mattwoodrow 2014-12-15 17:43:58 +13:00
Anthony Jones
c09a5a0d18 Bug 1098126 - Remove duplication in MP4 demuxer seek; r=mattwoodrow 2014-12-15 17:43:58 +13:00
Jean-Yves Avenard
60cd0c64fa Bug 1109987: Use signed timestamps in mp4 demuxer. r=k17e 2014-12-15 10:07:39 +11:00
Jean-Yves Avenard
de1720c490 Bug 1107339 - Add VP6F and extend MP3 support in libstagefright. r=k17e 2014-12-04 11:54:06 -08:00
Ryan VanderMeulen
2749f3ea85 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
d985ef94bd Bug 1098126 - Disable MoofParser for EME; r=rillian 2014-12-05 14:17:23 -08:00
Anthony Jones
a81752884a Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-05 14:17:23 -08:00