Commit Graph

485192 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
02adb43791 Backed out changeset 726ee2bcfdef (bug 1201363) for static build bustage 2016-08-02 12:54:13 +02:00
Carsten "Tomcat" Book
7e324b6cdb Backed out changeset b018ce9d1484 (bug 1201363) 2016-08-02 12:53:59 +02:00
Carsten "Tomcat" Book
72c34b88b3 Backed out changeset 488e4a5e859b (bug 1201363) 2016-08-02 12:53:57 +02:00
Carsten "Tomcat" Book
44057dc31a Backed out changeset cc59ebb35b26 (bug 1201363) 2016-08-02 12:53:56 +02:00
Carsten "Tomcat" Book
f4f5b9bafc Backed out changeset a6bafaf6bbe6 (bug 1201363) 2016-08-02 12:53:54 +02:00
Carsten "Tomcat" Book
27cb7f4d79 Backed out changeset 06c0a7eb7bc6 (bug 1201363) 2016-08-02 12:53:53 +02:00
Carsten "Tomcat" Book
2854eb5e13 Backed out changeset 1c8af95cd440 (bug 1201363) 2016-08-02 12:53:51 +02:00
Carsten "Tomcat" Book
1d6d29d0c6 Backed out changeset 5b926a6a6e4e (bug 1201363) 2016-08-02 12:53:49 +02:00
Carsten "Tomcat" Book
9211a18088 Backed out changeset f239b2ba9c46 (bug 1201363) 2016-08-02 12:53:48 +02:00
Carsten "Tomcat" Book
1cddcd1b7d Backed out changeset e350d8c25d2e (bug 1201363) 2016-08-02 12:53:46 +02:00
ctai
facfd7e206 Bug 1201363 - Do not copy video segment to StreamTracks in TrackUnionStream. r=jesup
Now everything is ready. We can make NotifyQueuedTrackChanges only triggered by TRACK_EVENT_CREATED and TRACK_EVENT_ENDED without breaking anything. Also we make TrackUnionStream no longer copying data in video case.

MozReview-Commit-ID: IgLx1mpBWB3

--HG--
extra : transplant_source : %9Fk%8F%20%FE%12%FC%DF%A0%C6%02%AC%D2%3C%EE%08%26%E3%9E%27
2016-05-31 18:05:11 +08:00
ctai
06b9cfbf60 Bug 1201363 - MediaStreamVideoSink for MediaPipelineTransmit case. r=jesup
Replace |MediaPipelineTransmit::PipelineListener::NotifyQueuedTrackChanges| with |MediaPipelineTransmit::PipelineVideoSink::SetCurrentFrames|. We only need to deal with the video case since audio will be routed to |NotifyQueuedAudioData|.

MozReview-Commit-ID: EVpMVgJynGT

--HG--
extra : transplant_source : U4%AC%EA%CA%CE%15%D6%F6%F8%05%F5%ED%FB%8EF%EF%E1X%13
2016-05-31 14:59:13 +08:00
Chia-hung Tai
fa18690dd9 Bug 1201363 - MediaStreamVideoSink for MediaRecorder case. r=jesup
Add MediaStreamVideoRecorderSink into MediaEncorder. In this patch, I still keep use duration to pass to TrackEncoders. Don't want to make this bug too big and out of control. We can file a new bug to change TrackEncoders use TimeStamp only.

MozReview-Commit-ID: KGftzulZynj

--HG--
extra : transplant_source : %3A%8Dv%85%A3%D8Y%99%D6%BB%A1%0A%BB%DE%806%C1yV%28
2016-06-15 16:48:44 +01:00
ctai
608aa7e45b Bug 1201363 - MediaStreamVideoSink for ImageCapture case. r=jesup
Make CaptureTask to inherite from MediaStreamVideoSink. The main change is to move the logic of |NotifyQueuedTrackChanges| to |SetCurrentFrames|.
The original image capture is not modified for support multiple video MediaStreamTracks. The design still used the track id in owned media stream. The should be fixed in the following bug if we still want to support ImageCapture in multiple video tracks case.

MozReview-Commit-ID: Od4tHoR8Ef

--HG--
extra : transplant_source : %8D%848%99%1C%DFOz%40r%D5%F4%85%10%9A6%E1%A6%3Fs
2016-05-31 13:53:49 +08:00
ctai
edeaa48113 Bug 1201363 - Call MediaStreamVideoSink::setCurrentFrames in SourceMediaStream::AppendToTrack. r=jesup
In this patch, we first deal with the case of MediaElement. Now we replace |PlayVideo| with |VideoFrameContainer::SetCurrentFrames| in |SourceMediaStream::AppendToTrack|. The MSG use TimeStamp::Now() for the TimeStamp of each video frame in most of case except MediaElement case. Becasue the MediaElement has its own VideoQueue, we need to calucalte the correct Timestamp based on the StartTimeStamp of this MediaStream and the elpased time of the video frame in DecodedStream.

