Skip to content
  • commit-queue@webkit.org's avatar
    [GStreamer] Add audio/speex MIME type as supported · 5f8cf470
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=115032
    
    Patch by Adrian Perez de Castro <aperez@igalia.com> on 2013-04-25
    Reviewed by Philippe Normand.
    
    Source/WebCore:
    
    GStreamer has support for the Speex codec (http://www.speex.org).
    Speex streams may be embedded in a Ogg container, or standalone.
    The case of the Ogg container is already covered by the "*/ogg"
    MIME types declared as supported by the GStreamer media playing
    code, but for standalone streams to work, "audio/speex" has to
    be added.
    
    With this, and the needed GStreamer plugin installed, the GTK+
    launcher is able to correctly play Speex streams served with
    "Content-type: audio/speex".
    
    * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    
    LayoutTests:
    
    Speex (http://www.speex.org) streams can be embedded into Ogg
    Ogg containers, so add a check for it in the test case.
    
    * media/media-can-play-ogg-expected.txt:
    * media/media-can-play-ogg.html:
    * platform/blackberry/media/media-can-play-ogg-expected.txt:
    * platform/mac/media/media-can-play-ogg-expected.txt:
    * platform/qt-linux/media/media-can-play-ogg-expected.txt:
    * platform/win/media/media-can-play-ogg-expected.txt:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5f8cf470