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

549 Коммитов

Автор SHA1 Сообщение Дата
Sotaro Ikeda d3c9a7b82c Bug 1286130 - Use recycled SharedPlanarYCbCrImage in WMFVideoMFTManager r=mattwoodrow 2016-07-12 00:29:43 -07:00
stefanh@inbox.com 51626f0a16 Bug 1284007 - Remove obsolete OS X version checks in dom/media. r=cpearce, jesup. 2016-07-07 18:22:41 +02:00
Carsten "Tomcat" Book 199d6e3b27 Merge mozilla-central to mozilla-inbound 2016-07-01 11:18:56 +02:00
Carsten "Tomcat" Book e59190e1dc Merge mozilla-central to autoland 2016-06-30 12:53:52 +02:00
Carsten "Tomcat" Book 3a42c363cc merge mozilla-inbound to mozilla-central a=merge 2016-06-30 12:33:41 +02:00
Alexandre Lissy c451896719 Bug 1283269 - Fix build on gonk r=nical
MozReview-Commit-ID: C4ho5hloREj

--HG--
extra : rebase_source : 713f48f7c07549af1aeccfaedf8c39da1ce618af
2016-06-29 23:29:32 +02:00
Alexandre Lissy 1f12aec167 Bug 1283156 - Fix GonkDecoderModule build error r=baku
MozReview-Commit-ID: 8O9CeufBy7r

--HG--
extra : rebase_source : 7080382897c66ded2c28e261d2aef04b197e88c8
2016-06-29 21:03:42 +02:00
Ralph Giles b9106558db Bug 1282963 - Share CodecDelay prepend code. r=kinetik
Both the WebM and mp4 demuxers need to pack this value into
the the CodecSpecificConfig, so move the shared implementation
to the OpusDecoder, near where it is unpacked so the two can
be kept in sync.

MozReview-Commit-ID: 2pQaruJoAWr
2016-06-29 15:49:04 -07:00
Ralph Giles e9e5b9c48f Bug 1267887 - Log short opus codec config blocks. r=kinetik
MozReview-Commit-ID: 8Kgj1cytJtE
2016-06-29 09:13:17 -07:00
Ralph Giles 72ecfe6999 Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-29 09:12:45 -07:00
Carsten "Tomcat" Book b043df6724 Backed out changeset a2c87cb66cce (bug 1281115) for causing frequent timeouts in test_ResumeAfterClearing_mp4.html 2016-06-28 13:53:10 +02:00
Chris Pearce de045590ac Bug 1267918 - Add GMPCrashHelper for HTMLMediaElement. r=gerald
This ensures that unencrypted GMP decoding crash reporting works.

MozReview-Commit-ID: 84TAV5F9Ie0

--HG--
extra : rebase_source : c0bf3021be9fa0833a7b375967572f1019e4e279
2016-06-29 11:42:07 +12:00
Chris Pearce e0a9078a6f Bug 1267918 - Add GMPCrashHelper to GMPService::GetGMP* functions. r=gerald
This enables callers to specify a way to determine the correct window to
dispatch the PluginCrashed event to should the GMP actor crash.

We need a way to determine the correct window at crash time, as the GMP's
window can change at runtime. For example, if the GMP is being used for
unencrypted decoding, the <video> element can be moved to a new browser window
at runtime.

Note: I don't handle disconnecting the GMPCrashHandlers in this patch; we do
delete the GMPCrashHandlers in this patch when their associated GMP crashes, and
in the next patch we handle disconnecting GMPCrashHandlers in the case where
we don't crash.

MozReview-Commit-ID: DrwcZAB6Ys0

--HG--
extra : rebase_source : 8da188b68456914773e6adae8cbccd6bf6a6e7a7
2016-06-29 11:41:56 +12:00
Alfredo Yang dc6aa95260 Bug 1281115: add SetSeekThreshold for ffmpeg. r=jwwang
MozReview-Commit-ID: 4Vfkz0dGgEk

