Changeset 226713 in webkit


Ignore:
Timestamp:
Jan 10, 2018 7:29:00 AM (6 years ago)
Author:
Philippe Normand
Message:

[GStreamer] fix critical GObject warning

Rubber-stamped by Carlos Garcia Campos.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

(WebCore::MediaPlayerPrivateGStreamer::handleMessage): No need to
resort to complicated things to get the element name...

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r226712 r226713  
     12018-01-10  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GStreamer] fix critical GObject warning
     4
     5        Rubber-stamped by Carlos Garcia Campos.
     6
     7        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     8        (WebCore::MediaPlayerPrivateGStreamer::handleMessage): No need to
     9        resort to complicated things to get the element name...
     10
    1112018-01-10  Philippe Normand  <pnormand@igalia.com>
    212
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r226712 r226713  
    989989        gst_element_get_state(m_pipeline.get(), &currentState, nullptr, 250 * GST_NSECOND);
    990990        if (requestedState < currentState) {
    991             GUniquePtr<gchar> elementName(gst_element_get_name(GST_ELEMENT(message)));
    992             GST_INFO("Element %s requested state change to %s", elementName.get(),
     991            GST_INFO("Element %s requested state change to %s", GST_MESSAGE_SRC_NAME(message),
    993992                gst_element_state_get_name(requestedState));
    994993            m_requestedState = requestedState;
Note: See TracChangeset for help on using the changeset viewer.