BMediaFile: fix MediaExtractor crash.
* stop the extractor processing before deleting the source. * crash happened in MediaPlayer FilePlaylistItem::_CalculateDuration(). * was a regression introduced in hrev50671. * fixes #13156.
This commit is contained in:
@@ -72,6 +72,9 @@ public:
|
||||
status_t GetStreamMetaData(int32 stream,
|
||||
BMessage* _data) const;
|
||||
|
||||
void StopProcessing();
|
||||
|
||||
|
||||
private:
|
||||
void _Init(BDataIO* source, int32 flags);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user