mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Bug 1282154 - add more override declarations for Android-specific code; r=snorp
This commit is contained in:
parent
4efebf6d76
commit
121f6f491f
@ -193,7 +193,7 @@ public:
|
||||
}
|
||||
|
||||
nsresult Output(BufferInfo::Param aInfo, void* aBuffer,
|
||||
MediaFormat::Param aFormat, const TimeUnit& aDuration)
|
||||
MediaFormat::Param aFormat, const TimeUnit& aDuration) override
|
||||
{
|
||||
// The output on Android is always 16-bit signed
|
||||
nsresult rv;
|
||||
|
@ -25,7 +25,7 @@ class AndroidCaptureProvider final : public nsDeviceCaptureProvider {
|
||||
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
|
||||
nsresult Init(nsACString& aContentType, nsCaptureParams* aParams, nsIInputStream** aStream);
|
||||
nsresult Init(nsACString& aContentType, nsCaptureParams* aParams, nsIInputStream** aStream) override;
|
||||
static AndroidCaptureProvider* sInstance;
|
||||
};
|
||||
|
||||
@ -42,7 +42,7 @@ class AndroidCameraInputStream final : public nsIAsyncInputStream, mozilla::net:
|
||||
NS_DECL_NSIINPUTSTREAM
|
||||
NS_DECL_NSIASYNCINPUTSTREAM
|
||||
|
||||
void ReceiveFrame(char* frame, uint32_t length);
|
||||
void ReceiveFrame(char* frame, uint32_t length) override;
|
||||
|
||||
protected:
|
||||
void NotifyListeners();
|
||||
|
Loading…
Reference in New Issue
Block a user