Commit Graph

88 Commits

Author SHA1 Message Date
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
Karl Tomlinson
c644c78a13 bug 1137076 remove declaration of undefined OmxDecoder::ProcessCachedData() r=edwin
--HG--
extra : rebase_source : 6e7ed21c6dacedf4775843a73d12d68d043cf696
2015-02-28 10:32:27 +13:00
Blake Wu
e549a27f99 Bug 1133955 - Record the last seek time to decide the direction to seek. r=sotaro 2015-02-24 11:19:54 +08: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
Blake
cb1d019766 Bug 1115241 - Release video buffer in a dedicated thread. r=sotaro 2015-02-10 11:34:02 +08:00
Blake Wu
9a06424267 Bug 1113527 - Change isDormantNeeded() behavior. r=sotaro. r=cpearce.
From 8bf5259ba58ae5b37eaceece04a7f217c3ad4284 Mon Sep 17 00:00:00 2001
2015-01-30 18:24:31 +08:00
Benjamin Chen
86c2c22675 Bug 1091467 - MediaCodec: Wait fence and release output buffer on other thread. r=sotaro 2015-01-20 17:27:50 +08:00
Benjamin Chen
8e5e324b89 Bug 1120247 - 1 MediaCodecReader::ResetDecode() needs to reject(cancel) any pending promises. 2. fix regression caused by bug 1114910. r=cpearce 2015-01-20 14:46:31 +08:00
Sotaro Ikeda
4f70eb3f49 Bug 1124957 - Fix typo of Dormant r=cpearce 2015-01-23 07:00:39 -08:00
Benjamin Chen
b6c8fd6ec7 Bug 1118632 - Fix the duration updated by mp3 incremental parser when we are playing a non-mp3 stream. r=cajbir 2015-01-16 18:59:12 +08:00
Blake Wu
913ed36b93 Bug 1101565 - Add locks to those functions which read mCodec. r=sotaro
--HG--
extra : rebase_source : d27444a121ba4a4b469f256d5056f7a435fde5bd
2015-01-19 19:00:18 +08:00
Bobby Holley
e814d359c3 Bug 1121692 - Remove unnecessary arguments to ::Seek. r=mattwoodrow,sr=cpearce 2015-01-16 10:57:59 -08:00
Sotaro Ikeda
e662668d12 Bug 1110343 - Suppress redundant loadedmetadata event when dormant exit r=cpearce 2015-01-16 07:56:19 -08:00
Benjamin Chen
7cbd794ce3 Bug 1114910: - 1. fix crash at promise. 2. Re-write code relative to promise. r=cpearce 2015-01-13 15:42:53 +08:00
Chris Pearce
59325224ff Bug 1112445 - Ignore the audio stream when determining whether we should skip-t-o-next-keyframe for async readers. r=mattwoodrow 2015-01-13 22:31:03 +13: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
Masatoshi Kimura
bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Ehsan Akhgari
4354953b4f Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Dave Hylands
08557c5100 Bug 1073003 - Fix warnings causing errors in emulator build. r=nfroyd 2015-01-08 13:52:19 -08:00
Botond Ballo
e26039846a Bug 1073003 - Fix -Wsign-conversion warnings. r=ehsan
--HG--
extra : rebase_source : 89079791628aeea551820c3ba42788da806ea9a3
2014-12-23 03:26:40 -05:00
Botond Ballo
b3d6c180db Bug 1073003 - Fix -Wnarrowing warnings. r=ehsan
--HG--
extra : rebase_source : 7cc4ede9e1e2d7ced96bb891f3b6774164c80869
2014-12-23 03:26:21 -05:00
Botond Ballo
7105b24b6d Bug 1073003 - Avoid returning a reference to a temporary. r=jhlin
--HG--
extra : rebase_source : fa3c61864772af48f098cfd080333d450535462b
2014-12-23 03:25:21 -05:00
Botond Ballo
cb88585788 Bug 1073003 - Fix -Wattribute and -Wmultichar warnings in select directories by disabling them. r=ehsan,ted
--HG--
extra : rebase_source : daf7c38dee86adf07c6d87632a18af60e0eb4f0d
2014-12-23 03:22:50 -05:00
Botond Ballo
e66b60d907 Bug 1073003 - Fix -Wunused-variable / -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : rebase_source : a9b9166164ee79e2e460bb20fde7f76e1672f481
2014-12-31 16:49:13 -05:00
Botond Ballo
7e0bbe8b72 Bug 1073003 - Fix warnings about macro redefinitions. r=ehsan
--HG--
extra : rebase_source : 45baa6f38015d38829617a956c2ab754c9a8dfe5
2014-12-23 03:16:33 -05:00
Botond Ballo
bc093a115c Bug 1073003 - Fix -Wreorder warnings. r=ehsan
--HG--
extra : rebase_source : 3eb4c247a6dd49b5a9377ddd71a095fda37e1c38
2014-12-23 03:14:31 -05:00
Benjamin Chen
935a404340 Bug 1094678 - MediaCodecReader::CreateTaskQueues() runs at main thread. r=cpearce, r=brsun 2014-12-23 14:31:30 +08:00
Boris Chiou
ea4203738e Bug 1098970 - Part 6: Fix the usage of GonkNativeWindow in Omx. r=sotaro
Use new APIs for GonkNativeWindowLL.
2014-12-17 22:31:00 +01:00
Chris Peterson
249ac81315 Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Matt Woodrow
2c7e571767 Bug 1111413 - Part 1: Use MediaPromises for seeking. r=bholley 2014-12-16 22:52:57 +13:00
Alfredo Yang
b140d759be Bug 1105209 - Add media resource request API. r=kentuckyfriedtakahe 2014-12-15 22:25:00 -05:00
Botond Ballo
efb3b4172d Bug 1073081 - Fix -Woverloaded-virtual warnings in the MediaDecoder hierarchy. r=cpearce
--HG--
extra : source : 9aba1a2b1b23b0640867501b1b92f96fb6d0b13a
2014-12-10 13:48:56 -05:00
Botond Ballo
c06e38f0f8 Bug 1073081 - Fix -Wreorder warnings. r=ehsan
--HG--
extra : source : bb7467946fb9144514a5460a7103956449595d21
2014-11-26 17:57:40 -05:00
Bobby Holley
f99391c4c3 Bug 1109216 - Chain MediaOmxReader::ReleaseDecoder off MediaDecoderReader::Shutdown resolution. r=cpearce 2014-12-12 14:22:29 -08:00
Wes Kocher
6d3a321489 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00