Changeset 207899 in webkit


Ignore:
Timestamp:
Oct 26, 2016, 8:36:35 AM (9 years ago)
Author:
zandobersek@gmail.com
Message:

Unreviewed. Fixing compiler warnings in PlaybackPipeline
that are popping up in GTK+ builds.

  • platform/graphics/gstreamer/mse/PlaybackPipeline.cpp:

(WebCore::PlaybackPipeline::addSourceBuffer):
(WebCore::PlaybackPipeline::attachTrack):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r207897 r207899  
     12016-10-26  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        Unreviewed. Fixing compiler warnings in PlaybackPipeline
     4        that are popping up in GTK+ builds.
     5
     6        * platform/graphics/gstreamer/mse/PlaybackPipeline.cpp:
     7        (WebCore::PlaybackPipeline::addSourceBuffer):
     8        (WebCore::PlaybackPipeline::attachTrack):
     9
    1102016-10-26  Youenn Fablet  <youennf@gmail.com>
    211
  • trunk/Source/WebCore/platform/graphics/gstreamer/mse/PlaybackPipeline.cpp

    r207882 r207899  
    111111    GST_DEBUG_OBJECT(m_webKitMediaSrc.get(), "State %d", int(GST_STATE(m_webKitMediaSrc.get())));
    112112
    113     Stream* stream = new Stream { 0 };
     113    Stream* stream = new Stream{ };
    114114    stream->parent = m_webKitMediaSrc.get();
    115115    stream->appsrc = gst_element_factory_make("appsrc", nullptr);
     
    224224        gst_structure_get_int(structure, "mpegversion", &mpegversion);
    225225
    226         GstElement* parser;
     226        GstElement* parser = nullptr;
    227227        if (mpegversion == 1)
    228228            parser = gst_element_factory_make("mpegaudioparse", nullptr);
Note: See TracChangeset for help on using the changeset viewer.