Changeset 273731 in webkit
- Timestamp:
- Mar 2, 2021, 8:31:54 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r273730 r273731 1 2021-03-02 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 3 [GStreamer] Error instead of asserting on the player in the source 4 https://bugs.webkit.org/show_bug.cgi?id=222108 5 6 Reviewed by Philippe Normand. 7 8 The release assert can be hit in some cases in smoothstreaming 9 with already invalid pipelines so better to just error out instead 10 of assert on release. 11 12 * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: 13 (webKitWebSrcCreate): 14 1 15 2021-03-02 Youenn Fablet <youenn@apple.com> 2 16 -
trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
r272908 r273731 481 481 return GST_FLOW_FLUSHING; 482 482 } 483 RELEASE_ASSERT(members->player); 483 if (!members->player) { 484 GST_ERROR_OBJECT(src, "Couldn't obtain WebKitWebSrcPlayerContext, which is necessary to make network requests"); 485 return GST_FLOW_ERROR; 486 } 484 487 485 488 GST_TRACE_OBJECT(src, "readPosition = %" G_GUINT64_FORMAT " requestedPosition = %" G_GUINT64_FORMAT, members->readPosition, members->requestedPosition);
Note:
See TracChangeset
for help on using the changeset viewer.