[MediaStream] Calculate width or height when constraints contain only the other
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Dec 2018 17:22:06 +0000 (17:22 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Dec 2018 17:22:06 +0000 (17:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=192632
<rdar://problem/46665734>

Unreviewed, remove an unneeded assert.

* platform/mediastream/RealtimeVideoSource.cpp:
(WebCore::RealtimeVideoSource::dispatchMediaSampleToObservers):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239169 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/mediastream/RealtimeVideoSource.cpp

index d53c9c3..c7c333b 100644 (file)
@@ -1,3 +1,14 @@
+2018-12-13  Eric Carlson  <eric.carlson@apple.com>
+
+        [MediaStream] Calculate width or height when constraints contain only the other
+        https://bugs.webkit.org/show_bug.cgi?id=192632
+        <rdar://problem/46665734>
+
+        Unreviewed, remove an unneeded assert.
+
+        * platform/mediastream/RealtimeVideoSource.cpp:
+        (WebCore::RealtimeVideoSource::dispatchMediaSampleToObservers):
+
 2018-12-13  Zach Li  <zachli@apple.com>
 
         Update Credit Card AutoFill button icon
index 3028ca4..90ac7dc 100644 (file)
@@ -392,7 +392,6 @@ void RealtimeVideoSource::dispatchMediaSampleToObservers(MediaSample& sample)
 #if PLATFORM(COCOA)
     if (!isRemote()) {
         auto size = this->size();
-        ASSERT(!size.isEmpty());
         if (!size.isEmpty() && size != expandedIntSize(sample.presentationSize())) {
 
             if (!m_imageTransferSession || m_imageTransferSession->pixelFormat() != sample.videoPixelFormat())