diff --git a/dom/media/mediasource/MediaSourceDecoder.cpp b/dom/media/mediasource/MediaSourceDecoder.cpp index 085483bff97e..39c30b7464e3 100644 --- a/dom/media/mediasource/MediaSourceDecoder.cpp +++ b/dom/media/mediasource/MediaSourceDecoder.cpp @@ -66,8 +66,7 @@ MediaSourceDecoder::Load(nsIStreamListener**, MediaDecoder*) NS_ENSURE_SUCCESS(rv, rv); SetStateMachineParameters(); - - return NS_OK; + return ScheduleStateMachineThread(); } nsresult