MozReview-Commit-ID: 2bm2AHkFXHu

--HG--
extra : transplant_source : %C4n%D7a%10%CFK%D5%F2%DC%10%08%C2%24%EC%11%13J%DB%5D
2016-07-25 10:01:26 +08:00
ctai
4c7e5cf4e2 Bug 1201363 - Adding Add/RemoveVideoOutput into VideoStreamTrack. r=jesup
MozReview-Commit-ID: JmKotuB3pBM

--HG--
extra : transplant_source : %3C%98%88%98Y%04E%EF%F9%ED%D7%87%AD%C3%AF%EB%DA%D7Y%5C
2016-07-19 11:45:27 +08:00
ctai
a81c3ec430 Bug 1201363 - Register MediaStreamVideoSink into SourceMediaStream. r=jesup
MozReview-Commit-ID: 7X546VXVLJT

--HG--
extra : transplant_source : z%E8%25E%07%AA%08%B1%EC%D83LQ%FE%0A%05%D0%9E%85%B6
2016-05-30 11:32:23 +08:00
ctai
150ab2d45b Bug 1201363 - Let MediaStreamVideoSink bind with particular video track. r=jesup
MozReview-Commit-ID: FcjnmDKuRQI

--HG--
extra : transplant_source : %E8%DE%0C%18%CB%FA%06%F4V%DD%28%DB%F3T%D6%BA%F9%A0%C3%C3
2016-05-27 14:33:50 +08:00
ctai
0948ae3f3a Bug 1201363 - Replace VideoFrameContainer with MediaStreamVideoSink in MSG. r=jesup
Replace the pointer of VideoFrameContainer with the pointer of MediaStreamVideoSink.

MozReview-Commit-ID: 5bqEMpemwuR

--HG--
extra : transplant_source : %9D%86%93%A6%DF%D5%9Ep%20%DF%FD%C1%E2%BA%A3Gq%1A%7E%A3
2016-05-27 14:33:48 +08:00
ctai
43c3c04482 Bug 1201363 - Adding base class MediaStreamVideoSink and changing VideoFrameContainer to be inherited from MediaStreamVideoSink. r=jesup
MediaStreamVideoSink is the base class of VideoFrameContainer, CaptureTask(ImageCapture), MediaStreamVideoRecorderSink(MediaRecoreder) and PipelineVideoSink(WebRTC-MediaPipelineTransmit). In this patch, I change VideoFrameContainer only. The rest of cases will be changed in latter patches of this bug.

MozReview-Commit-ID: JNUke3fyCoN

--HG--
extra : transplant_source : %89%C8%0F%3B%EF%93%7C%BC%DAQ%19%196%19D%8Fu%EF%3B%11
2015-12-24 10:43:28 +08:00
André Bargull
c99d32d2ec Bug 1288772 - Move String.fromCodePoint to native code. r=evilpie 2016-07-25 11:55:12 -07:00
Kaku Kuo
3fb034d327 Bug 1274626 - Part 6 - make MDSM change video decoder dynamically; r=jwwang
MozReview-Commit-ID: LK0gt8HhnVn

--HG--
extra : transplant_source : %10%26%BD%3Cl%DA9%D6%EF%E5%C7B%1A%BE%279%89%90%D2%F7
2016-07-25 17:08:28 +08:00
Kaku Kuo
9b64312544 Bug 1274626 - Part 5 - provide APIs to switch to blank decoders dynamically; r=jya
MozReview-Commit-ID: PyoIsrEf1r

--HG--
extra : transplant_source : %16D%C0%AE%DAf8%21P%1ER%3C%E36%C7K%08G%99%2B
2016-07-29 14:51:18 +08:00
Kaku Kuo
59a499df96 Bug 1274626 - Part 4 - provide APIs to create blank decoders; r=jya
MozReview-Commit-ID: LiXOAzvVb1K

--HG--
extra : transplant_source : %F8%29%C0%9C/%A7%17-%E1%04r%A2%FD%00%93e%21Z%29%A4
2016-07-28 23:11:57 +08:00
Kaku Kuo
d22560cfe6 Bug 1274626 - Part 3 - make the blank video decoder return samples in PTS order; r=jya
MozReview-Commit-ID: EULu34WIcw0

--HG--
rename : dom/media/platforms/apple/ReorderQueue.h => dom/media/platforms/ReorderQueue.h
extra : transplant_source : %3F%DF%9F%E7%C8%AC%9F%3B%FB%94%8C%09%0A%16%D8%9F%0D%1F%9F%3E
2016-08-01 19:04:30 +08:00
Kaku Kuo
06403b2aa8 Bug 1274626 - Part 2 - make the blank video data creator return a white image; r=jya
MozReview-Commit-ID: By8h71EsXrg

--HG--
extra : transplant_source : Q%19%FA%5EK%9A%C6D%04%F6%D841%0EQ%01gA%9F%97
2016-07-28 16:16:56 +08:00
Kaku Kuo
b5496ba72c Bug 1274626 - Part 1 - add a method to HTMLMediaElement for debugging visibilty change; r=jwwang,ehsan
MozReview-Commit-ID: B1gAc0KfmCQ

--HG--
extra : transplant_source : %FD%03/Y%C3%B0%04%3ACH%8D%87%89%A1%EC%F9%89%BC%E0%9A
2016-07-28 16:09:02 +08:00
Paul Bignier
0602ff52d5 Bug 1289757 - [Uninitialized scalar field] In constructor nsWebBrowserPersist(). r=mconley
* Only pushing this file because it's the only "Uninitialized scalar field" defect in the "embedding" module that is fixed that way.
2016-07-27 05:12:00 +02:00
Sander Mathijs van Veen
3a459555e4 Bug 1287482 - Add a property name to GetPropertyPolymorphic[VT] opcode. r=nbp 2016-08-02 01:45:00 +02:00
Stone Shih
f8f5ef1c1a Bug 1285128 - Should not generate pointer events for those synthesized events that are not dispatched to DOM. r=smaug 2016-07-07 15:28:11 +08:00
Ben Tian
be60817f4b Bug 1262930 - Skip ShouldShowFocusRing check during TabChild::Init() if no inner window is available. r=khuey 2016-07-29 10:28:50 +08:00
Honza Bambas
14d285bdcd Bug 1171203 - Fix redirection limit underflow, don't count internal redirect to this limit, r=mcmanus 2016-08-01 04:12:00 +02:00
Jon Coppeard
3f47f7f4b8 Bug 1287410 - Check state of module returned by HostResolveImportedModule r=shu 2016-08-02 10:38:02 +01:00
Jon Coppeard
c9bd13abb0 Bug 1287410 - Add more fine-grained module state r=shu 2016-08-02 10:37:26 +01:00
Jon Coppeard
7c272adaa9 Bug 1287406 - Fix exporting an arrow function as the default export r=shu 2016-08-02 10:35:16 +01:00
Jon Coppeard
a608f3180b Bug 1281168 - Make hashing ObjectGroupCompartment::NewEntry fallible r=terrence 2016-08-02 10:26:25 +01:00
Iris Hsiao
c9e5c33bd4 Backed out changeset d303f553f817 (bug 1289640) 2016-08-02 16:51:36 +08:00
Iris Hsiao
6d48efa876 Backed out changeset d55d65c8fb73 (bug 1289640) 2016-08-02 16:51:30 +08:00
Iris Hsiao
bcf0cac2bd Backed out changeset 2e93b1e3adf0 (bug 1289640) 2016-08-02 16:51:24 +08:00
Iris Hsiao
d1330cfd9f Backed out changeset 0d4ae62cc21a (bug 1289640) 2016-08-02 16:51:20 +08:00
Iris Hsiao
3c82adc54e Backed out changeset 5ce69082c2fb (bug 1289640) 2016-08-02 16:51:16 +08:00
Iris Hsiao
74a4c960e4 Backed out changeset 2120884d5cb5 (bug 1284672) 2016-08-02 16:51:11 +08:00
Iris Hsiao
3a6363f152 Backed out changeset e69e260d5dc7 (bug 1289640) for Assertion failure on DeviceManagerD3D11.cpp 2016-08-02 16:50:14 +08:00
Matt Woodrow
b37f479ee0 Bug 1285174 - Make sure we render layers even if they are currently hidden (since that can change asynchronously). r=mstange 2016-08-02 18:47:26 +12:00
Matt Woodrow
a6c0c60716 Bug 1284672 - Try use an exsiting D3D11 device for video rather than creating new ones. r=dvander
--HG--
extra : rebase_source : 0e9b01742f1726bf385bf28257392415a09360bd
2016-08-02 18:46:27 +12:00
Nicholas Nethercote
0917ac7c50 No bug. Add a short but helpful comment to nsXULAppInfo::Callback. r=me.
DONTBUILD because it's a comment-only change.
2016-08-02 16:30:11 +10:00
Matt Woodrow
8a4439734f Bug 1289640 - Fix non-Windows build bustage 2016-08-02 18:15:01 +12:00
Matt Woodrow
f1c314c175 Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander 2016-08-02 17:58:17 +12:00
Matt Woodrow
8a78323b3b Bug 1289640 - Part 4: Make SourceSurfaceImage::GetTextureClient use the threadsafe upload with D3D11 so that we no longer rely on having a separate device. r=nical 2016-08-02 17:57:41 +12:00
Matt Woodrow
c4533b81ff Bug 1289640 - Part 3: Add a new constructor for D3D11TextureData that does threadsafe uploading. r=Bas 2016-08-02 17:55:44 +12:00