Changeset 264296 in webkit


Ignore:
Timestamp:
Jul 13, 2020 1:51:45 AM (4 years ago)
Author:
calvaris@igalia.com
Message:

[GStreamer] Unreviewed, remove private debug code

When I landed the OpenCDM code I accidentally landed a couple of
things that were internal debug that is not useful upstream.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

(WebCore::MediaPlayerPrivateGStreamer::handleSyncMessage):
(WebCore::MediaPlayerPrivateGStreamer::handleMessage):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r264290 r264296  
     12020-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
    1122020-07-12  Darin Adler  <darin@apple.com>
    213
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r264226 r264296  
    15971597bool MediaPlayerPrivateGStreamer::handleSyncMessage(GstMessage* message)
    15981598{
    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 
    16081599    if (GST_MESSAGE_TYPE(message) == GST_MESSAGE_STREAM_COLLECTION && !m_isLegacyPlaybin) {
    16091600        GRefPtr<GstStreamCollection> collection;
     
    18791870
    18801871        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();
    18841872
    18851873        error = MediaPlayer::NetworkState::Empty;
Note: See TracChangeset for help on using the changeset viewer.