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

Changeset 176541 in webkit


Ignore:
Timestamp:
Nov 25, 2014, 6:49:30 AM (12 years ago)
Author:
Philippe Normand
Message:

[GStreamer] gstmpegts is not initialized
https://bugs.webkit.org/show_bug.cgi?id=139039

Reviewed by Carlos Garcia Campos.

  • platform/graphics/gstreamer/GStreamerUtilities.cpp:

(WebCore::initializeGStreamer): Initialize the gstmpegts library.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r176537 r176541  
     12014-11-25  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GStreamer] gstmpegts is not initialized
     4        https://bugs.webkit.org/show_bug.cgi?id=139039
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * platform/graphics/gstreamer/GStreamerUtilities.cpp:
     9        (WebCore::initializeGStreamer): Initialize the gstmpegts library.
     10
    1112014-11-24  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
    212
  • trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.cpp

    r169378 r176541  
    2929#include <wtf/MathExtras.h>
    3030#include <wtf/gobject/GUniquePtr.h>
     31
     32#if ENABLE(VIDEO_TRACK) && USE(GSTREAMER_MPEGTS)
     33#define GST_USE_UNSTABLE_API
     34#include <gst/mpegts/mpegts.h>
     35#undef GST_USE_UNSTABLE_API
     36#endif
    3137
    3238namespace WebCore {
     
    133139    bool gstInitialized = gst_init_check(0, 0, &error.outPtr());
    134140    ASSERT_WITH_MESSAGE(gstInitialized, "GStreamer initialization failed: %s", error ? error->message : "unknown error occurred");
     141
     142#if ENABLE(VIDEO_TRACK) && USE(GSTREAMER_MPEGTS)
     143    if (gstInitialized)
     144        gst_mpegts_initialize();
     145#endif
     146
    135147    return gstInitialized;
    136148}
Note: See TracChangeset for help on using the changeset viewer.