--HG--
extra : rebase_source : ccb706cc7ff0c7389c43c785aaad3de3bafaa6fd
2016-06-21 16:13:57 +08:00
Dan Glastonbury 3224020227 Bug 1281632 - P6: Extract parameters to GMPAudioDecoder into struct. r=gerald
MozReview-Commit-ID: 7UXY5uEQUtj

--HG--
extra : rebase_source : 1f947526ab0bfafe8e7859627473ba578cdb4f87
2016-06-28 17:56:56 +12:00
Dan Glastonbury 55f422c73a Bug 1281632 - P5: Extract parameters to GMPVideoDecoder into struct. r=gerald
MozReview-Commit-ID: UICBFgDHBm

--HG--
extra : rebase_source : b411444ccc7fce9587fa43a0dcefac46cfe98486
2016-06-28 17:56:56 +12:00
Dan Glastonbury 406306643a Bug 1281632 - P3: Move EMEAudioDecoder/EMEVideoDecoder ctors. r=gerald
MozReview-Commit-ID: 1Q90g3ehkXf

--HG--
extra : rebase_source : d9c6fe463e5808ae3c9dd3849cfd5ae807824d95
2016-06-28 17:56:55 +12:00
Dan Glastonbury 5de2ec4fa5 Bug 1281632 - P2: Reduce GMPAudioDecoder/GMPVideoDecoder ctor count. r=gerald
This means we expose fewer constructors, and the definition is in the .cpp file
so changing it won't cause lots of things to recompile.

MozReview-Commit-ID: DY7UCYfOb25

--HG--
extra : rebase_source : b753c87d00cafc897749d9d7a550ee0cccb59ddf
2016-06-28 17:56:55 +12:00
Dan Glastonbury 1b2a65cfc3 Bug 1281632 - P1: Extract creation parameters and pass via struct. r=gerald
Extract all the parameters passed to CreateAudioDecoder/CreateVideoDecoder and
place them into a structure that is passed down to the creation of the actual
decoder, where the relevant parameters can be extracted.

This makes it easier to add more arguments to the Create*Decoder calls in future.

MozReview-Commit-ID: 9LZlcfRVz6A

--HG--
extra : rebase_source : ce3f0c7d0784b96267728697ff5d535ccb8ee7a6
2016-06-28 17:56:55 +12:00
Alfredo Yang b1e6bc8fcb Bug 1282014: check duration when set seek target. r=jwwang
MozReview-Commit-ID: 9ktjaL07sFA

--HG--
extra : rebase_source : 3e80bf8f8b84bb022a3023a40235c14c900cd7bc
2016-06-24 16:00:45 +08:00
Gerald Squelart 2c4f274202 Bug 1271483 - p1. Optionally treat media.wmf.disabled as WMF failure for Decoder Doctor - r=cpearce
This can be used to test Decoder Doctor on Windows, but disabling WMF through
prefs, to trigger an Decoder Doctor infobar.

MozReview-Commit-ID: 1aRk111VFO7
2016-05-24 01:33:37 +10:00
Thomas Zimmermann 80a6524060 Bug 1281139: Rename |CompositableForwarder| to |TextureForwarder| in b2g media code, r=nical
MozReview-Commit-ID: 3jRvjxR0adI
2016-06-21 16:54:26 +02:00
Alfredo 948b1a2fa0 Bug 1280036: don't create video frame before seek target. r=jya
MozReview-Commit-ID: G1QTZTWtvmR

--HG--
extra : rebase_source : cbca5b928f0ee394d0a2929185f796ae8bd8dd7a
2016-06-16 13:43:52 +01:00
Jean-Yves Avenard 8bb32f751e Bug 1275339: [ffmpeg] P2. Fetch avcodec_free_frame in libavcodec. r=cpearce
avcodec_free_frame was incorrectly looked in libavuti. On Linux where this code is used, it makes no difference really but for clarity sake.

MozReview-Commit-ID: DC1WJAAKiE4
2016-06-11 11:04:14 +01:00
Jean-Yves Avenard 3b9ae45b0e Bug 1275339 - [ffmpeg] Don't assume AVFrame has a constant size.
An AVFrame has a different size between FFmpeg 0.10 and LibAV 0.8 though both have the same version number.

Forgot to add the fixes (twice now :( )

MozReview-Commit-ID: DR3b3fqSngh
2016-06-11 11:04:10 +01:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Alfredo Yang baf7982f87 Bug 1257107 - set video seek thresohld on mac PDM. r=jya
MozReview-Commit-ID: 1nlO0cyXBEb

--HG--
extra : rebase_source : a1347a5caa3b55c3f46b7df2d295c05a91480ff0
2016-06-08 10:59:57 +08:00
Alfredo Yang 254d49c5f6 Bug 1257107 - discard decoded data if its pts is smaller than seek time. r=jya
MozReview-Commit-ID: 70rbBsor8lp

--HG--
extra : rebase_source : 7f88969e1c5f19aa1651080dd5b1985d0b718592
2016-06-08 10:59:57 +08:00
Nicholas Nethercote 26dee45a45 Bug 1278452 - Avoid a null deref in dom/media/platforms/omx/. r=ayang.
|aData| can be null, because FindAndRemoveBufferHolder() can return null.

--HG--
extra : rebase_source : 033d1e574919b0a02f2f1390795a0c18f9d1de7d
2016-06-08 10:28:31 +10:00
JW Wang 6e099bf9a4 Bug 1274466 - per discussion move some functions back to public. r=jya.
MozReview-Commit-ID: BoTB5IKjuDD

--HG--
extra : rebase_source : 4b81ed7365b560f3a9b1567fd182685daa601389
2016-06-06 16:17:15 +08:00
Jean-Yves Avenard 94b2b53bfe Bug 1275381: [aac] Rework AudioSpecificConfig if extensions are present. r=cpearce,kamidphish,?kamidphish
WMF is very strict with the AudioSpecificConfig passed on and will error if an unknown extension is found. Attempt to detect those extensions and remove them if necessary.

MozReview-Commit-ID: KbooPiHmDbN

--HG--
extra : rebase_source : 849628daae33e0dca6ac3735dd8abc05e7554937
2016-06-02 12:07:06 +10:00
Gregor Wagner dfd00f0d0a Bug 1277212 - Fix MediaDataDecoderCallback::Error callbacks in GonkMediaDecoder. r=tzimmermann 2016-06-01 13:47:02 +02:00
Chris Pearce f41e85bf8a Bug 1271525 - Add ability to blacklist D3D9 DXVA via pref. r=kentuckyfriedtakahe
MozReview-Commit-ID: HSm6TTc6kct

--HG--
extra : rebase_source : cacbcef2352f6e4897845a5fdb3373c60571e938
2016-05-31 21:08:03 +12:00
Chris Pearce 83f9dc03f4 Bug 1271525 - Factor out data used by FindD3D11BlacklistedDLL() into arguments passed in. r=kentuckyfriedtakahe
This enables us to use the existing D3D11 blacklist code to create a D3D9
blacklist by just passing in a new blacklist cache.


MozReview-Commit-ID: GyQ8o8U1jwg

--HG--
extra : rebase_source : e0f1b99d9129c6a8bf6ca70001593194291a83b1
2016-05-31 21:06:56 +12:00
Phil Ringnalda 3f1ee7a2b6 Backed out 7 changesets (bug 1267887) for gtest failures and crashes and Marionette crashes on Windows 8
CLOSED TREE

Backed out changeset e7e34b315a0a (bug 1267887)
Backed out changeset 9128f4f94032 (bug 1267887)
Backed out changeset c697af8c555a (bug 1267887)
Backed out changeset 8f1c1957ce80 (bug 1267997)
Backed out changeset 3b1177fd30cb (bug 1267887)
Backed out changeset 72ea61f4f820 (bug 1267887)
Backed out changeset e19c4c4eac51 (bug 1267887)
2016-06-28 21:40:09 -07:00
Ralph Giles 4dc3887b7d Bug 1267887 - Log short opus codec config blocks. r=kinetik
MozReview-Commit-ID: 8Kgj1cytJtE
2016-06-28 20:33:40 -07:00
Ralph Giles 711f285ffd Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-28 20:33:32 -07:00
Alfredo Yang 68adb6b579 Bug 1068151 - keep decoding a corrupted video. r=jya 2016-05-30 18:24:00 +02:00
Chris Peterson 11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
eyim 4f13f0068e Bug 1271003 - Record whether we've used DXVA in crash reports r=BenWa,jrmuizel
MozReview-Commit-ID: 3nIwpdqSZS1

--HG--
extra : rebase_source : a0f71faccfda12ce3bce4a4526dc87610508c7b3
2016-05-26 15:38:41 -04:00
Eric Rahm c077aa9010 Bug 1274913 - Move PDM log definition to header. r=njn 2016-05-24 14:55:53 -07:00
JW Wang 8b980a3cbc Bug 1274216 - remove use of FlushableTaskQueue from PlatformDecoderModule. r=jya.
MozReview-Commit-ID: E3DG84yKRmw

--HG--
extra : rebase_source : 2636b7d1ef5cc544f70b3912d4d6bd30f25424df
2016-05-19 17:50:31 +08:00
JW Wang b9c2b41eb4 Bug 1274189. Part 3 - remove use of FlushableTaskQueue. r=jya
MozReview-Commit-ID: BblRglpMvtp

--HG--
extra : rebase_source : 525d103c8a4b829fc3f35d7722cd9456277f8f19
2016-05-19 16:30:02 +08:00
JW Wang ef34d3ad83 Bug 1274189. Part 2 - remove use of FlushableTaskQueue::Flush(). r=jya.
MozReview-Commit-ID: I079lp6vSqu

--HG--
extra : rebase_source : 4cd655365a45123de748791100bd308e229d650c
2016-05-25 10:15:24 +08:00
JW Wang ecc1e85308 Bug 1274189. Part 1 - rename some functions to be consistent with other MediaDataDecoder sub-classes. r=jya.
MozReview-Commit-ID: EqR1cQ2sAhQ

--HG--
extra : rebase_source : 650274ea49bdfcf4a6af55ef6da128d3590bc3a9
2016-05-20 16:28:50 +08:00
Chris Pearce daf024be7d Bug 1249706 - Backout a085ea2d24bb for blowing telemetry server's mind. r=backout
--HG--
extra : rebase_source : fc17ac88544ff800b141a276f66282b34f613dfe
2016-05-25 10:31:15 +12:00
Jean-Yves Avenard e1fd229178 Bug 1270323: [ffmpeg] P3. Use the dts of the last sample input, not the dts of the last decoded sample. r=cpearce
Amendment to bug 1244410. If no frames had been output yet, last dts would have been INT64_MIN.

MozReview-Commit-ID: LOdWLpyuLYm

--HG--
extra : rebase_source : f842d2214b1e82f3b069e843157b95d87e62fa01
2016-05-23 15:37:34 +10:00
JW Wang 13fa174ec0 Bug 1274199 - remove use of FlushableTaskQueue. r=cpearce.
MozReview-Commit-ID: J9BHEuF6CPJ
2016-05-19 17:04:18 +08:00
JW Wang d1674fc0e3 Bug 1274212 - remove use of FlushableTaskQueue. r=kaku
MozReview-Commit-ID: DmyrIhGq8yb
2016-05-19 17:24:30 +08:00
JW Wang 5a7fa14c5c Bug 1274214 - remove use of FlushableTaskQueue. r=kaku.
MozReview-Commit-ID: 5tMa5aqAgQ1
2016-05-19 17:32:22 +08:00