Bug 1324530 - part 3: make codec methods that change state(start, stop, flush, release) synchronous. r=snorp
authorJohn Lin <jolin@mozilla.com>
Fri, 23 Dec 2016 16:25:43 +0800
changeset 374268 435b42d165eeb35c5cfb62976a508d99423033d0
parent 374267 7398e758604e4a79e0523bd8448ecab8c1722f15
child 374269 d9544d6b0b5dc30e5ac0e6a6a9aa4fb148a3df5c
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1324530
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1324530 - part 3: make codec methods that change state(start, stop, flush, release) synchronous. r=snorp MozReview-Commit-ID: EVjtpzX9dbD
mobile/android/base/aidl/org/mozilla/gecko/media/ICodec.aidl
--- a/mobile/android/base/aidl/org/mozilla/gecko/media/ICodec.aidl
+++ b/mobile/android/base/aidl/org/mozilla/gecko/media/ICodec.aidl
@@ -10,18 +10,18 @@ import android.view.Surface;
 import org.mozilla.gecko.media.FormatParam;
 import org.mozilla.gecko.media.ICodecCallbacks;
 import org.mozilla.gecko.media.Sample;
 
 interface ICodec {
     void setCallbacks(in ICodecCallbacks callbacks);
     boolean configure(in FormatParam format, inout Surface surface, int flags, in String drmStubId);
     boolean isAdaptivePlaybackSupported();
-    oneway void start();
-    oneway void stop();
-    oneway void flush();
-    oneway void release();
+    void start();
+    void stop();
+    void flush();
+    void release();
 
     Sample dequeueInput(int size);
     oneway void queueInput(in Sample sample);
 
     oneway void releaseOutput(in Sample sample, in boolean render);
 }