Title: [240793] trunk/Source/WebCore
Revision
240793
Author
ab...@igalia.com
Date
2019-01-31 09:27:38 -0800 (Thu, 31 Jan 2019)

Log Message

[MSE][GStreamer] Unreviewed debug build fix, obsolete assert

Since m_playerPrivate is now a reference, it no longer has a default
cast to bool. But there is also no longer a need to assert it's non
null, so just remove the assert.

* platform/graphics/gstreamer/mse/MediaSourceClientGStreamerMSE.cpp:
(WebCore::MediaSourceClientGStreamerMSE::append):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (240792 => 240793)


--- trunk/Source/WebCore/ChangeLog	2019-01-31 17:23:53 UTC (rev 240792)
+++ trunk/Source/WebCore/ChangeLog	2019-01-31 17:27:38 UTC (rev 240793)
@@ -1,5 +1,16 @@
 2019-01-31  Alicia Boya García  <ab...@igalia.com>
 
+        [MSE][GStreamer] Unreviewed debug build fix, obsolete assert
+
+        Since m_playerPrivate is now a reference, it no longer has a default
+        cast to bool. But there is also no longer a need to assert it's non
+        null, so just remove the assert.
+
+        * platform/graphics/gstreamer/mse/MediaSourceClientGStreamerMSE.cpp:
+        (WebCore::MediaSourceClientGStreamerMSE::append):
+
+2019-01-31  Alicia Boya García  <ab...@igalia.com>
+
         [MSE][GStreamer] Use reference instead of pointer in m_playerPrivate
         https://bugs.webkit.org/show_bug.cgi?id=194091
 

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/mse/MediaSourceClientGStreamerMSE.cpp (240792 => 240793)


--- trunk/Source/WebCore/platform/graphics/gstreamer/mse/MediaSourceClientGStreamerMSE.cpp	2019-01-31 17:23:53 UTC (rev 240792)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/mse/MediaSourceClientGStreamerMSE.cpp	2019-01-31 17:27:38 UTC (rev 240793)
@@ -121,8 +121,6 @@
 
     GST_DEBUG("Appending %zu bytes", data.size());
 
-    ASSERT(m_playerPrivate);
-
     RefPtr<AppendPipeline> appendPipeline = m_playerPrivate.m_appendPipelinesMap.get(sourceBufferPrivate);
 
     ASSERT(appendPipeline);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to