Commit Graph

122 Commits

Author SHA1 Message Date
Nathan Froyd
db188ea282 Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary.  It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
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
JW Wang
9f91817088 Bug 1163474. Part 2 - move MediaDecoder::mOutputStreams to DecodedStream. r=roc. 2015-05-10 11:57:46 +08:00
Ethan Lin
683fb496b3 Bug 1155498 - Part 5 - Use new FenceHandle to handle Decoder fence. r=sotaro
--HG--
extra : rebase_source : 07572915abb33e362bbd3e3817fb57e6296ae871
2015-05-13 00:38:00 +02:00
Jean-Yves Avenard
54a681396b Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
Benjamin Chen
87fb03abfc Bug 1140995 - Part 2: Don't send the audio/video data when the EOS flag is raised because the decoded data is invalid. r=cpearce
--HG--
extra : rebase_source : f776f49d17bcfc310eb066376a2c2e792e0ad109
2015-04-23 14:56:52 +08:00
Sotaro Ikeda
dcb4911aa5 Bug 1164697 - Fix time unit of AudioOffloadPlayer r=bholley 2015-05-14 15:48:06 -07:00
Eric Rahm
5161dd9e6b Bug 1163201 - Part 4: Fix b2g build. r=bustage 2015-05-14 11:46:15 -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
Bobby Holley
22d027c1ad Bug 1162803 - Mirror playback position. r=jww,r=sotaro 2015-05-11 11:16:07 -07:00
Sotaro Ikeda
aef8cc58bd Bug 1158448 Part 2 - Remove ApplyStateToStateMachine and PLAY_STATE_SEEKING r=jwwang,bwu 2015-05-07 08:19:46 -07:00
Bobby Holley
d594a72f36 Bug 1159974 - Mirror mPlaybackRate. r=jww 2015-05-04 11:04:46 -07:00
Edwin Flores
eaf37d1af9 Bug 1150322 - Fix duration parsing in MediaOmxReader - r=sotaro 2015-05-04 11:40:30 +12:00
Sotaro Ikeda
505cd512eb Bug 1158293 - Fix ResumeStateMachine()'s seek handling r=cpearce 2015-04-29 08:36:49 -07:00
Sotaro Ikeda
1a45398405 Bug 1158307 - Add Shutdown checks r=cpearce 2015-04-29 07:55:21 -07:00
Sotaro Ikeda
669ba8ebf0 Bug 1158692 - Change omx AudioSink to GonkAudioSink r=cpearce
--HG--
rename : dom/media/omx/AudioSink.h => dom/media/omx/GonkAudioSink.h
2015-04-28 06:50:59 -07:00
Emanuel Hoogeveen
527186cfda Bug 949036 - Make ID3v2 tag detection more careful - not every bit of data containing "ID3" is a tag. r=eflores 2015-04-27 07:28:00 -04:00
L. David Baron
c32076c14a Bug 1157654 - Back out changeset e428ba6470b9 (bug 1140995) for frequent failures in dom/media/test/test_mediarecorder_getencodeddata.html . 2015-04-25 11:10:15 -07:00
Bobby Holley
fbc2c98020 Bug 1144481 - Use state mirroring for NextFrameStatus. r=jww 2015-04-23 11:55:14 -07:00
Bobby Holley
8d23ca9359 Bug 1144481 - Force state machine setting to go through a setter. r=jww
We need this so that we can hook up the state mirroring in the subsequent patch.
2015-04-23 11:55:13 -07:00
Benjamin Chen
8503c3b76d Bug 1140995 - part 2: Don't send the audio/video data when the EOS flag is raised because the decoded data is invalid. r=cpearce 2015-04-23 14:56:52 +08: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
Sotaro Ikeda
76f7064cc7 Bug 1139206 - Update AudioOffloadPlayer seek r=bholley,bwu 2015-04-15 14:00:41 -07: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
Alfredo Yang
db11a06df3 Bug 1132832 - Remove media resource API from PlatformDecoderModule. r=jya 2015-04-10 02:16:00 -04:00
Bobby Holley
9abe3c0ae3 Bug 1150687 - Have callers pass an AbstractThread directly to promise APIs and remove wrapper-style AbstractThreads for MediaTaskQueue. r=jww 2015-04-06 11:09:27 -07:00
Naoki Hirata
e791f12581 Backed out changeset 1f5a169f0476 (bug 1139206) due to it causing bug 1150716 2015-04-02 18:17:36 -07:00
Sotaro Ikeda
1255918bb8 Bug 1139206 - Update AudioOffloadPlayer seek r=bholley,bwu 2015-03-31 10:02:22 -07:00
Bobby Holley
3c6cda710d Bug 1144519 - Switch MediaDecoderReader subclasses to use OnTaskQueue(). r=jya 2015-03-27 11:50:20 -07:00
Sotaro Ikeda
3a579f22dc Bug 1147435 - Fix SetDormant() handling in MediaOmxCommonDecoder r=cpearce 2015-03-26 20:57:42 -07:00
Benjamin Chen
261c1523b2 Bug 1139781 - Implement VideoPlaybackQuality for MediaCodecReader. r=cpearce 2015-03-26 17:06:06 +08: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
5fb5f6af9a Bug 1138825 - Fix the crash at mAudioPromise: call decode audio data when the audio queue is empty and check the mAudioPromise is empty or not. r=sotaro 2015-03-10 14:38:39 +08:00
Sotaro Ikeda
ccf07f5419 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 12:32:38 -07:00
Ryan VanderMeulen
d4a838cbc3 Backed out changesets cd5ec762afa1 and fad66e8fe874 (bug 1137515) for Nexus 5-L bustage.
CLOSED TREE

