Граф коммитов

62 Коммитов

Автор SHA1 Сообщение Дата
Eric Rahm 3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Jean-Yves Avenard 54a681396b Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
Eric Rahm 47d9aba92d Bug 1163201 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj 2015-05-14 10:13:23 -07:00
Eric Rahm 34f99e4b4c Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
JW Wang fc64b939e2 Bug 1164297 - tweaks to logging modules of MediaDecoderStateMachine to remove accessing to env vars. r=cpearce. 2015-05-14 10:15:05 +08:00
Karl Tomlinson ff0a1eca14 bug 1161402 add MediaDataDecoderCallback::OnReaderTaskQueue() r=cpearce
--HG--
extra : rebase_source : 59323104c9ffca27e79a1da163d258c1a9ec22c2
2015-05-01 12:03:32 +12:00
Bobby Holley 4f3c199145 Bug 1158226 - Eagerly compute keyframe-ness and stash it on the packet holder. r=kinetik 2015-04-28 23:42:51 -07:00
Bobby Holley 3ed8d105fc Bug 1158226 - Separate packet demuxing from the higher-level track-sorting logic. r=kinetik 2015-04-28 23:42:50 -07:00
Bobby Holley 130cc25bda Bug 1158226 - Use NesteggPacketHolder::Timestamp to simplify code. r=kinetik 2015-04-28 23:42:49 -07:00
Bobby Holley 301c50d6de Bug 1158226 - Store timestamps on the NesteggPacketHolder. r=kinetik 2015-04-28 23:42:49 -07:00
Bobby Holley 7a713e7c96 Bug 1157840 - Refcount NesteggPacketHolder. r=kinetik 2015-04-23 16:30:08 -07:00
Andrea Marchesini e666f02521 Bug 1156632 - Remove unused forward class declarations - patch 2 - dom/media, dom/indexedDB, dom/svg, r=ehsan 2015-04-22 08:29:17 +02:00
Nicolas Silva e887c595eb Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02: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 e6858f0af5 Bug 1150853: Part2. Use new MediaRawObject across the board. r=cpearce. 2015-04-09 21:14:55 +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
Bobby Holley 70685709f1 Bug 1144519 - Rename MediaDecoder::OnDecodeThread to MediaDecoder::OnDecodeTaskQueue. r=jya 2015-03-27 11:50:21 -07:00
Bobby Holley 3c6cda710d Bug 1144519 - Switch MediaDecoderReader subclasses to use OnTaskQueue(). r=jya 2015-03-27 11:50:20 -07:00
Jean-Yves Avenard 04753af547 Bug 1146222: use nsAutoCString to store mimetype string. r=karlt
We use a nsAutoCString as the mimetype is typically less than 64 characters
and prevent a heap allocation (and the unecessary fragmentation linked to it)
2015-03-24 14:45:17 +11:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Benjamin Chen 6649eea3cd Bug 1131563 - Set the flag skipToNextKeyFrame to false if there is no keyframe behind. r=kinetik
--HG--
extra : rebase_source : e561bdfe1bddfc5073587056925248a4ba905977
2015-03-19 18:00:02 +08:00
Anthony Jones 69c0b09ad3 Bug 1138253 - Count dropped frames directly; r=cpearce 2015-03-03 17:46:48 +13:00
Anthony Jones c4f6a5ccbb Bug 1138253 - Clean up AutoNotifyDecoded; r=cpearce 2015-03-03 17:46:46 +13:00
Bobby Holley 4ee93e5397 Bug 1125970 - Make flushing an opt-in mechanism, and use it only for the PDM task queues. v1 r=cpearce 2015-02-16 09:03:34 -08:00
Jean-Yves Avenard fcfd4609a0 Bug 1125776: Part5. Limit metadata parsing to init segment size if known. r=kinetik 2015-02-04 20:20:15 +11:00
Jean-Yves Avenard 723701aeca Bug 1125776: Part4. Add support for partial WebM init segment. r=kinetik 2015-02-04 20:20:15 +11:00
Bobby Holley e814d359c3 Bug 1121692 - Remove unnecessary arguments to ::Seek. r=mattwoodrow,sr=cpearce 2015-01-16 10:57:59 -08:00
Matt Woodrow 972dde5588 Bug 1105066 - Make SeekPromise return the time we actually seeked to; r=kentuckyfriedtakahe 2015-01-12 10:57:14 +13:00
Ehsan Akhgari 31a966ecd6 Bug 1117261 - Mark virtual overridden functions as MOZ_OVERRIDE in DOM media code; r=rillian 2015-01-08 23:11:30 -05:00
Jean-Yves Avenard d7f0a4602f Bug 1113403: Make MP4Sample destructor virtual. r=kinetik 2014-12-23 14:40:29 +11:00
Jean-Yves Avenard c7723f6179 Bug 1110534: Make PlatformDecoderModule ref counted. r=edwin 2014-12-23 14:36:10 +11:00
Matt Woodrow 2c7e571767 Bug 1111413 - Part 1: Use MediaPromises for seeking. r=bholley 2014-12-16 22:52:57 +13:00
Ehsan Akhgari 550e972d13 Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku 2014-12-10 17:49:09 -05:00
Bobby Holley 60c0158fdd Bug 1108701 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-10 14:03:56 -08:00
Bobby Holley 312651fc98 Bug 1108707 - Make reader shutdown asynchronous. r=cpearce (relanding on a CLOSED TREE because it wasn't the source of the leaks) 2014-12-09 11:43:21 -08:00
Ryan VanderMeulen 073573c2a9 Backed out changeset 18c302f80bce (bug 1108707) for nsTArray_base leaks.
CLOSED TREE
2014-12-09 15:49:38 -05:00
Bobby Holley fc5e0383a6 Bug 1108707 - Make reader shutdown asynchronous. r=cpearce 2014-12-09 11:43:21 -08:00
Bobby Holley 8c9d29f7fe Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 14:45:36 -08:00
Ryan VanderMeulen 0aae88bf85 Backed out changesets ae63e2dda6e0, a9ca0113db3c, and d0a6757e24bd (bug 1097823) for bustage.
DONTBUILD CLOSED TREE
2014-12-08 15:00:02 -05:00
Bobby Holley 7aa1467674 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 11:34:50 -08:00
Bobby Holley aa27b00ccd Backed out changeset c405b4271e64 (bug 1097823) 2014-12-07 17:09:12 -08:00
Bobby Holley 8327697375 Backed out changeset b76636e9f49a (bug 1097823) 2014-12-07 17:09:08 -08:00
Bobby Holley 61900e1d2d Bug 1097823 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-07 11:21:35 -08:00
Bobby Holley 14e9457ae3 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-07 11:21:34 -08:00
Matthew Gregan b341a046f7 Bug 1106657 - Move MOZ_PDM_VPX definition to moz.build. r=bholley 2014-12-02 14:00:45 +13:00
Bobby Holley e693d3e685 Bug 1104964 - Rename the task queue for hardware video decoding to something more obvious. r=cpearce
Otherwise it will shadow the mTaskQueue that we're about to introduce on
MediaDecoderReader.
2014-12-01 21:51:02 -08:00
Bobby Holley 38d5cddf88 Bug 1104964 - Split shutdown initiatation and queue-drain-waiting into separate pieces. r=cpearce
This patch shouldn't change any behavior. The upcoming patch takes advantage of
these separate pieces.
2014-12-01 21:51:02 -08:00
Bobby Holley 79860bf9ab Bug 1104964 - Make sure that MediaDecoderReader::Shutdown is always called. r=cpearce 2014-12-01 21:51:02 -08:00
awake 58280aba48 Bug 1100632 - Remove --disable-opus option and MOZ_OPUS #define macros. r=rillian,ted 2014-11-28 01:20:00 -08:00