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
Родитель 1e305aa73a
Коммит bed0171fd7
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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;