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

Changeset 236967 in webkit


Ignore:
Timestamp:
Oct 9, 2018, 10:40:01 AM (8 years ago)
Author:
aboya@igalia.com
Message:

[MSE][GStreamer] r236735 has some dead ASSERTs that need to be moved
https://bugs.webkit.org/show_bug.cgi?id=190394

Reviewed by Xabier Rodriguez-Calvar.

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

(WebCore::createOptionalParserForFormat):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r236965 r236967  
     12018-10-09  Alicia Boya García  <aboya@igalia.com>
     2
     3        [MSE][GStreamer] r236735 has some dead ASSERTs that need to be moved
     4        https://bugs.webkit.org/show_bug.cgi?id=190394
     5
     6        Reviewed by Xabier Rodriguez-Calvar.
     7
     8        * platform/graphics/gstreamer/mse/AppendPipeline.cpp:
     9        (WebCore::createOptionalParserForFormat):
     10
    1112018-10-09  Chris Dumez  <cdumez@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp

    r236735 r236967  
    860860    if (!g_strcmp0(mediaType, "audio/x-opus")) {
    861861        GstElement* opusparse = gst_element_factory_make("opusparse", parserName.get());
     862        ASSERT(opusparse);
    862863        g_return_val_if_fail(opusparse, nullptr);
    863         ASSERT(opusparse);
    864864        return GRefPtr<GstElement>(opusparse);
    865865    }
    866866    if (!g_strcmp0(mediaType, "audio/x-vorbis")) {
    867867        GstElement* vorbisparse = gst_element_factory_make("vorbisparse", parserName.get());
     868        ASSERT(vorbisparse);
    868869        g_return_val_if_fail(vorbisparse, nullptr);
    869         ASSERT(vorbisparse);
    870870        return GRefPtr<GstElement>(vorbisparse);
    871871    }
    872872    if (!g_strcmp0(mediaType, "video/x-h264")) {
    873873        GstElement* h264parse = gst_element_factory_make("h264parse", parserName.get());
     874        ASSERT(h264parse);
    874875        g_return_val_if_fail(h264parse, nullptr);
    875         ASSERT(h264parse);
    876876        return GRefPtr<GstElement>(h264parse);
    877877    }
Note: See TracChangeset for help on using the changeset viewer.