Title: [186600] trunk/Source/WebCore
- Revision
- 186600
- Author
- commit-qu...@webkit.org
- Date
- 2015-07-09 11:48:52 -0700 (Thu, 09 Jul 2015)
Log Message
Exposed AVVideoCaptureSource's bounds
https://bugs.webkit.org/show_bug.cgi?id=146760
<rdar://problem/21736772>
Patch by Matthew Daiter <mdai...@apple.com> on 2015-07-09
Reviewed by Brent Fulgham.
* platform/mediastream/mac/AVVideoCaptureSource.h:
(WebCore::AVVideoCaptureSource::width): Needed access to video width
(WebCore::AVVideoCaptureSource::height): Needed access to video height
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (186599 => 186600)
--- trunk/Source/WebCore/ChangeLog 2015-07-09 18:40:34 UTC (rev 186599)
+++ trunk/Source/WebCore/ChangeLog 2015-07-09 18:48:52 UTC (rev 186600)
@@ -1,3 +1,15 @@
+2015-07-09 Matthew Daiter <mdai...@apple.com>
+
+ Exposed AVVideoCaptureSource's bounds
+ https://bugs.webkit.org/show_bug.cgi?id=146760
+ <rdar://problem/21736772>
+
+ Reviewed by Brent Fulgham.
+
+ * platform/mediastream/mac/AVVideoCaptureSource.h:
+ (WebCore::AVVideoCaptureSource::width): Needed access to video width
+ (WebCore::AVVideoCaptureSource::height): Needed access to video height
+
2015-07-09 Karlen Simonyan <szkar...@gmail.com>
[WinCairo] ClearType should be enabled on Cairo port
Modified: trunk/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.h (186599 => 186600)
--- trunk/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.h 2015-07-09 18:40:34 UTC (rev 186599)
+++ trunk/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.h 2015-07-09 18:48:52 UTC (rev 186600)
@@ -40,6 +40,9 @@
virtual RefPtr<RealtimeMediaSourceCapabilities> capabilities() const override;
virtual void captureOutputDidOutputSampleBufferFromConnection(AVCaptureOutput*, CMSampleBufferRef, AVCaptureConnection*) override;
+
+ virtual int32_t width() const { return m_width; }
+ virtual int32_t height() const { return m_height; }
private:
AVVideoCaptureSource(AVCaptureDevice*, const AtomicString&, PassRefPtr<MediaConstraints>);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes