Граф коммитов

469 Коммитов

Автор SHA1 Сообщение Дата
Eric Rahm f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Jean-Yves Avenard fc75b668bb Bug 1163227: Part10. Properly recalculate next keyframe time after seeking. r=cpearce 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard 097193a76b Bug 1166836: Part2. Only rescans MP4's moof when necessary. r=cpearce 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard d59c0aad95 Bug 1163227: Part4. Fix MP4TrackDemuxer eviction offset calculations. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard 4ef7b191ea Bug 1163227: Part2. Add MediaDecoderReader::NotifyDataRemoved method. r=cpearce 2015-05-25 15:09:16 +10:00
Ryan VanderMeulen ce2e64149c Merge m-c to b2g-inbound. a=merge 2015-05-22 14:20:37 -04:00
Blake Wu c995b7edcf Bug 1166169 - Add MOZ_GONK_MEDIACODEC in configure and define it in moz.build. r=cpearce, r=glandium 2015-05-21 14:38:51 +08:00
Eric Rahm 3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Eric Rahm 4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Birunthan Mohanathas 735ccdd101 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj 2015-05-18 13:50:35 -07:00
Jean-Yves Avenard 54a681396b Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
Jean-Yves Avenard 70ee594429 Bug 1163485: Part1. Enable MediaFormatReader by default. r=kentuckyfriedtakahe 2015-05-18 15:42:32 +10:00
Jean-Yves Avenard 998eafdaa3 Bug 1163458: Part1. Move PlatformDecoderModule outside fmp4. r=kentukyfriedtakahe
--HG--
rename : dom/media/fmp4/PlatformDecoderModule.cpp => dom/media/platforms/PlatformDecoderModule.cpp
rename : dom/media/fmp4/PlatformDecoderModule.h => dom/media/platforms/PlatformDecoderModule.h
rename : dom/media/fmp4/SharedDecoderManager.cpp => dom/media/platforms/SharedDecoderManager.cpp
rename : dom/media/fmp4/SharedDecoderManager.h => dom/media/platforms/SharedDecoderManager.h
rename : dom/media/fmp4/BlankDecoderModule.cpp => dom/media/platforms/agnostic/BlankDecoderModule.cpp
rename : dom/media/fmp4/eme/EMEAudioDecoder.cpp => dom/media/platforms/agnostic/eme/EMEAudioDecoder.cpp
rename : dom/media/fmp4/eme/EMEAudioDecoder.h => dom/media/platforms/agnostic/eme/EMEAudioDecoder.h
rename : dom/media/fmp4/eme/EMEDecoderModule.cpp => dom/media/platforms/agnostic/eme/EMEDecoderModule.cpp
rename : dom/media/fmp4/eme/EMEDecoderModule.h => dom/media/platforms/agnostic/eme/EMEDecoderModule.h
rename : dom/media/fmp4/eme/EMEVideoDecoder.cpp => dom/media/platforms/agnostic/eme/EMEVideoDecoder.cpp
rename : dom/media/fmp4/eme/EMEVideoDecoder.h => dom/media/platforms/agnostic/eme/EMEVideoDecoder.h
rename : dom/media/fmp4/eme/SamplesWaitingForKey.cpp => dom/media/platforms/agnostic/eme/SamplesWaitingForKey.cpp
rename : dom/media/fmp4/eme/SamplesWaitingForKey.h => dom/media/platforms/agnostic/eme/SamplesWaitingForKey.h
rename : dom/media/fmp4/eme/moz.build => dom/media/platforms/agnostic/eme/moz.build
rename : dom/media/fmp4/gmp/GMPAudioDecoder.cpp => dom/media/platforms/agnostic/gmp/GMPAudioDecoder.cpp
rename : dom/media/fmp4/gmp/GMPAudioDecoder.h => dom/media/platforms/agnostic/gmp/GMPAudioDecoder.h
rename : dom/media/fmp4/gmp/GMPDecoderModule.cpp => dom/media/platforms/agnostic/gmp/GMPDecoderModule.cpp
rename : dom/media/fmp4/gmp/GMPDecoderModule.h => dom/media/platforms/agnostic/gmp/GMPDecoderModule.h
rename : dom/media/fmp4/gmp/GMPVideoDecoder.cpp => dom/media/platforms/agnostic/gmp/GMPVideoDecoder.cpp
rename : dom/media/fmp4/gmp/GMPVideoDecoder.h => dom/media/platforms/agnostic/gmp/GMPVideoDecoder.h
rename : dom/media/fmp4/gmp/MediaDataDecoderProxy.cpp => dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.cpp
rename : dom/media/fmp4/gmp/MediaDataDecoderProxy.h => dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.h
rename : dom/media/fmp4/gmp/moz.build => dom/media/platforms/agnostic/gmp/moz.build
rename : dom/media/fmp4/android/AndroidDecoderModule.cpp => dom/media/platforms/android/AndroidDecoderModule.cpp
rename : dom/media/fmp4/android/AndroidDecoderModule.h => dom/media/platforms/android/AndroidDecoderModule.h
rename : dom/media/fmp4/apple/AppleATDecoder.cpp => dom/media/platforms/apple/AppleATDecoder.cpp
rename : dom/media/fmp4/apple/AppleATDecoder.h => dom/media/platforms/apple/AppleATDecoder.h
rename : dom/media/fmp4/apple/AppleCMFunctions.h => dom/media/platforms/apple/AppleCMFunctions.h
rename : dom/media/fmp4/apple/AppleCMLinker.cpp => dom/media/platforms/apple/AppleCMLinker.cpp
rename : dom/media/fmp4/apple/AppleCMLinker.h => dom/media/platforms/apple/AppleCMLinker.h
rename : dom/media/fmp4/apple/AppleDecoderModule.cpp => dom/media/platforms/apple/AppleDecoderModule.cpp
rename : dom/media/fmp4/apple/AppleDecoderModule.h => dom/media/platforms/apple/AppleDecoderModule.h
rename : dom/media/fmp4/apple/AppleUtils.h => dom/media/platforms/apple/AppleUtils.h
rename : dom/media/fmp4/apple/AppleVDADecoder.cpp => dom/media/platforms/apple/AppleVDADecoder.cpp
rename : dom/media/fmp4/apple/AppleVDADecoder.h => dom/media/platforms/apple/AppleVDADecoder.h
rename : dom/media/fmp4/apple/AppleVDAFunctions.h => dom/media/platforms/apple/AppleVDAFunctions.h
rename : dom/media/fmp4/apple/AppleVDALinker.cpp => dom/media/platforms/apple/AppleVDALinker.cpp
rename : dom/media/fmp4/apple/AppleVDALinker.h => dom/media/platforms/apple/AppleVDALinker.h
rename : dom/media/fmp4/apple/AppleVTDecoder.cpp => dom/media/platforms/apple/AppleVTDecoder.cpp
rename : dom/media/fmp4/apple/AppleVTDecoder.h => dom/media/platforms/apple/AppleVTDecoder.h
rename : dom/media/fmp4/apple/AppleVTFunctions.h => dom/media/platforms/apple/AppleVTFunctions.h
rename : dom/media/fmp4/apple/AppleVTLinker.cpp => dom/media/platforms/apple/AppleVTLinker.cpp
rename : dom/media/fmp4/apple/AppleVTLinker.h => dom/media/platforms/apple/AppleVTLinker.h
rename : dom/media/fmp4/apple/ReorderQueue.h => dom/media/platforms/apple/ReorderQueue.h
rename : dom/media/fmp4/apple/VideoDecodeAcceleration/VDADecoder.h => dom/media/platforms/apple/VideoDecodeAcceleration/VDADecoder.h
rename : dom/media/fmp4/apple/VideoToolbox/VideoToolbox.h => dom/media/platforms/apple/VideoToolbox/VideoToolbox.h
rename : dom/media/fmp4/ffmpeg/FFmpegAudioDecoder.cpp => dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegAudioDecoder.h => dom/media/platforms/ffmpeg/FFmpegAudioDecoder.h
rename : dom/media/fmp4/ffmpeg/FFmpegDataDecoder.cpp => dom/media/platforms/ffmpeg/FFmpegDataDecoder.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegDataDecoder.h => dom/media/platforms/ffmpeg/FFmpegDataDecoder.h
rename : dom/media/fmp4/ffmpeg/FFmpegDecoderModule.cpp => dom/media/platforms/ffmpeg/FFmpegDecoderModule.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegDecoderModule.h => dom/media/platforms/ffmpeg/FFmpegDecoderModule.h
rename : dom/media/fmp4/ffmpeg/FFmpegFunctionList.h => dom/media/platforms/ffmpeg/FFmpegFunctionList.h
rename : dom/media/fmp4/ffmpeg/FFmpegH264Decoder.cpp => dom/media/platforms/ffmpeg/FFmpegH264Decoder.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegH264Decoder.h => dom/media/platforms/ffmpeg/FFmpegH264Decoder.h
rename : dom/media/fmp4/ffmpeg/FFmpegLibs.h => dom/media/platforms/ffmpeg/FFmpegLibs.h
rename : dom/media/fmp4/ffmpeg/FFmpegLog.cpp => dom/media/platforms/ffmpeg/FFmpegLog.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegLog.h => dom/media/platforms/ffmpeg/FFmpegLog.h
rename : dom/media/fmp4/ffmpeg/FFmpegRuntimeLinker.cpp => dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegRuntimeLinker.h => dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.h
rename : dom/media/fmp4/ffmpeg/README_mozilla => dom/media/platforms/ffmpeg/README_mozilla
rename : dom/media/fmp4/ffmpeg/libav53/include/COPYING.LGPLv2.1 => dom/media/platforms/ffmpeg/libav53/include/COPYING.LGPLv2.1
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/avcodec.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/avcodec.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/avfft.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/avfft.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/dxva2.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/dxva2.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/old_codec_ids.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/old_codec_ids.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/opt.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/opt.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/vaapi.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/vaapi.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/vda.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/vda.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/vdpau.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/vdpau.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/version.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/version.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/xvmc.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/xvmc.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavformat/avformat.h => dom/media/platforms/ffmpeg/libav53/include/libavformat/avformat.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavformat/avio.h => dom/media/platforms/ffmpeg/libav53/include/libavformat/avio.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavformat/version.h => dom/media/platforms/ffmpeg/libav53/include/libavformat/version.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/adler32.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/adler32.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/aes.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/aes.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/attributes.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/attributes.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/audio_fifo.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/audio_fifo.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/audioconvert.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/audioconvert.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/avassert.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/avassert.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/avconfig.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/avconfig.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/avstring.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/avstring.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/avutil.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/avutil.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/base64.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/base64.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/blowfish.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/blowfish.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/bprint.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/bprint.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/bswap.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/bswap.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/common.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/common.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/cpu.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/cpu.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/crc.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/crc.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/dict.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/dict.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/error.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/error.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/eval.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/eval.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/fifo.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/fifo.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/file.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/file.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/imgutils.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/imgutils.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/intfloat.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/intfloat.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/intfloat_readwrite.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/intfloat_readwrite.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/intreadwrite.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/intreadwrite.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/lfg.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/lfg.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/log.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/log.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/lzo.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/lzo.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/mathematics.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/mathematics.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/md5.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/md5.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/mem.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/mem.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/old_pix_fmts.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/old_pix_fmts.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/opt.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/opt.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/parseutils.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/parseutils.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/pixdesc.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/pixdesc.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/pixfmt.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/pixfmt.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/random_seed.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/random_seed.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/rational.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/rational.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/samplefmt.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/samplefmt.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/sha.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/sha.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/time.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/time.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/timecode.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/timecode.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/timestamp.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/timestamp.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/version.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/version.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/xtea.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/xtea.h
rename : dom/media/fmp4/ffmpeg/libav53/moz.build => dom/media/platforms/ffmpeg/libav53/moz.build
rename : dom/media/fmp4/ffmpeg/libav54/include/COPYING.LGPLv2.1 => dom/media/platforms/ffmpeg/libav54/include/COPYING.LGPLv2.1
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/avcodec.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/avcodec.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/avfft.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/avfft.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/dxva2.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/dxva2.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/old_codec_ids.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/old_codec_ids.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/vaapi.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/vaapi.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/vda.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/vda.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/vdpau.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/vdpau.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/version.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/version.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/xvmc.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/xvmc.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavformat/avformat.h => dom/media/platforms/ffmpeg/libav54/include/libavformat/avformat.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavformat/avio.h => dom/media/platforms/ffmpeg/libav54/include/libavformat/avio.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavformat/version.h => dom/media/platforms/ffmpeg/libav54/include/libavformat/version.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/adler32.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/adler32.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/aes.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/aes.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/attributes.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/attributes.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/audio_fifo.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/audio_fifo.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/audioconvert.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/audioconvert.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/avassert.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/avassert.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/avconfig.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/avconfig.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/avstring.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/avstring.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/avutil.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/avutil.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/base64.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/base64.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/blowfish.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/blowfish.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/bswap.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/bswap.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/channel_layout.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/channel_layout.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/common.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/common.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/cpu.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/cpu.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/crc.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/crc.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/dict.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/dict.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/error.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/error.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/eval.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/eval.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/fifo.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/fifo.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/file.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/file.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/imgutils.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/imgutils.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/intfloat.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/intfloat.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/intfloat_readwrite.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/intfloat_readwrite.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/intreadwrite.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/intreadwrite.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/lfg.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/lfg.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/log.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/log.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/lzo.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/lzo.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/mathematics.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/mathematics.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/md5.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/md5.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/mem.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/mem.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/old_pix_fmts.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/old_pix_fmts.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/opt.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/opt.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/parseutils.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/parseutils.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/pixdesc.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/pixdesc.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/pixfmt.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/pixfmt.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/random_seed.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/random_seed.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/rational.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/rational.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/samplefmt.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/samplefmt.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/sha.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/sha.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/time.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/time.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/version.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/version.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/xtea.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/xtea.h
rename : dom/media/fmp4/ffmpeg/libav54/moz.build => dom/media/platforms/ffmpeg/libav54/moz.build
rename : dom/media/fmp4/ffmpeg/libav55/include/COPYING.LGPLv2.1 => dom/media/platforms/ffmpeg/libav55/include/COPYING.LGPLv2.1
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/avcodec.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/avcodec.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/avfft.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/avfft.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/dxva2.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/dxva2.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/vaapi.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/vaapi.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/vda.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/vda.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/vdpau.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/vdpau.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/version.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/version.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/xvmc.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/xvmc.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavformat/avformat.h => dom/media/platforms/ffmpeg/libav55/include/libavformat/avformat.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavformat/avio.h => dom/media/platforms/ffmpeg/libav55/include/libavformat/avio.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavformat/version.h => dom/media/platforms/ffmpeg/libav55/include/libavformat/version.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/adler32.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/adler32.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/aes.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/aes.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/attributes.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/attributes.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/audio_fifo.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/audio_fifo.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/audioconvert.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/audioconvert.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/avassert.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/avassert.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/avconfig.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/avconfig.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/avstring.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/avstring.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/avutil.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/avutil.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/base64.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/base64.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/blowfish.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/blowfish.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/bswap.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/bswap.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/buffer.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/buffer.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/channel_layout.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/channel_layout.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/common.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/common.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/cpu.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/cpu.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/crc.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/crc.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/dict.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/dict.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/downmix_info.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/downmix_info.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/error.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/error.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/eval.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/eval.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/fifo.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/fifo.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/file.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/file.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/frame.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/frame.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/hmac.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/hmac.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/imgutils.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/imgutils.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/intfloat.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/intfloat.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/intreadwrite.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/intreadwrite.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/lfg.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/lfg.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/log.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/log.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/lzo.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/lzo.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/macros.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/macros.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/mathematics.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/mathematics.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/md5.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/md5.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/mem.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/mem.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/old_pix_fmts.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/old_pix_fmts.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/opt.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/opt.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/parseutils.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/parseutils.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/pixdesc.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/pixdesc.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/pixfmt.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/pixfmt.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/random_seed.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/random_seed.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/rational.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/rational.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/samplefmt.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/samplefmt.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/sha.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/sha.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/stereo3d.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/stereo3d.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/time.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/time.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/version.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/version.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/xtea.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/xtea.h
rename : dom/media/fmp4/ffmpeg/libav55/moz.build => dom/media/platforms/ffmpeg/libav55/moz.build
rename : dom/media/fmp4/gonk/GonkAudioDecoderManager.cpp => dom/media/platforms/gonk/GonkAudioDecoderManager.cpp
rename : dom/media/fmp4/gonk/GonkAudioDecoderManager.h => dom/media/platforms/gonk/GonkAudioDecoderManager.h
rename : dom/media/fmp4/gonk/GonkDecoderModule.cpp => dom/media/platforms/gonk/GonkDecoderModule.cpp
rename : dom/media/fmp4/gonk/GonkDecoderModule.h => dom/media/platforms/gonk/GonkDecoderModule.h
rename : dom/media/fmp4/gonk/GonkMediaDataDecoder.cpp => dom/media/platforms/gonk/GonkMediaDataDecoder.cpp
rename : dom/media/fmp4/gonk/GonkMediaDataDecoder.h => dom/media/platforms/gonk/GonkMediaDataDecoder.h
rename : dom/media/fmp4/gonk/GonkVideoDecoderManager.cpp => dom/media/platforms/gonk/GonkVideoDecoderManager.cpp
rename : dom/media/fmp4/gonk/GonkVideoDecoderManager.h => dom/media/platforms/gonk/GonkVideoDecoderManager.h
rename : dom/media/fmp4/gonk/moz.build => dom/media/platforms/gonk/moz.build
rename : dom/media/fmp4/moz.build => dom/media/platforms/moz.build
rename : dom/media/fmp4/wmf/MFTDecoder.cpp => dom/media/platforms/wmf/MFTDecoder.cpp
rename : dom/media/fmp4/wmf/MFTDecoder.h => dom/media/platforms/wmf/MFTDecoder.h
rename : dom/media/fmp4/wmf/WMFAudioMFTManager.cpp => dom/media/platforms/wmf/WMFAudioMFTManager.cpp
rename : dom/media/fmp4/wmf/WMFAudioMFTManager.h => dom/media/platforms/wmf/WMFAudioMFTManager.h
rename : dom/media/fmp4/wmf/WMFDecoderModule.cpp => dom/media/platforms/wmf/WMFDecoderModule.cpp
rename : dom/media/fmp4/wmf/WMFDecoderModule.h => dom/media/platforms/wmf/WMFDecoderModule.h
rename : dom/media/fmp4/wmf/WMFMediaDataDecoder.cpp => dom/media/platforms/wmf/WMFMediaDataDecoder.cpp
rename : dom/media/fmp4/wmf/WMFMediaDataDecoder.h => dom/media/platforms/wmf/WMFMediaDataDecoder.h
rename : dom/media/fmp4/wmf/WMFVideoMFTManager.cpp => dom/media/platforms/wmf/WMFVideoMFTManager.cpp
rename : dom/media/fmp4/wmf/WMFVideoMFTManager.h => dom/media/platforms/wmf/WMFVideoMFTManager.h
rename : dom/media/fmp4/wmf/moz.build => dom/media/platforms/wmf/moz.build
rename : dom/media/fmp4/wrappers/H264Converter.cpp => dom/media/platforms/wrappers/H264Converter.cpp
rename : dom/media/fmp4/wrappers/H264Converter.h => dom/media/platforms/wrappers/H264Converter.h
2015-05-18 15:42:32 +10:00
Jean-Yves Avenard a014e62fc1 Bug 1156708: Part2. Add pref to toggle new code. r=kentuckyfriedtakahe
media.format-reader.mp4=true: Will enable the new format decoder for mp4
media.mediasource.format-reader.mp4=true: Will enable new format decoder for
 mp4 within MSE.
2015-05-18 15:41:22 +10:00
Alfredo Yang a2681e3ad6 Bug 1161984 - Get rid of IsWaitingMediaResources() in MP4Reader. r=jya 2015-05-13 00:02:00 -04:00
Alfredo Yang fe47f2573a Bug 1162867 - Release video buffer when failing to create video frame. r=ajones 2015-05-08 01:21:00 -04:00
Chris Pearce af01c0a6a3 Bug 1163814 - Only check if we can create decoder in MP4Decoder::CanCreate*Decoder() on Windows. r=mattwoodrow
--HG--
extra : rebase_source : 082f177e79445a15d33a925045812b9289d673e4
2015-05-15 03:27:00 +02:00
Karl Tomlinson fe240b1bf8 bug 1162364 report telemetry on WMFMediaDataDecoder errors r=cpearce,f=vladan,bsmedberg
--HG--
extra : rebase_source : a40a6aab3fad761dba47255281713e335937ec03
2015-05-13 17:54:31 +12:00
Karl Tomlinson 516c74784b bug 1162364 detect and abort MF_E_TRANSFORM_STREAM_CHANGE infinite loops r=cpearce
--HG--
extra : rebase_source : 5da37518a24e924d1b3f238a3805bba7f8ba304d
2015-05-13 16:36:45 +12:00
Eric Rahm 34f99e4b4c Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Jean-Yves Avenard 12b3244f8f Bug 1159027: Part5. Ensure we have up to date index when calculating offsets. r=cpearce 2015-05-11 20:57:46 +10:00
Jean-Yves Avenard 3aa7c304d1 Bug 1159027: Part3. Add MP4Demuxer object. r=cpearce 2015-05-11 20:57:20 +10:00
Matt Woodrow 7724ed31a5 Bug 1158089 - Remove LAYERS_D3D10 enum value since it's unused. r=Bas 2015-05-11 16:22:51 +12:00
Matt Woodrow 197db41200 Bug 1158089 - Fall back to d3d9 DXVA if d3d11 initialization fails. r=cpearce 2015-05-11 16:21:31 +12:00
Chris Pearce 3b0a4f8c14 Bug 1160321 - Test whether we can create H.264/AAC decoders before we report we support them. r=mattwoodrow 2015-05-08 13:36:32 +12:00
Karl Tomlinson f8eb10f7a0 bug 1161903 ensure pending DrainComplete is not run after Flush() r=cpearce
Using a Decode task already in the queue had the potential for out of order
flushing.

This is similar in behavior to the implementation prior to f550eb7809b6, but
keeps mDecoder->Flush() on the platform decoder's task queue, in the hope of
avoiding any ordering problems from calling in the middle of decoding input,
or races with MFTDecoder::mDiscontinuity.

The contract is not clear on whether DrainComplete() should be run during
Flush(), but I've kept it in this version.

--HG--
extra : rebase_source : 7c001097894b1810c17ed75b8d30d79276c6e281
2015-05-07 14:15:24 +12:00
Karl Tomlinson a7991dc2e5 bug 1161903 reset mDrainComplete after Flush() as DrainComplete() may be called before Flush() r=mattwoodrow
DrainComplete() can also be called during Flush().

--HG--
extra : rebase_source : ae0a8db233d231649cb5a5b0590ca6385db30b95
2015-05-06 11:40:58 +12:00
Karl Tomlinson 69631c815f bug 1161892 use separate thread pool for platform decoder task queues r=bholley
so that platform decoder tasks will run when their readers wait and block
their thread pool.

--HG--
extra : rebase_source : 6d2e3f1c1937991d746ea9754f39add4d184e413
2015-05-07 16:01:43 +12:00
Karl Tomlinson 2340828e61 bug 1161402 assert active proxy if callback is called r=ajones
--HG--
extra : rebase_source : 733e9218dfed4c313854fb53879894485c5c90f8
2015-05-06 17:09:54 +12:00
Blake Wu 4a80fadebf Bug 1161444 - Change MP4Reader's IsMediaSeekable() to only check with Demuxer. r=cpearce
--HG--
extra : rebase_source : 669bb6d1fba27c8ca8e439d739a385711be23da1
2015-05-06 11:16:06 +08:00
Karl Tomlinson 59a8e46319 bug 1161402 more thread doc for MediaDataDecoder use from IsVideoAccelerated() r=cpearce
--HG--
extra : rebase_source : 80a76610aa57f8afd0789a55b872af4e33b03e56
2015-05-06 16:43:52 +12:00
Karl Tomlinson 749a8f60ea bug 1161402 assert there is no mActiveProxy during SharedDecoderManager::Shutdown() r=cpearce
--HG--
extra : rebase_source : e8f9307ea5541b929133668e40c87921fa350e84
2015-05-05 19:11:55 +12:00
Karl Tomlinson 5ee3aad3e3 bug 1161402 assert that public methods are not called after shutdown r=cpearce
Bug 1141241 suggests that this may be happening.

--HG--
extra : rebase_source : a512a988e7c2cffe34db91dce3f0a1ba77e316a3
2015-05-05 18:53:13 +12:00
Karl Tomlinson 1b23b8d523 bug 1161402 assert that some public methods are called on reader task queue r=cpearce
No assert is added for Init() and Shutdown() because SharedDecoderProxy does
not set the MediaDataDecoderCallback in these methods, and
IsVideoAccelerated() calls these from the main thread.

--HG--
extra : rebase_source : a1c38f0a2ec899c280d5f346dfca64777bdc61e5
2015-05-04 11:54:24 +12:00
Karl Tomlinson ff0a1eca14 bug 1161402 add MediaDataDecoderCallback::OnReaderTaskQueue() r=cpearce
--HG--
extra : rebase_source : 59323104c9ffca27e79a1da163d258c1a9ec22c2
2015-05-01 12:03:32 +12:00
Karl Tomlinson 091d2512b1 bug 1161402 remove async MediaDataDecoder::Drain() from the list of blocking examples r=cpearce
Async since bug 1039128.

--HG--
extra : rebase_source : 6b306aeaf48e1f439164b6f9618176ff339b3602
2015-05-04 09:54:17 +12:00
Karl Tomlinson 2a5d85c3f2 bug 1161402 document that MediaDataDecoder::IsHardwareAccelerated() is called from the state machine task queue r=cpearce
--HG--
extra : rebase_source : 9afc7df49c3fdb2f98435e4ac4bf5e64d8a941dd
2015-05-04 09:53:04 +12:00
Phil Ringnalda 44aaf99825 Back out dbb002daa455 (bug 1160321) for assertion failures 2015-05-05 20:04:39 -07:00
Jean-Yves Avenard aacb467ca4 Bug 1161443: Always read SDM::mWaitForInternalDrain while holding monitor. r=gerald 2015-05-06 09:58:09 +10:00
Jean-Yves Avenard dbf43400f9 Bug 1161416: Don't wait for a drain complete that will never happen. r=cpearce 2015-05-06 09:58:09 +10:00
Jean-Yves Avenard cb7623e3b7 Bug 1154896: Part2. Ignore kVTDecodeInfo_FrameDropped flag. r=rillian
It appears that on some machine, all video frames are marked with kVTDecodeInfo_FrameDropped even when valid. We just can't rely on it.
2015-05-06 09:58:09 +10:00
Jean-Yves Avenard 60dd15ac2e Bug 1154896: Report decoding errors back to MP4Reader. r=rillian 2015-05-06 09:58:09 +10:00
Chris Pearce 0170b8e2ed Bug 1160321 - Test whether we can create H.264/AAC decoders before we report we support them. r=mattwoodrow 2015-05-06 11:40:45 +12:00
Alfredo Yang 3a7a24611f Bug 1127656 - Remove class inheritance hierarchy from gonk PlatformDeocdeModule. r=ajones 2015-05-04 19:34:00 +02:00
Blake Wu 3529c99ba1 Bug 1153895 - Support audio AMR-WB for Gonk in MP4Reader. r=jya 2015-05-04 10:11:29 +08:00
Alfredo Yang 428c3995dd Bug 1153149 - Remove IsWaitingMediaResources() from PlatformDecoderModule. r=jya
--HG--
extra : rebase_source : 94535c9c2b0822f49354c9660ec9251999cc21d2
2015-05-04 03:07:00 -04:00
Alfredo Yang e727de4c04 Bug 1154512 - Remove MediaTaskQueue::SyncDispatch() from PDM. r=cpearce
--HG--
extra : rebase_source : 1aac8eec5a39097d5cb17dac529578a6af053bd0
2015-05-04 03:04:00 -04:00
Jean-Yves Avenard 53619f7ad6 Bug 1159496: Ensure decoders are properly shutdown. r=alfredo 2015-05-04 21:16:48 +10:00
Ryan VanderMeulen a91513ec8c Merge m-c to b2g-inbound. a=merge 2015-05-01 12:59:30 -04:00
Jean-Yves Avenard 9d61be486b Bug 1157203: Fix SharedDecoderProxy::IsWaitingMediaResources( . r=kentuckyfriedtakahe
Don't wait until the decoders has received data to check if it's ready or not.
2015-05-01 15:27:29 +10:00
Jean-Yves Avenard fe85e25a44 Bug 1156689: Part10. Remove static_cast on TrackInfo objects. r=cpearce 2015-05-01 15:26:51 +10:00
Jean-Yves Avenard e146d4940f Bug 1156689: Part1. Remove mp4_demuxer::TrackType. r=cpearce 2015-05-01 15:26:50 +10:00
Blake Wu f124a393fe Bug 1159509 - Support audio AMR-NB for Gonk in MP4Reader. r=jya 2015-04-30 22:11:13 +08:00
Karl Tomlinson 05a7f03140 bug 1159456 finish and exit from Flush() even if MFTManager rejects sample r=cpearce
--HG--
extra : rebase_source : 7a271b5d0418f4de4f7524ddb5bb8a9e6d86cff8
2015-04-29 04:36:13 +12:00
Blake Wu 07344315f6 Bug 1147304 - Send codec specific data for MPEG4 codec type only. r=jya
--HG--
extra : rebase_source : 315a365894179b735d1ec48a57994c542a39b453
2015-04-28 16:08:00 +08:00
Matt Woodrow 6a2db15afa Bug 1151611 - Null check PDM::Create to fix bustage. CLOSED TREE 2015-04-28 15:58:13 +12:00
Matt Woodrow fa7ac228d2 Bug 1151611 - Expose DXVA status in about:support. r=cpearce,felipe
--HG--
extra : rebase_source : e65d849641d33218d9ee2b9bb6eeafb602a6f8e6
2015-04-28 15:07:22 +12:00
Blake Wu e18be58df6 Bug 1146729 - [FFOS] Enable MP4Reader for MSE and local playback. r=cpearce. r=jwwang
--HG--
extra : rebase_source : 01149921b494e7ca57983f3fceff89775ec8ed15
2015-04-23 20:40:32 +08:00
JW Wang 9d831360d9 Bug 1157551 - Fix UAF in FFmpegH264Decoder. r=edwin. 2015-04-23 11:21:03 +08:00
Andrea Marchesini e666f02521 Bug 1156632 - Remove unused forward class declarations - patch 2 - dom/media, dom/indexedDB, dom/svg, r=ehsan 2015-04-22 08:29:17 +02:00
Nicolas Silva e887c595eb Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02:00
Bobby Holley 083b5538c6 Bug 1155268 - (Bonus) small reduction in FlushableMediaTaskQueue usage. r=cpearce 2015-04-21 00:15:19 -07:00
Bobby Holley 32fb7c6df8 Bug 1155268 - Add checked methods to convert from an AbstractThread to a concrete type. r=cpearce 2015-04-21 00:15:18 -07:00
Blake Wu eeb2174b40 Bug 1153876 - Support MPEG-4 Codec, mp4v-es. r=jya. r=cpearce.
--HG--
extra : rebase_source : 596b37eab0d6d77c020b752212063b42ad6f5f3f
2015-04-20 21:57:29 +08:00
Jeff Gilbert 7aa0b18d60 Bug 1127336 - Label HW-decoded frames with correct origin. - r=vlad 2015-04-20 17:49:25 -07:00
Ehsan Akhgari 4ebeb72f7b Bug 1155178 - Part 2: Rename GMPUnique to GMPUniquePtr; r=cpearce 2015-04-20 08:29:51 -04:00
Ehsan Akhgari 623b3ca075 Bug 1155178 - Part 1: Convert GMPUnique into a template alias; r=cpearce 2015-04-20 08:28:44 -04:00
Chris Pearce 0eafa8396e Bug 1155432 - Don't flush WMF PDM task queues. r=jya 2015-04-20 20:03:41 +12:00
Phil Ringnalda e6cf21241e Backed out changeset 01abd1d12b2c (bug 1155432) for Windows build bustage
CLOSED TREE
2015-04-19 22:42:22 -07:00
Chris Pearce c4b402a786 Bug 1155432 - Don't flush WMF PDM task queues. r=jya 2015-04-20 16:41:41 +12:00
Matt Woodrow 3d1e42754c Bug 1154536 - Disable 4k H264 video for vista since it performs poorly. r=ajones
--HG--
extra : rebase_source : f1963c747c29acfa76a4a0e57f8df7e7430f06f3
2015-04-17 12:42:09 +12:00
Bobby Holley f026d499ed Bug 1154805 - Followup bustage fix. r=me CLOSED TREE 2015-04-16 09:54:23 -07:00
Jean-Yves Avenard 52a7a65989 Bug 1153094: Rename LargeDataBuffer and DataBuffer object. r=cpearce
This causes conflicts with webRTC libraries that use those names already. The
linker appears to get it wrong and calls the destructor of the wrong class.

--HG--
extra : rebase_source : 809221de3e5bde540bd40406f061f3865e4c4f00
2015-04-15 15:27:38 +10:00
Chris Pearce d6025eed65 Bug 1154133 - Remove sync dispatches in EMEDecryptor, and mark MediaTaskQueue::SyncDispatch as deprecated. r=edwin 2015-04-15 12:14:49 +12:00
David Keeler c692895546 bug 1153013 - disable warning on unknown attributes when compiling with clang in some ffmpeg folders r=jya
--HG--
extra : amend_source : b768eb5a8ce25bc25b4b8cdc3c7bd810a26a06ec
2015-04-10 14:30:44 -07:00
Jean-Yves Avenard 4623f4873e Bug 1153049: Part4. Remove redundant mHasAudio/mHasVideo member. r=cpearce
--HG--
extra : rebase_source : f53f194f7e8c870024c39270a626bc41f2f79d0b
2015-04-14 15:17:51 +10:00
Jean-Yves Avenard 378df808cf Bug 1153049: Part3. Using AudioInfo/VideoInfo object. r=cpearce
This remove all remaining references to stagefright/MP4 specific objects.

--HG--
extra : rebase_source : 0f34f7851c0f22532dffb88c32ac83ebb962a7cc
2015-04-14 15:16:32 +10:00
Jean-Yves Avenard ea02e1a1f5 Bug 1152658: Use MediaRawDataWriter to access MediaRawData::mCrypto. r=cpearce
--HG--
extra : rebase_source : 20332ef7e99c0183d219c0b1b739aae24f35d907
2015-04-14 15:15:46 +10:00
Chris Pearce ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E) 3916a66ac9 Bug 875247 - Add support for DXVA2 via D3D11. r=cpearce,gps,padenot 2015-03-31 18:21:15 +13:00
Naoki Hirata a1cb354136 Backed out changeset 861b69f6f3b2 (bug 1146729) due to bug 1153831 2015-04-13 12:48:31 -07:00
Jean-Yves Avenard c54d0287f1 Bug 1153110: Don't prefer VDA for 720p and above. r=rillian
Partially reverts the prior c6e173b28eca change.
2015-04-12 19:16:33 +10:00
Jean-Yves Avenard 6d85e0a7a5 Backout changest ee75ba3d3937 for using wrong comment 2015-04-12 19:14:44 +10:00
Jean-Yves Avenard 1ef165a869 Bug 1137529: Partial evert of commit c6e173b28eca. r=rillian 2015-04-12 18:22:07 +10:00
Alfredo Yang db11a06df3 Bug 1132832 - Remove media resource API from PlatformDecoderModule. r=jya 2015-04-10 02:16:00 -04:00
Blake Wu 3abc5e1763 Bug 1146729 - [FFOS] Enable MP4Reader for MSE and local playback. r=cpearce.
--HG--
extra : rebase_source : 266be05dba0167a0740fb2ae71e363c65d051f74
2015-04-09 14:02:41 +08:00
Juan Gomez 74d291470d Bug 1087161 - Upgrading B2G toolchain to gcc-4.9
* Fixed some -Werror=format issues by making function-style castings

--HG--
extra : rebase_source : e9677c42819a8e95008bb3e97b97b47eff915021
2015-04-09 18:13:39 +02:00
Jean-Yves Avenard aa270b640c Bug 1152652: Part1. Use mStandardMozillaStyle for crypto classes. r=edwin 2015-04-09 21:14:56 +10:00
Jean-Yves Avenard 8a19b6772a Bug 1150853: Part3. Do not modify provided extradata array. r=edwin
The extradata provided may be modified elsewhere, prevent potential conflict.
2015-04-09 21:14:56 +10:00
Jean-Yves Avenard e6858f0af5 Bug 1150853: Part2. Use new MediaRawObject across the board. r=cpearce. 2015-04-09 21:14:55 +10:00
Alfredo Yang 747b227596 Bug 1152236: OMX codec should use AnnexB as input format. r=jya 2015-04-09 01:18:00 +10:00
Daniel Holbert 5ab18315b5 Bug 1145926 followup: Add missing 'virtual' & 'override' keywords to DecoderNeedsConversion() decl in BlankDecoderModule. rs=ehsan 2015-04-08 10:21:07 -07:00
Jean-Yves Avenard 3daebe5323 Bug 1145926: Part2. Make SDM::Recreate re-use original arguments. r=cpearce 2015-04-07 20:33:17 +10:00
Jean-Yves Avenard c74f6b186a Bug 1145926: Part1. Refactor AVCC wrapper. r=cpearce
Add support for future handling of audio remuxing before conversion.
2015-04-07 20:33:17 +10:00
Jean-Yves Avenard a3d318782c Bug 1151299: Part2. Clear EOS flag when new data is received. r=mattwoodrow
We will reattempt to demux samples in a followup call, which may re-set EOS.
2015-04-07 20:33:17 +10:00
Peter Van der Beken 166fcb5464 Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 5 - use bridging for GMP in e10s. r=billm.
--HG--
extra : rebase_source : a20ed3386758ceabccb50b68a9b9081c17a95c49
2015-02-10 11:49:03 +01:00
Peter Van der Beken 83b03d9a6f Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 2 - support asynchronous GMP API getters. r=jwwang,rjesup.
--HG--
extra : rebase_source : 7010b6a0d5f3efc1ee749f836a37905f250d7cc6
2015-02-10 11:48:29 +01:00
Peter Van der Beken f3fd8b5329 Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 1 - split GeckoMediaPluginService into a part for chrome and a part for both content and chrome. r=jwwang.
--HG--
rename : dom/media/gmp/GMPService.cpp => dom/media/gmp/GMPServiceParent.cpp
rename : dom/media/gmp/GMPService.h => dom/media/gmp/GMPServiceParent.h
rename : dom/media/gmp/mozIGeckoMediaPluginService.idl => dom/media/gmp/mozIGeckoMediaPluginChromeService.idl
extra : rebase_source : 7fe8972a20b198ca960ae76df082b153d22c37b4
2015-02-09 21:54:12 +01:00
Peter Van der Beken ec1c124919 Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Add nsServiceManagerUtils.h include to WMFDecoderModule.cpp.
--HG--
extra : rebase_source : 4285384ce5c38bd296ba065adf4f057c5e12dced
2015-03-24 13:46:56 +01:00
Gerald Squelart 9c87262f4f Bug 1144409 - Encrypted event should be fired once per initData. r=cpearce 2015-04-01 03:36:00 -04:00
Chris Pearce f800285f02 Bug 1148286 - Ensure we don't nullpointer deref if the CDM crashes in MediaKeys and Reader::SetCDMProxy implementations. r=edwin 2015-04-01 20:48:43 +13:00
Matt Woodrow 6c21c805bf Bug 1149343 - Followup to fix bustage on a CLOSED TREE 2015-04-01 16:39:07 +13:00
Jean-Yves Avenard 8ea88abcfd Bug 1149343 - Part2: Add HW decode blacklisting support on mac. r=mattwoodrow 2015-03-31 14:18:38 +11:00
Matt Woodrow b3d4a15c89 Bug 1149343 - Part 1: Unify prefs/blacklist for hardware acceleration video decoding. r=cpearce 2015-04-01 16:06:56 +13:00
Ryan VanderMeulen 608e0e0c96 Backed out changeset 95866bc69415 (bug 1144409) for bustage. 2015-03-31 11:16:29 -04:00
Gerald Squelart 1d7764854a Bug 1144409 - Encrypted event should be fired once per initData. r=cpearce 2015-03-26 18:57:00 -04:00
Blake Wu 2030c9f064 Bug 1147258 - Check with assertion if there is any queued sample when EOS. r=ajones
--HG--
extra : rebase_source : 4047c157bbbc196b04879b476e6e7e5d096c8fef
2015-03-27 15:56:07 +08:00
Jean-Yves Avenard a288b721e4 Bug 1133633: Part2. Enable async decoding on mac. r=mattmoodrow 2015-03-31 20:36:32 +11:00
Jean-Yves Avenard 624eb59f55 Bug 1062098: Do not attempt to display dropped frames. r=mattwoodrow 2015-03-31 20:36:29 +11:00
Edwin Flores dd924e1125 Bug 1148699 - Fix race in CDM Session IDs - r=cpearce 2015-03-28 20:03:32 +13:00
Edwin Flores 46cbfd3c6b Bug 1147689 - Pass the session ID(s) of an encrypted frame into EME CDMs - r=cpearce 2015-03-26 22:57:36 +13:00
Bobby Holley 086ebaa957 Bug 1142336 - Create one unified thread pool for media code and run the MDSM task queues on it. r=mattwoodrow
This allows for parallel MDSM execution. \o/
2015-03-25 17:46:26 -07:00
Jean-Yves Avenard 04753af547 Bug 1146222: use nsAutoCString to store mimetype string. r=karlt
We use a nsAutoCString as the mimetype is typically less than 64 characters
and prevent a heap allocation (and the unecessary fragmentation linked to it)
2015-03-24 14:45:17 +11:00
Wes Kocher 14ef0e0f7d Backed out changeset f3b3547c610a (bug 1144409) for eme test failures CLOSED TREE
--HG--
extra : amend_source : 4d2becbe491a36feec46af2b418e124a32f0be87
2015-03-23 16:06:32 -07:00
Wes Kocher 99ed20cdcb Backed out changeset 6cb38e697216 (bug 1144409) 2015-03-23 16:06:31 -07:00
Gerald Squelart 51b6885024 Bug 1144409 - Encrypted event should be fired once per initData; part 2: future initData. r=cpearce 2015-03-22 23:27:00 -04:00
Gerald Squelart e9b08e251b Bug 1144409 - Encrypted event should be fired once per initData; part 1: first initData. r=cpearce 2015-03-22 23:26:00 -04:00
Jean-Yves Avenard 586ae964db Bug 1145411: Reduce Apple audio decoder verbosity. r=mattwoodrow 2015-03-23 21:09:05 +11:00
Edwin Flores 9a9b42ccdf Bug 1134434 - Fire loadedmetadata before encrypted event on encrypted MP4s - r=cpearce 2015-03-23 15:31:15 +13:00
Jean-Yves Avenard ec3133be54 Bug 1145101: Part6. Remove the PDM::Shutdown() method. r=cpearce
PDM::Shutdown() was documented in some implementation as running from the main
thread which wasn't the case. It served no purpose and all can be done from the
destructor instead.
The PDM being a refcounted object can be referenced by more than one object.
Shutting it down too early could cause crash. This is now avoided.
2015-03-23 11:12:59 +11:00
Jean-Yves Avenard 29c3f07735 Bug 1145101: Part5. Re-use the same PDM when recreating a decoder. r=mattwoodrow
This ensure proper balance of PDM/Media Data Decoder Shutdown()
2015-03-22 13:13:42 +11:00
Jean-Yves Avenard eba783fa56 Bug 1145101: Part4. Fix coding style. r=cpearce 2015-03-23 11:12:58 +11:00
Jean-Yves Avenard 2a25b5ab4d Bug 1145101: Part3. Ensure PDM is shutdown after decoder. r=cpearce
A MediaDataDecoder object can't be used once the PDM that created it is
shutdown.
We ensure that if the PDM is in use by the SharedDecoderManager we do not
shut it down.
2015-03-23 11:12:58 +11:00
Jean-Yves Avenard 51d848ba61 Bug 1145101: Part2. Unset VDA/VT system functions when unlinking framework. r=cpearce
Makes it much easier to debug when framework got unlinked but is incorrectly
still later used as it will crash as a null deref.
2015-03-23 11:12:58 +11:00
Jean-Yves Avenard 5c5bf460e7 Bug 1145101: Part1. Correct log entry. r=cpearce 2015-03-23 11:12:57 +11:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Matthew Gregan a5dd52d5ad Bug 1144523 - Convert input buffer to expected format for OpenH264 GMP plugin. r=cpearce 2015-03-20 17:52:10 +13:00
Matt Woodrow bfd6201948 Bug 1145029 - Disable DXVA for 4k videos on AMD hardware since it performs poorly. r=jya
--HG--
extra : rebase_source : b2b686f7b6774fb04766b47133299c78061793b5
2015-03-19 22:01:47 +13:00
Phil Ringnalda 0400bc353a Back out 59fd15407a79 (bug 1142336) for shutdown hangs
CLOSED TREE
2015-03-18 20:38:43 -07:00
Bobby Holley 7afd45ea42 Bug 1142336 - Create one unified thread pool for media code and run the MDSM task queues on it. r=mattwoodrow
This allows for parallel MDSM execution. \o/
2015-03-18 18:00:49 -07:00
Matt Woodrow cfd81254b3 Bug 1138967 - Part 2: Create IMFYCbCrImage so that image data copying happens off the decoder thread. r=nical,cpearce
--HG--
extra : rebase_source : f42bec1f1f15eb9e825643df87f3f9285dcb7189
2015-03-19 10:16:23 +13:00
Jean-Yves Avenard 09f736c2cc Bug 1143987: Use SharedDecoderManager with EME PDM. r=cpearce
--HG--
extra : rebase_source : cf3c5fff87bdca3b55d10e41d5b4f44678253c72
2015-03-18 14:10:59 +11:00
Daniel Holbert 082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Jean-Yves Avenard ddd2384f4e Bug 1143516: Ignore SPS's aspect ratio if value is nonsensical. r=cpearce 2015-03-17 16:42:02 +11:00
Bobby Holley 9f9d0175f0 Bug 1141785 - Logging fixes. r=jya 2015-03-15 21:29:54 -07:00
Chris Peterson df594b2b0d Bug 1143336 - Fix and suppress -Wunreachable-code-return warnings in media code. r=cajbir 2015-03-14 13:47:51 -07:00
Jean-Yves Avenard 2572f7570a Bug 1143339: Part3. FFmpeg decoder can play video/mp4 mimetype. r=edwin 2015-03-16 08:49:19 +11:00
Jean-Yves Avenard a2d00dfc0a Bug 1143339: Part2. Also wrap mimetype video/mp4 in avcc wrapper. r=cpearce 2015-03-16 08:48:44 +11:00
Jean-Yves Avenard 68dde32c37 Bug 1143339: Part1. Ensure successive calls to Shutdown() won't potentially crash. r=cpearce 2015-03-16 08:48:29 +11:00
Matt Woodrow 10ced0676b Bug 1131638 - Disable hardware decoding if too many frames are invalid. r=cpearce 2015-03-12 22:14:51 +13:00
Jean-Yves Avenard 587ac422b8 Bug 1140688: Only print a warning when VDA decoder couldn't be created. r=rillian
--HG--
extra : rebase_source : 3292410fbd8a8b03469ece9a257d6cd744ce5fef
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard 4c60d0f785 Bug 1141914: Always use video dimensions using extradata's SPS. r=cpearce
--HG--
extra : rebase_source : f8d97ec431cc5147edc9013029e2053d3f2e4a40
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard 100d451a99 Bug 1128381: Part7. Streamline code across platforms. r=cpearce
--HG--
extra : rebase_source : bd3fa9d07c8e37711f2409ef731f60ff882f8dbb
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard 7434c7c6ac Bug 1128381: Part6. Remove unused member functions. r=cpearce
--HG--
extra : rebase_source : f310f0f143662154332963e6f7678a4f87057ad8
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard 51d8526603 Bug 1128381: Part5. Make AVCC wrapper be dormant capable. r=cpearce
This makes the Apple VDA and VideoToolbox as well as EME and FFmpeg decoder
dormant capable.