--HG--
extra : rebase_source : 59680d649177809d0a31d87091ab9d18070f7a0f
2015-03-11 12:35:08 -04:00
Sotaro Ikeda
80cec56356 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 07:18:23 -07:00
Thomas Zimmermann
9823b29ee9 Bug 1137151: Remove ref-counting from |OMXVideoEncoder| r=sotaro
Reference counting in |OMXVideoEncoder| is used inconsistently any actually
not necessary. This patch removed the code. Users are converted to auto
pointers.
2015-03-10 13:44:01 +01:00
Thomas Zimmermann
e90fcbf7f7 Bug 1137151: Marked destructor of |android::MediaCodecReader| as protected, r=sotaro 2015-03-10 13:44:01 +01:00
Ethan Tseng
5bc6a1cede Bug 1133461 - [RTSP] Remove the extra PLAY request for seek operation. r=bechen 2015-03-04 17:34:35 +08:00
Bobby Holley
578cad549e Bug 1135170 - Rewrite the MediaDecoder-to-MediaDecoderStateMachine interface to be Promise-based. r=mattwoodrow 2015-03-06 19:17:07 -08:00
Sotaro Ikeda
b3535ec3a6 Bug 1128357 Patch 2: Don't dispatch seeking/seeked events when coming out of dormant mode r=cpearce 2015-03-04 17:33:40 -08:00
Ryan VanderMeulen
0df6e6a284 Backed out 4 changesets (bug 1128357) for causing intermittent B2G mochitest asserts.
Backed out changeset da4499b52105 (bug 1128357)
Backed out changeset fa440c623c4d (bug 1128357)
Backed out changeset 36b8feee431e (bug 1128357)
Backed out changeset aaa85558f413 (bug 1128357)

CLOSED TREE
2015-03-04 12:53:06 -05:00
Sotaro Ikeda
e311d8a1c2 Bug 1128357 Patch 2: Don't dispatch seeking/seeked events when coming out of dormant mode r=cpearce 2015-03-04 06:37:04 -08:00
Benjamin Chen
c67f00f900 Bug 1129376 - Fix crash by moving ConfigureMediaCodec from binder thread to out own thread. r=sotaro
--HG--
extra : rebase_source : 648479adfe87f23ce7ab65447cf1697c7cc1e2df
2015-03-02 03:57:46 +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
Karl Tomlinson
76f204ad16 bug 1137076 mark some methods as private r=edwin
--HG--
extra : rebase_source : f775f4f4f5c6c19c56a0424c28fedc41c6950f5e
2015-02-28 14:44:07 +13:00
Karl Tomlinson
e7ab2280e5 bug 1137076 handle null mDecoder during Reader shutdown r=edwin
--HG--
extra : rebase_source : 0dbf2b425bf13d26550f8ba8cc9875f66277b1fa
2015-02-28 14:32:19 +13:00