зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1377370. P3 - remove HLS related code from MediaResource.cpp. r=kikuo
MozReview-Commit-ID: FnZEMNDjjmE --HG-- extra : rebase_source : 5035a91206da73ab2d8c76d99789ec6ca89ce679 extra : source : c4be1a0fd151c5da20a959da05bdf2246c46a487
This commit is contained in:
Родитель
b02249e698
Коммит
c1d11b49ba
|
@ -33,10 +33,6 @@
|
|||
#include "nsProxyRelease.h"
|
||||
#include "nsIContentPolicy.h"
|
||||
|
||||
#ifdef MOZ_ANDROID_HLS_SUPPORT
|
||||
#include "HLSResource.h"
|
||||
#endif
|
||||
|
||||
using mozilla::media::TimeUnit;
|
||||
|
||||
#undef LOG
|
||||
|
@ -1445,13 +1441,6 @@ MediaResource::Create(MediaResourceCallback* aCallback,
|
|||
|
||||
RefPtr<MediaResource> resource;
|
||||
|
||||
#ifdef MOZ_ANDROID_HLS_SUPPORT
|
||||
if (DecoderTraits::IsHttpLiveStreamingType(containerType.value())) {
|
||||
resource = new HLSResource(aCallback, aChannel, uri);
|
||||
return resource.forget();
|
||||
}
|
||||
#endif
|
||||
|
||||
// Let's try to create a FileMediaResource in case the channel is a nsIFile
|
||||
nsCOMPtr<nsIFileChannel> fc = do_QueryInterface(aChannel);
|
||||
if (fc) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче