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

460 Коммитов

Автор SHA1 Сообщение Дата
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
Jean-Yves Avenard b849b45758 Bug 1139779: Part3. Use dispay size extracted from SPS NAL. r=edwin
This also adds proper aspect ratio support.
2015-03-10 21:19:41 +11:00
Jean-Yves Avenard 85f78b847d Bug 1139779: Part2. Use display dimension from SPS NAL. r=rillian 2015-03-10 21:19:41 +11:00
Mike Taylor 6cd22be51a Bug 1136877 - Collect telemetry on SPS.max_num_ref_frames. r=jya 2015-03-06 08:18:00 -05:00
Mike Taylor df74a152aa Bug 1136877 - Collect telemetry on constraint_set flags from decoded SPS. r=jya 2015-03-06 08:17:00 -05:00
Jean-Yves Avenard 3a14d38778 Bug 1128380: Make AmpleVideoFrames calculation dynamic. r=cpearce 2015-03-09 14:17:30 +11:00
Jean-Yves Avenard 24c09255ca Bug 1128380: Add IsHardwareAccelerated implementation for AVCC and mac decoder. r=cpearce 2015-03-09 14:17:27 +11:00
Karl Tomlinson b0c623a54e bug 1138229 GetOutputStreamInfo() after each SetOutputType() r=cpearce
--HG--
extra : rebase_source : 8c4153a0f9d1c7fb65fed93ee1c2945adfecf1cd
2015-02-26 17:59:37 +13:00
Karl Tomlinson fe56d5c8a5 bug 1138238 reset video frame geometry on each init r=cpearce
--HG--
extra : rebase_source : 44ed6d25db75458ece530d0537f0a5f69b4a992a
2015-02-26 15:25:55 +13:00
Karl Tomlinson 49b9f7e466 bug 1138238 ensure mUseHwAccel is set appropriately when WMFVideoMFTManager::Init() is called after Shutdown() r=cpearce
--HG--
extra : rebase_source : 3e7603db676772e161d3743a63f21b16d98fe424
2015-02-26 14:24:33 +13:00
Karl Tomlinson 19c1032182 bug 1138238 remove unused member variables from WMFVideoMFTManager r=cpearce
--HG--
extra : rebase_source : 019138f4e4ea5b80c795b8cc271410fa7b689ba1
2015-02-26 14:40:47 +13:00
Carsten "Tomcat" Book 4c5ee903cd Backed out changeset 72a843ecfb92 (bug 1128380) for m3 test failures on a CLOSED TREE 2015-03-05 08:40:45 +01:00
Carsten "Tomcat" Book 248ef21229 Backed out changeset 5d97bad42411 (bug 1128380) 2015-03-05 08:38:47 +01:00
Jean-Yves Avenard 370ed231e4 Bug 1128380: Make AmpleVideoFrames calculation dynamic. r=cpearce 2015-03-05 16:53:47 +11:00
Jean-Yves Avenard e5a7c9c6c1 Bug 1128380: Add IsHardwareAccelerated implementation for AVCC and mac decoder. r=cpearce 2015-03-05 16:53:44 +11:00
Anthony Jones 8eff7a3ee8 Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik 2015-03-05 17:30:44 +13:00
Jean-Yves Avenard 9916686463 Bug 1137100: Don't skip audio samples with a negative presentation time. r=cpearce
This allows for having the same decoding behavior across all platforms.
2015-03-03 16:29:28 +11:00
Anthony Jones 69c0b09ad3 Bug 1138253 - Count dropped frames directly; r=cpearce 2015-03-03 17:46:48 +13:00
Anthony Jones c4f6a5ccbb Bug 1138253 - Clean up AutoNotifyDecoded; r=cpearce 2015-03-03 17:46:46 +13:00
Nigel Babu 16d71fc156 Backed out changeset a622dbe33efb (bug 1135544) for ASAN mochitest-3 bustage on CLOSED TREE 2015-03-02 18:13:39 +05:30
Anthony Jones ad3b3d35da Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik 2015-03-02 16:34:44 +13:00
Jean-Yves Avenard 79e326a1c4 Bug 1137529: Prefer Apple's VDA hardware acceleration for Hi-Def videos. r=rillian
With some GPUs (such as Intel HD-x000), Apple VideoTool box provides poor
decoding speed, causing us to drop frames for most HD videos.
VDA is around 50 times faster on those machines (31ms average to decode a 4K
frame with VT, while 0.6ms average with VDA)
2015-03-02 10:48:28 +11:00
Chris Pearce 42473ae7f6 Bug 1137957 - Fix non-unified build failure in GMPVideoDecoder. r=kinetik 2015-02-28 16:15:29 +13:00
Chris Pearce 9c393b31d4 Bug 1136986 - Disable SharedDecoderManager for EME video. r=kentuckyfriedtakahe 2015-02-28 10:23:29 +13:00
Matt Woodrow 9f1b1ecd84 Bug 1136984 - Always call DrainComplete in response to Drain, even if it wasn't called on the active decoder. r=cpearce 2015-02-27 11:47:12 +13:00
Matt Woodrow d9b857ba4f Bug 1132757 - Don't crash if we call WMFVideoMFTManager after we've initiated shutdown. r=cpearce 2015-02-27 11:46:10 +13:00
James Willcox ef1854ac4e Bug 1090300 - Repopulate input buffers when necessary in Android media decoder r=gcp 2015-02-20 23:03:40 -06:00
Jean-Yves Avenard 767afcf910 Bug 1133633: Part1. Add logging reporting if we are using HW accelerated decode. r=rillian 2015-02-19 15:37:08 +13:00
Blake Wu a8afe737e9 Bug 1123669 - Reset mDrainComplete flag and implement overridden flush() for audio. r=ajones 2015-02-16 11:16:31 +08:00
Matthew Gregan a533827683 Bug 1133645 - Check size of audio_specific_config before use. r=snorp 2015-02-18 11:02:00 +13:00
Bobby Holley 4ee93e5397 Bug 1125970 - Make flushing an opt-in mechanism, and use it only for the PDM task queues. v1 r=cpearce 2015-02-16 09:03:34 -08:00
Edwin Flores 114cf02d2b Bug 1133370 - Remove redundant Shutdown() call in MediaDataDecoderCallbackProxy::Error() - r=kinetik 2015-02-16 11:11:59 +13:00
Jeff Gilbert d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Bobby Holley ced4bbc434 Bug 1127554 - Make MP4Sample::Replace fallible. v1 r=mattwoodrow 2015-02-13 12:19:37 -08:00
Bobby Holley 6217aabf6a Bug 1127554 - Make MP4Sample::Prepend fallible. v1 r=mattwoodrow 2015-02-13 12:19:37 -08:00
Bobby Holley 620ec20063 Bug 1127554 - Make MP4Sample::Pad fallible. v1 r=mattwoodrow 2015-02-13 12:19:36 -08:00
Bobby Holley f055cc749a Bug 1127554 - Get rid of infallible allocation in MP4Sample copy constructor. v2 r=mattwoodrow 2015-02-13 12:19:36 -08:00
Chris Pearce 9bf9f2a54e Bug 1111160 - Dispatch observer service notifications when content succeeds or fails to get CDM access. r=bz 2015-02-14 08:52:42 +13:00
Alfredo Yang 7eeb4c50be Bug 1127654 - Use runnable instead of monitor. r=ajones, r=bwu 2015-02-11 23:35:00 -05:00
Mike Taylor 22fec73325 Bug 1125340 - Collect h264 profile & level telemetry from decoded SPS. r=jya 2015-02-11 09:10:00 +01:00
Bobby Holley 07b1989d7b Bug 1129877 - Fix the crash. v1 r=mattwoodrow
We could also fix this by invoking .Reject() on the holder instead of on the raw
promise. But there's actually no reason to involve the holder at all here.
2015-02-10 13:45:03 -08:00
Matthew Gregan 554ea67ff5 Bug 1131340 - Avoid template aliasing since GCC 4.6 lacks support. r=cpearce 2015-02-10 14:27:36 +13:00
Jean-Yves Avenard 67411f1d5e Bug 1129732: Part1. Dynamically adjust calculations using timestampoffset. r=mattwoodrow
Timestamp Offset calculations are now done exclusively by the Media Source
components which allow to recalculate them on the fly. By abstracting those
offsets it remove the need for the sub-decoders to handle them (which allows
to add WebM support).
2015-02-09 23:28:59 +11:00
Jeff Gilbert 56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Blake Wu 9a06424267 Bug 1113527 - Change isDormantNeeded() behavior. r=sotaro. r=cpearce.
From 8bf5259ba58ae5b37eaceece04a7f217c3ad4284 Mon Sep 17 00:00:00 2001
2015-01-30 18:24:31 +08:00
Matthew Gregan ef1844681b Bug 1128794 - Refactor EME decoders on top of GMP decoders. r=cpearce
--HG--
rename : dom/media/fmp4/eme/EMEH264Decoder.cpp => dom/media/fmp4/eme/EMEVideoDecoder.cpp
rename : dom/media/fmp4/eme/EMEH264Decoder.h => dom/media/fmp4/eme/EMEVideoDecoder.h
2015-02-02 21:49:00 +13:00
Matthew Gregan 6e2bccf8bb Bug 1121258 - Add a GMP PDM to allow MP4 playback via OpenH264. r=cpearce 2015-02-02 21:49:00 +13:00
Jeff Gilbert 680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
James Willcox 6afea890f1 Bug 1100126 - Enable the AndroidDecoderModule on PowerVR, but don't copy the SurfaceTexture r=jgilbert 2015-02-04 08:43:44 -06:00
Mike Hommey a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Chris Pearce 98610dedd6 Bug 1127641 - Reduce MDSM video frame queue length when hardware accelerated. r=kentuckyfriedtakahe 2015-02-02 09:28:41 +13:00
Alfredo Yang 2bb0e235dc Bug 1126125 - Check EOS before calling input->InputExhausted(). r=ajones 2015-01-26 19:12:00 +01:00
Alfredo Yang 1177fb3211 Bug 1122447 - handle OMX dequeue input buffer error. r=ajones 2015-01-29 19:07:00 +01:00
Wes Kocher d7313c3320 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Chris Pearce df4bec5ff7 Bug 1123535 - Make MP4Reader and WMFMediaDataDecoder support going dormant. r=kentuckyfriedtakahe 2015-01-29 21:50:48 +13:00
Jeff Gilbert 95f269cb3f Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
Matt Woodrow 0003596eec Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas 2015-01-26 13:34:28 +13:00
Bobby Holley 067250b41d Bug 1126088 - Fallibly allocate MP4Stream CacheBlocks. r=jya,r=njn 2015-01-27 09:36:09 -08:00
Edwin Flores 28fbe0a0ef Bug 1124491 - Add HTMLMediaElement.isEncrypted attribute - r=cpearce,bz 2015-01-27 19:10:11 +13:00
Carsten "Tomcat" Book 34dc58aa0c Backed out changeset cdcfd5fda7b4 (bug 1123535) 2015-01-27 09:39:03 +01:00
Chris Pearce 8df5911e52 Bug 1123535 - Make MP4Reader and WMFMediaDataDecoder support going dormant. r=kentuckyfriedtakahe 2015-01-27 19:30:11 +13:00
Wes Kocher dd7ff05753 Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00
Ehsan Akhgari 5f3b6e7680 Bug 1126015 - Mark some functions in FFmpegDataDecoder as override; r=cpearce 2015-01-26 20:28:00 -05:00
Jeff Gilbert ebb432b53c Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish 2015-01-26 17:18:45 -08:00
Matthew Gregan f29aff15e4 Bug 1124021 - Fix dangerous UniquePtr usage pattern in GMP. r=cpearce 2015-01-20 18:39:00 +13:00
Matthew Gregan 8e86d1cba8 Bug 1124023 - Fix naming of GMPAudioDecoderCallbackProxy. r=cpearce 2015-01-20 18:39:00 +13:00
Matt Woodrow 0df1801282 Bug 1112331 - Disable DXVA when using WARP. r=cpearce,Bas 2015-01-21 16:36:01 +13:00
Blake Wu 43fbb190db Bug 1118141 - Update Audio buffers when receiving INFO_OUTPUT_BUFFERS_CHANGED. r=edwin. 2015-01-19 11:57:57 +08:00
Chris Pearce 8a239a32e3 Bug 1123498 - Make MP4Reader skip-to-next-keyframe less aggressively. r=mattwoodrow 2015-01-20 15:20:43 +13:00
Jean-Yves Avenard 4b9d716fbb Bug 1123054: Don't check VDA reference count. r=rillian
--HG--
extra : rebase_source : ecf3c019aa8e6b0a40b83c12d9303d3330412c33
2015-01-19 01:10:51 +11:00
Jean-Yves Avenard f5127dcbe3 Bug 1123269: Better fix for bug 1121876 r=cpearce 2015-01-20 10:45:07 +11:00
Jean-Yves Avenard f246acf45b Bug 1121876: Configure WMF decoder to output PCM 16. r=cpearce
Also, do not use input's bit depth for calculating output samples. They are
unrelated
2015-01-19 22:11:07 +11:00
Jean-Yves Avenard 9e6d0d09bc Bug 1121876: Treat negative WMF's output sample timestamp as zero. r=cpearce 2015-01-19 22:11:03 +11:00
Bobby Holley e814d359c3 Bug 1121692 - Remove unnecessary arguments to ::Seek. r=mattwoodrow,sr=cpearce 2015-01-16 10:57:59 -08:00
Bobby Holley cd438601e1 Bug 1121841 - Clear the failed read after checking it. r=jya 2015-01-15 09:58:38 -08:00
Chris Pearce 2d7d331a93 Bug 1112822 - Don't allow MP4Reader to decode if someone shut it down. r=mattwoodrow 2015-01-15 15:49:38 +13:00
Matt Woodrow 366c7a681f Bug 1121661 - Null check mDemuxer in MP4Reader::ResetDecoder since we might not have created one yet. r=bholley 2015-01-15 14:42:49 +13:00
Chris Pearce 59325224ff Bug 1112445 - Ignore the audio stream when determining whether we should skip-t-o-next-keyframe for async readers. r=mattwoodrow 2015-01-13 22:31:03 +13:00
Bobby Holley b9245f531a Bug 1120629 - Cache data directly on MP4Stream rather than relying on the media cache. r=roc 2015-01-12 15:50:09 -08:00
Matt Woodrow 972dde5588 Bug 1105066 - Make SeekPromise return the time we actually seeked to; r=kentuckyfriedtakahe 2015-01-12 10:57:14 +13:00
Bobby Holley 5a7f8b32cf Bug 1119456 - Work around the fact that media cache does not quite guarantee the property we want. r=roc 2015-01-11 13:24:26 -08:00
Bobby Holley 85966c53ed Bug 1119456 - Make MP4Demuxer's blocking reads non-blocking and hoist blocking into callers with a hacky retry strategy. r=k17e 2015-01-11 13:24:26 -08:00
Matt Woodrow fe5df5dec4 Bug 1116284 - Don't run MP4Reader::Update after we've shut the reader down. r=cpearce 2015-01-12 09:43:11 +13:00
Jim Chen db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari 4354953b4f Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari 31a966ecd6 Bug 1117261 - Mark virtual overridden functions as MOZ_OVERRIDE in DOM media code; r=rillian 2015-01-08 23:11:30 -05:00
Chris Pearce 87fcfb65d4 Bug 1107889 - On Windows, detect when unable to play H.264/AAC (for example due to lacking service pack on Vista). r=kinetik,r=dmajor 2015-01-09 13:17:11 +13:00
Bobby Holley c69456ab40 Bug 1064128 - Implement support for timestampOffset in segments mode. r=k17e,r=cajbir 2015-01-07 15:58:55 -08:00
Blake Wu 719c1cadc9 Bug 1114928 - Have an initial value for Ouput result. r=ajones 2015-01-07 13:47:20 +08:00
James Willcox a19ed3831f Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert 2015-01-07 11:54:33 -06:00
Alfredo Yang 260db40fc9 Bug 1098166 - remove unnecessary assert in GonkDecoderModule::Shutdown. r=ajones 2015-01-06 02:03:00 +01:00
Jeff Gilbert a76e617dd0 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Jean-Yves Avenard b1596dcc70 Bug 1115594: Fix indentation in AppleVDADecoder. r=rillian
--HG--
extra : rebase_source : 6f12f00194507d9000f11d48df8350eed968c30d
2014-12-30 12:06:22 +11:00
Bobby Holley fe6a11e4f9 Bug 1115749 - Hold the demuxer lock while accessing metadata. r=rillian
We're invoking a number of methods on mDemuxer here.
2014-12-29 16:10:16 -08:00
Bobby Holley 47687b23ea Bug 1115749 - Hold the demuxer monitor in MP4Reader::Seek. r=rillian
This method invokes Seek* on mDemuxer.
2014-12-29 16:10:16 -08:00
Bobby Holley e6e1fb5905 Bug 1115749 - Rename mIndexMonitor to mDemuxerMonitor. r=rillian 2014-12-29 16:10:16 -08:00
Jean-Yves Avenard a3c28798a1 Bug 1111319: Reorder video frames with respect to decoding sliding window. r=rillian 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard cb16fdaa24 Bug 1111328: Retrieve video dimensions from H264 SPS when possible. r=rillian 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard 1b4e25aac8 Bug 1114802: MP4: Hold demuxer monitor while resetting. r=kentuckyfriedtakahe 2014-12-23 13:39:35 +11:00
Jean-Yves Avenard 514510a632 Bug 1113045: Make AppleVT/VDA/AT/Decoder's destructors virtual. r=rillian
These decoders are accessed through a base class.
Additionally, the style guide dictates that we're supposed to add "virtual" keyword even when it's unnecessary, for documentation purposes.
2014-12-23 14:39:22 +11:00
Jean-Yves Avenard b2f2b09c22 Bug 1110534: Use ref counted pointers to hold references in mac decoder. r=rillian 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard 9cdf6937a4 Bug 1110534: Use AVCC wrapper for EME. Adds AnnexB and AVC3 support. r=cpearce 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard 73cd5036a3 Bug 1110534: Use AVCC wrapper for mac decoder. Adds AnnexB and AVC3 support. r=cpearce 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard 43dc514afc Bug 1110534: Create AVCC converter wrapper class. r=cpearce
This class easily allows an AVCC-only decoder (H264EME and Apple VDA/VideoToolbox) to support
AnnexB and AVC3 content.
This is done by lazily creating the decoder only once we have detected SPS/PPS in the data
stream, and converting all input to AVCC format.
2014-12-23 14:36:10 +11:00
Jean-Yves Avenard c7723f6179 Bug 1110534: Make PlatformDecoderModule ref counted. r=edwin 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard 037499d91e Bug 1110534: Add AnnexB support to FFmpeg h264 decoder. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Jean-Yves Avenard 7341bcdb6e Bug 1110534: Use more accurate names in MP4Sample and Annex B utility functions. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Jean-Yves Avenard 8f57ec0db8 Bug 1110534: Simplify MP4 extradata handling. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Bobby Holley 3a7dd07a3d Bug 1114383 - Unlock the demuxer monitor before calling out via MP4Stream. r=k17e 2014-12-21 22:04:36 -08:00
Bobby Holley 6d0ec2b9a3 Bug 1114383 - Assert that access to mMoofs goes through a monitor. r=k17e 2014-12-21 22:04:36 -08:00
Bobby Holley 01bbb5b92f Bug 1114383 - Acquire the index monitor in MP4Reader::PopSample. r=k17e 2014-12-21 22:04:36 -08:00
Matt Woodrow 675718e2ea Bug 1112446 - Add logging for media queue lengths. r=ajones 2014-12-18 12:41:19 +13:00
Matt Woodrow 38354269a6 Bug 1111966 - Fix reporting of parsed and decoded frames for MP4Reader. r=cpearce 2014-12-17 11:31:17 +13:00
Matt Woodrow 2c7e571767 Bug 1111413 - Part 1: Use MediaPromises for seeking. r=bholley 2014-12-16 22:52:57 +13:00
Ryan VanderMeulen db866399a5 Merge b2g-inbound to m-c. a=merge 2014-12-16 16:03:17 -05:00
Alfredo Yang b140d759be Bug 1105209 - Add media resource request API. r=kentuckyfriedtakahe 2014-12-15 22:25:00 -05:00
Anthony Jones f0ea196039 Bug 1110608 - Unit test for MP4 demuxer with CENC; r=edwin 2014-12-16 18:10:46 +13:00
James Willcox a0fe18b713 Bug 1097116 - Remove accidental debug spew r=me
--HG--
extra : rebase_source : 3d9e519901326a54cfe0867cda2f0c57c697c261
2014-12-09 08:58:55 -06:00
Anthony Jones 02faa200e5 Bug 1098126 - MoofParser fixes and disable for EME; r=mattwoodrow 2014-12-05 14:01:44 -08:00
Carsten "Tomcat" Book 0b38e775a5 Backed out changeset 7da16258c33b (bug 1098126) 2014-12-15 09:03:06 +01:00
Nigel Babu afb9264894 Backed out changeset 03e5a89726be (bug 1110608) for non-unified build failure on CLOSED TREE 2014-12-15 12:40:46 +05:30
Anthony Jones fd4da456a4 Bug 1110608 - Unit test for MP4 demuxer with CENC; r=edwin 2014-12-15 17:44:00 +13:00
Anthony Jones e67eb4ca12 Bug 1098126 - MoofParser fixes and disable for EME; r=mattwoodrow 2014-12-05 14:01:44 -08:00
Chris Pearce 077f7aef2f Bug 1111114 - Make EMEDecryptor clear its weak ref to its MediaDataDecoderCallback. r=kinetik 2014-12-15 09:16:31 +13:00
Botond Ballo 37fdfeaeec Bug 1073081 - Fix -Wmultichar warnings by disabling them. r=ehsan,ted
--HG--
extra : source : be2421d1f5774650bfef732bdf046bf638293a5b
2014-12-10 21:09:33 -05:00
Botond Ballo 449bab4daf Bug 1073081 - Fix warnings about macro redefinitions by renaming macros. r=ehsan
--HG--
extra : source : 18294144de5ff84e3a88945f7222e6eb8bbfcb34
2014-12-10 18:20:10 -05:00
Botond Ballo c06e38f0f8 Bug 1073081 - Fix -Wreorder warnings. r=ehsan
--HG--
extra : source : bb7467946fb9144514a5460a7103956449595d21
2014-11-26 17:57:40 -05:00
Botond Ballo 870235958c Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo b68f6489dc Bug 1073081 - Fix -Wattribute warnings by disabling them. r=ehsan,ted
--HG--
extra : source : 8393f458463ff465c0862209a7bef284e5ce6b48
2014-11-24 19:43:19 -05:00
Botond Ballo 8bcf931152 Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan
--HG--
extra : source : 25145aa73cb75faa067ec96114968bc55bf7bbac
2014-11-24 19:40:59 -05:00
Chris Pearce 515d668bfb Bug 1109861 - Add delegate to manage waiting for the CDM to mark key usable. r=kinetik 2014-12-11 15:59:37 +13:00
Ehsan Akhgari 550e972d13 Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku 2014-12-10 17:49:09 -05:00
Bobby Holley 60c0158fdd Bug 1108701 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-10 14:03:56 -08:00
Chris Pearce e859dcdb44 Bug 1109389 - Don't share task queues with all EMEDecryptors the EME PDM creates. r=kinetik 2014-12-09 20:34:00 +01:00
Jean-Yves Avenard 3b9c59eb6d Bug 1107339 - Add support for MP4 with VP6F video track (FFmpeg only). r=k17e 2014-12-04 11:58:00 -08:00
Bobby Holley 312651fc98 Bug 1108707 - Make reader shutdown asynchronous. r=cpearce (relanding on a CLOSED TREE because it wasn't the source of the leaks) 2014-12-09 11:43:21 -08:00
Ryan VanderMeulen 073573c2a9 Backed out changeset 18c302f80bce (bug 1108707) for nsTArray_base leaks.
CLOSED TREE
2014-12-09 15:49:38 -05:00
Bobby Holley fc5e0383a6 Bug 1108707 - Make reader shutdown asynchronous. r=cpearce 2014-12-09 11:43:21 -08:00
Bobby Holley 8c9d29f7fe Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 14:45:36 -08:00
Jean-Yves Avenard 5fce4dd1c9 Bug 1107264 - Enable the use of FFmpeg on mac. r=k17e 2014-12-03 14:41:49 -08:00
Bobby Holley 8327697375 Backed out changeset b76636e9f49a (bug 1097823) 2014-12-07 17:09:08 -08:00
Bobby Holley 61900e1d2d Bug 1097823 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-07 11:21:35 -08:00
Matt Woodrow 7e527a7d82 Bug 1107274 - Don't return EOS from MP4Reader until all frames have been output. r=cpearce 2014-12-04 11:51:30 -08:00
Andreas Pehrson fd315ba8ff Bug 1106547 - Return EOS after drain is complete, rather than before. r=cpearce 2014-12-01 22:10:00 +01:00
Bobby Holley 38d5cddf88 Bug 1104964 - Split shutdown initiatation and queue-drain-waiting into separate pieces. r=cpearce
This patch shouldn't change any behavior. The upcoming patch takes advantage of
these separate pieces.
2014-12-01 21:51:02 -08:00
Bobby Holley 79860bf9ab Bug 1104964 - Make sure that MediaDecoderReader::Shutdown is always called. r=cpearce 2014-12-01 21:51:02 -08:00
Ralph Giles 879c02cca2 Bug 1065111 - Remove more obsolete AppleUtils includes. r=jya 2014-11-27 15:23:00 -08:00
Ralph Giles e9517830eb Bug 1065111 - Move logging function AppleDecoderModule. r=jya
This allows us to remove the AppleUtils.cpp source file entirely.
2014-11-27 13:23:00 -08:00
Ralph Giles 3652364aeb Bug 1065111 - Remove obsolete logging macros. r=jya 2014-11-27 13:21:00 -08:00
Ralph Giles 9ec93827d5 Bug 1065111 - Remove obsolete SetCFDict helpers. r=jya
We use CFDictionaryCreate with array literals for the keys and values
now instead.
2014-11-27 13:20:00 -08:00
Jean-Yves Avenard 3981e0703d Bug 1101534 - detect SBR (HE-AAC) in AAC streams with implicit signalling. r=rillian 2014-11-28 21:13:18 +11:00
Carsten "Tomcat" Book fa7bce8363 Backed out changeset eeb261ef19d6 (bug 1101534) for unified build bustage 2014-11-28 12:00:52 +01:00
Jean-Yves Avenard 997fc69280 Bug 1101534 - detect SBR (HE-AAC) in AAC streams with implicit signalling. r=rillian 2014-11-27 13:23:15 +11:00
Trevor Saunders 1a013270b5 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
James Willcox 2af9674001 Bug 1097116 - Disable Android MediaCodec on PowerVR devices r=cpearce
--HG--
extra : rebase_source : 8c852f321f5755f4af702011f6cf72ba9c605104
2014-11-26 15:16:08 -06:00
James Willcox fe1117609c Bug 1097116 - Copy the decoded SurfaceTexture into an EGLImage to allow accurate presentation r=jgilbert
--HG--
extra : rebase_source : d3165eb2d9534f82c84e3399e744e0c31b64c2dd
2014-11-26 15:16:07 -06:00
Matt Woodrow 76e146b170 Bug 1104426 - Always rebuild the moof index, in case new data has been added. r=ajones 2014-11-26 16:49:22 +13:00
Alfredo Yang 641c2b7fc8 Bug 1101374: create frame time table to filter the invalid pts frame. r=edwin 2014-11-25 15:35:28 -08:00
Joe Olivas ff0f55d7cb Bug 922314 - Add support for decoding VPx via MediaFoundation on Windows. r=cpearce,kinetik
Refactor WebMReader's VPx decoding out to SoftwareWebMVideoDecoder and introduce a new IntelWebMVideoDecoder that uses the MediaFoundation/MFT backend to decode VPx when the requisite hardware and software is available.
2014-11-11 16:30:52 +13:00
Chris Pearce d437286ca8 Bug 1103648 - Ensure we call PlatformDecoderModule::Shutdown on the decode task queue. r=mattwoodrow 2014-11-24 11:43:04 +13:00
James Willcox f409f2a92b Back out bug 1097116 2014-11-21 09:47:03 -06:00
James Willcox 60e6a04aff Bug 1097116 - Copy the decoded SurfaceTexture into an EGLImage to allow accurate presentation r=jgilbert 2014-11-21 09:28:20 -06:00
Blake Wu 13b079066f Bug 1094614 - Release codec resource properly. r=sotaro 2014-11-20 17:09:48 +08:00
Matt Woodrow 11d881da06 Bug 1102658 - Add initial references to the last few AudioData constructor callsites. r=bholley 2014-11-21 15:29:19 +13:00
Chris Pearce ext:(%2C%20Edwin%20Flores%20%3Cedwin%40mozilla.com%3E%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E) 1d2f1fef3e Bug 1038031 - Make MP4Reader decode asynchronously - r=kinetik,cpearce 2014-07-20 12:54:00 +12:00
Jean-Yves Avenard bb2f80423e Bug 1096769 - Rewrite mac audio decoder to support raw AAC. r=rillian 2014-11-20 01:03:30 +11:00
Bobby Holley 4d9c1393da Bug 1100776 - Reference-count MediaData. r=cpearce 2014-11-19 13:01:10 -08:00
Jean-Yves Avenard d08a5305f4 Bug 1101291 - Add support for libavformat v56. r=k17e 2014-11-19 12:53:59 +11:00
Blake 0936f06df6 Bug 1100820 - Stop reading output data from MediaCodecProxy. r=edwin. 2014-11-18 18:04:29 +08:00
James Willcox 31b5e57828 Bug 1101225 - Don't set the is-adts flag for the Android PDM. r=rillian
Pass raw aac frames to the platform, which handles those fine.
2014-11-18 16:01:00 -08:00
James Willcox 8062dea9b7 Bug 1099260 - Clean up logging and error handling in AndroidDecoderModule r=cpearce
--HG--
extra : rebase_source : 6cbdd6e7f7874ecebbfe464cf167e03996ec7b06
2014-11-18 19:28:49 -06:00
James Willcox 2bcf8c03d0 Bug 1097116 - Correctly implement Drain() in AndroidDecoderModule r=cpearce
--HG--
extra : rebase_source : 8764f15761c68a6f07a1ce5e0ccd842d56274519
2014-11-18 19:28:24 -06:00
Anthony Jones 46ab4e3fb0 Bug 1036849 - Create SharedDecoderManager and SharedDecoderProxy; r=blakewu 2014-11-05 02:14:00 +13:00
Chris Pearce bf9df9f607 Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv 2014-11-18 22:13:02 +13:00
Carsten "Tomcat" Book 217db26a63 Backed out changeset 7fa6291d952d (bug 1095257) for suspicion of causing jit tests 2014-11-18 13:14:36 +01:00
Chris Pearce 20def217dc Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv 2014-11-18 22:13:02 +13:00
Chris Pearce 84765b7b57 Bug 1095257 - backout 54f79521758b due to m3 failures. r=backout r=bz 2014-11-18 19:49:13 +13:00
Chris Pearce c454eb7220 Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz 2014-11-18 17:20:02 +13:00
Wes Kocher 83251ea26f Backed out changeset 46b6cb002a34 (bug 1036849) for leaks on a CLOSED TREE 2014-11-17 17:16:25 -08:00
Anthony Jones d185cf7729 Bug 1036849 - Create ShareDecoderManager and SharedDecoderProxy; r=blakewu 2014-11-05 02:14:00 +13:00
Anthony Jones adecdb9324 Bug 1036849 - Clean up AnnexB handling; r=jya 2014-11-18 13:12:58 +13:00
Alfredo Yang c7fdbe75a6 Bug 1098994 - Update video output buffer when gets INFO_OUTPUT_BUFFERS_CHANGED from OMX. r=edwin 2014-11-16 19:07:00 +01:00
Jean-Yves Avenard 3465c3bbba Bug 1098637 - Enforce FFmpeg's audio decode API. r=edwin 2014-11-15 10:19:55 +11:00
Ryan VanderMeulen b7f8072b05 Backed out changeset fa836f2dccb6 for introducing new Win7 leaks.
CLOSED TREE
2014-11-14 15:24:17 -05:00
Daniel Holbert 58969bc68a Bug 1098400: Drop now-unused private member-variable 'mConfig' from FFmpegAudioDecoder, to fix clang build warning. r=edwin 2014-11-14 08:42:31 -08:00
Chris Pearce cd8ef39351 Bug 1038031 - Make MP4Reader decode asynchronously - r=kinetik 2014-07-20 12:54:00 +12:00
Matt Woodrow f64bc7ff75 Bug 1098680 - Use the image size rather than the display size when initializing the apple h264 decoders. r=ajones 2014-11-14 17:15:42 +13:00
James Willcox 27c08cecb8 Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-13 12:47:24 -06:00
Alfredo Yang 2ca35898de Bug 1098195 - Return false when failing to get output format. r=edwin 2014-11-13 01:26:00 -05:00
Blake 7cd28d7326 Bug 1043274 - Use GraphicBuffer on GonkDecoderModule. r=edwin, r=sotaro 2014-11-12 17:34:21 +08:00
Jean-Yves Avenard c7ca749da6 Bug 1075332 - Refactor mac audio decoder. Properly calculate timestamps. r=rillian
Also, in order to prevent the MediaDecoderStateMachine to stall waiting for audio data,
feed back as many decoded audio frame as were first submitted to the decoder in one go.
2014-11-12 15:13:02 +11:00
Anthony Jones d6f9c2f3a4 Bug 1097449 - Add locking around libav open/close; r=jya 2014-11-13 17:50:26 +13:00
Ryan VanderMeulen 6d00923374 Backed out changeset f8ff4c7a978a (bug 1097449) for leaks on a CLOSED TREE. 2014-11-12 22:03:25 -05:00
Anthony Jones ecc049922a Bug 1097449 - Add locking around libav open/close; r=jya 2014-11-13 14:48:08 +13:00
Jean-Yves Avenard 41601b883e Bug 1096764: Add Raw AAC sample support to FFmpeg audio decoder. r=edwin 2014-11-11 19:28:33 +11:00
Bobby Holley 9e6777da77 Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
We now have this stashed on the superclass.
2014-11-11 20:50:21 -08:00
Matthew Gregan 1e029dfecb Bug 1091704 - Delay buffer frame calculation in WMF audio decoder until after UpdateOutputType to avoid using obsolete rate/channel values. r=cpearce 2014-11-11 14:17:09 +13:00
Anthony Jones a6aecce1d6 Bug 1091976 - Process MP4Reader::NotifyDataArrived() immediately; r=edwin 2014-11-10 13:32:09 +13:00
Jean-Yves Avenard 48cf285b42 Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang 2014-11-06 20:52:44 +11:00
Carsten "Tomcat" Book b645513227 Backed out changeset 44f27b3c35d4 (bug 1065827) 2014-11-06 14:59:04 +01:00
Jean-Yves Avenard 5d9d3cd793 Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang 2014-11-06 20:52:44 +11:00
Jean-Yves Avenard 43e6e5bbf7 Bug 1079621 - Change non-fatal errors to warnings. r=rillian
This resolves intermittent failures in continuous integration.

NS_ERROR() triggers an assertion in debug builds, which tinderbox
reports as a failure. NS_WARNING calls NS_DebugBreak, but with the
lower severity level it skips invoking the debugger.
2014-11-06 12:29:45 +11:00
Matt Woodrow 1b7aa4fbde Bug 1056441 - Make MediaSourceReader seeking asynchronous. r=kinetik 2014-11-05 13:32:26 +13:00
Carsten "Tomcat" Book ab3a404727 Backed out 10 changesets (bug 1091008, bug 1093020, bug 1063323) for windows m2 permanent test failures on a CLOSED TREE
Backed out changeset 21ddb8a58fea (bug 1093020)
Backed out changeset fe9e11333c7d (bug 1093020)
Backed out changeset bba774c54652 (bug 1063323)
Backed out changeset 16f58d7e1e17 (bug 1091008)
Backed out changeset 649bfc6dad4d (bug 1091008)
Backed out changeset 6f270b2d90f4 (bug 1091008)
Backed out changeset 966093bbc26a (bug 1091008)
Backed out changeset 9de4746aa59a (bug 1091008)
Backed out changeset 856016c0118a (bug 1091008)
Backed out changeset 8aaa10a8d956 (bug 1091008)
2014-11-05 12:57:43 +01:00
Bobby Holley 5a2f54ca85 Bug 1091008 - Hoist stream pinning into the MediaDecoderReaders and make MediaDecoderStateMachine::GetBuffered just forward to them. r=cpearce
Whether or not we ping a stream depends a lot on what kind of decoder we're
dealing with. In particular, it doesn't really make sense for MSE.
2014-11-05 10:08:58 +01:00
Bobby Holley 461d13b4d5 Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
We now have this stashed on the superclass.
2014-11-05 10:08:58 +01:00
Anthony Jones af0f511f43 Bug 1094049 - Make GonkDecoderModule use currect display height; r=bwu 2014-11-05 16:18:32 +08:00
Bobby Holley a6e295e57c Bug 1090991 - Modify MediaData::Type so that it may serve as a general-purpose enum for distinguishing audio and video. r=cpearce
We don't seem to have something like this already, and this seemed better than
introducing yet another new enum.
2014-11-03 09:20:14 +01:00
Ralph Giles f67d2db3b3 Bug 1073805 - Apply ADTS header for Gonk. r=cpearce. 2014-10-30 17:01:00 -07:00
Ralph Giles e4de5b19f4 Bug 1073805 - Add ADTS header for FFmpeg. r=cpearce.
Keep a reference to the AudioDecoderConfig so we can pass the
appropriate values to the Adts method from our Input method.
2014-10-30 16:26:00 -07:00