Bug 1034308: Don't use NS_DECL_NSISTREAMINGPROTOCOLLISTENER on RtspMediaSource since it doesn't actually inherit nsIStreamingProtocolListener. r=ethan

This commit is contained in:
Kyle Huey 2014-08-05 08:18:45 -07:00
parent 58b9ae445f
commit 4e440dc312

View File

@ -222,7 +222,11 @@ public:
protected:
// Main thread access only.
// These are called on the main thread by Listener.
NS_DECL_NSISTREAMINGPROTOCOLLISTENER
nsresult OnMediaDataAvailable(uint8_t aIndex, const nsACString& aData,
uint32_t aLength, uint32_t aOffset,
nsIStreamingProtocolMetaData* aMeta);
nsresult OnConnected(uint8_t aIndex, nsIStreamingProtocolMetaData* aMeta);
nsresult OnDisconnected(uint8_t aIndex, nsresult aReason);
nsRefPtr<Listener> mListener;