Changeset 264296 in webkit
- Timestamp:
- Jul 13, 2020 1:51:45 AM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r264290 r264296 1 2020-07-13 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 3 [GStreamer] Unreviewed, remove private debug code 4 5 When I landed the OpenCDM code I accidentally landed a couple of 6 things that were internal debug that is not useful upstream. 7 8 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: 9 (WebCore::MediaPlayerPrivateGStreamer::handleSyncMessage): 10 (WebCore::MediaPlayerPrivateGStreamer::handleMessage): 11 1 12 2020-07-12 Darin Adler <darin@apple.com> 2 13 -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
r264226 r264296 1597 1597 bool MediaPlayerPrivateGStreamer::handleSyncMessage(GstMessage* message) 1598 1598 { 1599 if (GST_MESSAGE_TYPE(message) == GST_MESSAGE_ERROR && !g_strcmp0(g_getenv("WEBKIT_CRASH_ON_GSTREAMER_ERROR"), "sync")) {1600 GUniqueOutPtr<GError> err;1601 GUniqueOutPtr<gchar> debug;1602 gst_message_parse_error(message, &err.outPtr(), &debug.outPtr());1603 GST_ERROR("Error %d from %s: %s (url=%s)", err->code, GST_MESSAGE_SRC_NAME(message), err->message, m_url.string().utf8().data());1604 GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(GST_BIN(m_pipeline.get()), GST_DEBUG_GRAPH_SHOW_ALL, "webkit-video-sync-error");1605 ASSERT_NOT_REACHED();1606 }1607 1608 1599 if (GST_MESSAGE_TYPE(message) == GST_MESSAGE_STREAM_COLLECTION && !m_isLegacyPlaybin) { 1609 1600 GRefPtr<GstStreamCollection> collection; … … 1879 1870 1880 1871 GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(GST_BIN(m_pipeline.get()), GST_DEBUG_GRAPH_SHOW_ALL, "webkit-video.error"); 1881 1882 if (!g_strcmp0(g_getenv("WEBKIT_CRASH_ON_GSTREAMER_ERROR"), "async"))1883 CRASH();1884 1872 1885 1873 error = MediaPlayer::NetworkState::Empty;
Note: See TracChangeset
for help on using the changeset viewer.