⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 259643 in webkit


Ignore:
Timestamp:
Apr 7, 2020, 9:38:32 AM (6 years ago)
Author:
aboya@igalia.com
Message:

[GStreamer] Log a warning if playbin is not found
https://bugs.webkit.org/show_bug.cgi?id=210112

Reviewed by Philippe Normand.

I spent quite a bit of time looking in the debugger for what ended up
being a trivial configuration issue because there was no logging
showing any obvious problem. Let's add it.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

(WebCore::MediaPlayerPrivateGStreamer::isAvailable):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r259641 r259643  
     12020-04-07  Alicia Boya García  <aboya@igalia.com>
     2
     3        [GStreamer] Log a warning if playbin is not found
     4        https://bugs.webkit.org/show_bug.cgi?id=210112
     5
     6        Reviewed by Philippe Normand.
     7
     8        I spent quite a bit of time looking in the debugger for what ended up
     9        being a trivial configuration issue because there was no logging
     10        showing any obvious problem. Let's add it.
     11
     12        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     13        (WebCore::MediaPlayerPrivateGStreamer::isAvailable):
     14
    1152020-04-07  Adrian Perez de Castro  <aperez@igalia.com>
    216
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r259113 r259643  
    549549    // FIXME: This has not been updated for the playbin3 switch.
    550550    GRefPtr<GstElementFactory> factory = adoptGRef(gst_element_factory_find("playbin"));
     551    if (!factory)
     552        GST_WARNING("Couldn't find a factory for the playbin element. Media playback will be disabled.");
    551553    return factory;
    552554}
Note: See TracChangeset for help on using the changeset viewer.