Commit Graph

179 Commits

Author SHA1 Message Date
Ehsan Akhgari
436e8035d6 Bug 1072294 - Build more files in content/media/mp4 in unified mode; r=cpearce 2014-09-24 18:41:48 -04:00
Edwin Flores
ad43786d33 Bug 1044742 - Fix multiple track support for EME - r=cpearce 2014-09-24 10:04:49 +12:00
Chris Pearce
681e68c482 Bug 1068996 - Make WMFMediaDataDecoder::Shutdown() actually shutdown. r=kentuckyfriedtakahe 2014-09-19 15:44:27 +12:00
Jean-Yves Avenard
778acab09b Bug 1069277: Do not obfuscate AppleFrameRef to fix unified builds r=jesup
CLOSED TREE
2014-09-19 00:38:54 +10:00
Jean-Yves Avenard
057279c5e5 Bug 1068597 - Enable h264 video decoder on 10.6. r=rillian 2014-09-18 19:18:29 +10:00
Carsten "Tomcat" Book
5db24ab752 Backed out changeset 2bca09c404ad (bug 1068597) for breaking non-unified OS X Builds 2014-09-18 10:59:40 +02:00
Ralph Giles
6d5a08610c Bug 1066369 - Return error instead of asserting. r=kinetik
From c2a87a986f6d0ed699ab0fbf5687d8aa5fea8ff0 Mon Sep 17 00:00:00 2001
NS_ASSERTION is debug-only, and fails silently in continuous
integration. Better to return an error here, since failure
could result in a crash later.
2014-09-12 11:24:30 -07:00
Jean-Yves Avenard
309b3180f6 Bug 1068455 - Enable VideoToolbox framework in 10.7. r=rillian 2014-09-17 18:01:59 +10:00
Jean-Yves Avenard
880f6be447 Bug 1068597 - Enable h264 video decoder on 10.6. r=rillian 2014-09-18 11:08:33 +10:00
Jean-Yves Avenard
6836b4221d Bug 1067697 - Work around 10.6 VDA bug. r=rillian 2014-09-18 11:00:53 +10:00
Jean-Yves Avenard
d9719f8482 Bug 1062654 - Part6: Disable VDA in 10.6. r=rillian
VDA causes unexpected crashes in 10.6. Disable for now.
2014-09-18 10:36:39 +10:00
Jean-Yves Avenard
03e5efe204 Bug 1062654 - Part 5: Display error code when drain or flush failed. r=rillian 2014-09-11 16:35:47 +10:00
Jean-Yves Avenard
ff3514f664 Bug 1062654 - Part 4: Fix Link/Unlink Apple video frameworks cycle. r=rillian
Prefer VideoToolbox when HW acceleration is available. Otherwise use VDA when available
2014-09-12 10:53:19 +10:00
Jean-Yves Avenard
2dfbb01798 Bug 1062654 - Part 3: Derive VT decoder from VDA decoder. r=rillian 2014-09-17 12:54:58 +10:00
Jean-Yves Avenard
408b0537b4 Bug 1062654 - Part 2: Integrate and enable VDA decoder r=rillian 2014-09-17 12:54:26 +10:00
Jean-Yves Avenard
d50d10b611 Bug 1062654 - Part 1: Implement Apple VDA decoder r=rillian
--HG--
rename : content/media/fmp4/apple/AppleVTDecoder.cpp => content/media/fmp4/apple/AppleVDADecoder.cpp
rename : content/media/fmp4/apple/AppleVTDecoder.h => content/media/fmp4/apple/AppleVDADecoder.h
rename : content/media/fmp4/apple/AppleVTFunctions.h => content/media/fmp4/apple/AppleVDAFunctions.h
rename : content/media/fmp4/apple/AppleVTLinker.cpp => content/media/fmp4/apple/AppleVDALinker.cpp
rename : content/media/fmp4/apple/AppleVTLinker.h => content/media/fmp4/apple/AppleVDALinker.h
2014-09-18 11:26:16 +10:00
Jean-Yves Avenard
55e14c4fe6 Bug 1062654 - Part 0b: Use official constants. r=rillian
This change does not modify the current behaviour.
It prevents potential errors (in particular spelling) by using the
constant found in the actual framework.
2014-09-17 11:29:15 +10:00
Jean-Yves Avenard
78e72861eb Bug 1062654 - Part 0: Replace NULL allocator with kCFAllocatorDefault for clarity. r=rillian 2014-09-17 11:21:07 +10:00
Jean-Yves Avenard
be507c7086 Bug 1064847 - Make media generated IOSurface global. r=mattwoodrow 2014-09-17 11:15:24 +10:00
Chris Pearce
ec8ea23928 Bug 1062277 - Ensure calls to IMFTransform::ProcessMessage() pass 64bit pointer values on 64bit builds. r=edwin 2014-09-16 20:16:14 +12:00
Jean-Yves Avenard
65e8ed80a7 Bug 1059066 - Avoid picture frame copy and keep picture in GPU by using IOSurface objects. r=rillian 2014-09-07 20:40:52 +10:00
Jean-Yves Avenard
2a7be6b8c7 Bug 1062596 - Use official 10.9 constant. r=rillian
There are no functional changes, but it prevents errors or typo
2014-09-07 20:33:55 +10:00
Jean-Yves Avenard
79dedad168 Bug 1062596 - Re-enable hardware acceleration in AppleVTDecoder. r=rillian 2014-09-05 11:50:37 +10:00
Jean-Yves Avenard
e199f069f2 Bug 1063255 - Revert fix from bug 1062098. r=rillian 2014-09-05 12:29:08 +10:00
Jean-Yves Avenard
6e755c76a4 Bug 1062098: Do not attempt to output dropped frames. r=rillian 2014-09-03 18:13:35 +10:00
Ralph Giles
b8ab1c2f12 Bug 1055694 - Disable mac mp4 hardware acceleration. r=ajones
Works around crashes initializing multiple sessions.
2014-09-02 12:56:00 -07:00
Phil Ringnalda
231a486798 Backed out changeset b9e3a9f5d04a (bug 1036849) for build bustage, a=backout 2014-09-01 19:22:06 -07:00
Anthony Jones
a1e2cbc462 Bug 1036849 - Share a single MediaSourceReader; r=edwin; a=philor 2014-09-02 13:42:39 +12:00
Ehsan Akhgari
a3e58b5225 Bug 1061051 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : c3d5f6a1cc95f4a7f123129e14a9a0c57d00ef38
2014-08-31 23:50:59 -04:00
Ehsan Akhgari
5c071cc02e Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : 14da50f7d2e37e04452445dea575ea4d582e8efd
2014-08-31 23:50:23 -04:00
Anthony Jones
2707540462 Bug 1057911 - Fix libav/ffmpeg drain; r=jya 2014-08-29 14:29:12 +12:00
Jean-Yves Avenard
633e79da27 Bug 1059569 - Check that GetTaskQueue() doesn't return NULL. r=cpearce 2014-08-28 11:56:32 +12:00
Chris Pearce
27cf80e942 Bug 1059523 - Make codecs/mimetypes supported by MP4Decoder/Reader less inaccurate. r=kinetik 2014-08-28 15:32:34 +12:00
Ralph Giles
09315708bc Bug 1043710 - Reorder frames by comparing pts to dts. r=ajones
Pull frames out of the reorder queue in presentation
timestamp order when those timestamps are prior to
the latest decode timestamp.