--HG--
extra : rebase_source : f350d83ea8bb3a2a7d80c51c4861272f1093eee3
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard 83de7dcb78 Bug 1128381: Part4. Make AVCC wrapper work with SharedDecoderManager. r=cpearce
--HG--
extra : rebase_source : 957ef4b523f795804fec06c295c80c5de0da7bde
2015-03-12 11:07:19 +11:00
Jean-Yves Avenard adf3e336a3 Bug 1128381: Part3. Handle on the fly video format change. r=cpearce
Add monitoring of the current SPS NAL and destroy/recreate H264 decoder as
required.

--HG--
extra : rebase_source : fbab04b0ae3b4be42eea34a1c6f1b19bf39ad2f0
2015-03-12 11:07:19 +11:00
Chris Pearce 46dba701ac Bug 1141241 - Add nullcheck for mDecoder in WMFMediaDataDecoder::ProcessDrain(). r=mattwoodrow 2015-03-11 22:01:19 +13:00
Brian Birtles 78cbd39cef Bug 1134487 - Remove delegated constructors in GMP{Audio,Video}Decoder since they're not supported by GCC 4.6. r=cpearce 2015-02-19 10:37:29 +09:00
Jean-Yves Avenard 52763888a3 Bug 1139779: Part5. Move picture/display size calculations in AVCC wrapper. r=rillian 2015-03-10 21:19:42 +11:00
Jean-Yves Avenard 313c854fd3 Bug 1139779: Part4. Make FFmpeg video decoder use AVCC. r=edwin
FFmpeg h264 decoder doesn't handle change of SPS in-band and only use the first
found.
2015-03-10 21:19:42 +11:00