The idea here is that when we see a frame with a decode
timestamp after the presentation timestamp of a frame
in the reorder buffer, that buffered frame can't be a
dependency of any more frames, and so decode timestamp
sample ordering ensures we've buffered all the frames
which need reordering up to that point.
2014-08-27 15:17:00 -07:00
Ralph Giles
2f9e812c9b Bug 1043710 - Pass dts to VideoToolbox decoder. r=ajones 2014-08-27 14:08:00 -07:00
Anthony Jones
3b67e0d61c Bug 1043710 - Expose decode timestamp. r=edwin 2014-08-27 14:08:00 -07:00
Chris Pearce
3659319904 Bug 1057173 - Rename MediaKeyNeededEvent to MediaEncryptedEvent. r=bz
--HG--
rename : content/media/eme/MediaKeyNeededEvent.cpp => content/media/eme/MediaEncryptedEvent.cpp
rename : content/media/eme/MediaKeyNeededEvent.h => content/media/eme/MediaEncryptedEvent.h
rename : dom/webidl/MediaKeyNeededEvent.webidl => dom/webidl/MediaEncryptedEvent.webidl
2014-08-27 20:46:56 +12:00
Ralph Giles
507f086661 Bug 1058400 - Fix AppleCMLinker assertion. r=cpearce
We call Unlink() from the failure cleanup code in Link() when
the dlopen call fails, so it's incorrect to assert that sLink
is non-null. We've already incremented the refcount, so that
check is fine.
2014-08-26 13:26:00 -07:00
Ralph Giles
0906ff6d40 Bug 1058399 - Fix VideoData leak on osx fmp4 seek. r=cpearce
Calling Clear() on the reorder queue doesn't call delete on
the stored pointer elements. Do this explicitly to avoid leaking
decoded frames when ::Flush() is called.
2014-08-26 14:22:00 -07:00
Ralph Giles
d13c2c2522 Bug 1057612 - Tell Apple AAC decoder about seeks. r=cpearce
According to the documentation we should set this flag to
mark data discontinuities after seeking.
2014-08-22 16:39:00 -07:00
Jean-Yves Avenard
bcc8fa43c2 Bug 1056394: OS X: Properly propagate timestamps. r=rillian
This isn't strictly correct, but is non-decreasing except at
seeks and appears to work in practice.
2014-08-22 15:47:00 -07:00
Chris Pearce
e097011861 Bug 1057201 - Don't dispatch to the MP4Reader's decode task queue to update buffered index, as that confuses the MediaDataDecoders. r=kentuckyfriedtakahe 2014-08-22 18:28:06 +12:00
Ralph Giles
7d5d318ec7 Bug 1057110 - Don't log h.264 sample sha1 by default. r=cpearce
This was useful for comparing input between different demuxers
but isn't really necessary now that things are running. Can be
removed when things are more stable.
2014-08-21 16:21:00 -07:00
Ralph Giles
5aeadf29d9 Bug 1057110 - Add separate PRLogModule for AppleDecoderModule. r=cpearce
The apple media decoders are quite noisy. Switching them to their
own "AppleMedia" log module simplifies the output when debugging
demuxer-specific issues.
2014-08-21 16:20:00 -07:00
Chris Pearce
d385364fb3 Bug 1055974 - Enable MP3 decoding in WMF PDM. r=padenot 2014-08-22 13:37:57 +12:00
Nathan Froyd
631962a036 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Nathan Froyd
762482b3da Bug 1055114 - convert GMPVideo{Encoder,Decoder} methods to take UniquePtr arguments where appropriate; r=cpearce 2014-08-18 13:11:11 -04:00
Blake Wu
ab95b53da3 Bug 1049325 - Part 1: Notify decoder for input EOS and report MP4Reader when output EOS is reached. r=cpearce 2014-08-21 14:22:25 +08:00
Chris Pearce
00435a4d1c Bug 1055907 - Delete output sent to MP4Reader while it's flushing, prevents leaks. r=kentuckyfriedtakahe 2014-08-21 16:10:57 +12:00
Chris Pearce
1d09cc3c02 Bug 1055907 - Ensure HasAudio() works earlier in MP4Reader::ReadMetadata(). r=kentuckyfriedtakahe 2014-08-21 16:10:34 +12:00