Changeset 109580 in webkit


Ignore:
Timestamp:
Mar 2, 2012 8:38:31 AM (12 years ago)
Author:
Philippe Normand
Message:

[GStreamer] media/media-can-play-flac-audio.html fails
https://bugs.webkit.org/show_bug.cgi?id=80124

Reviewed by Martin Robinson.

Handle audio/x-flac in the mimeTypeCache() function so that we
advertize both audio/flac and audio/x-flac.

No new tests, this is covered already by media/media-can-play-flac-audio.html.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r109577 r109580  
     12012-03-02  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GStreamer] media/media-can-play-flac-audio.html fails
     4        https://bugs.webkit.org/show_bug.cgi?id=80124
     5
     6        Reviewed by Martin Robinson.
     7
     8        Handle audio/x-flac in the mimeTypeCache() function so that we
     9        advertize both audio/flac and audio/x-flac.
     10
     11        No new tests, this is covered already by media/media-can-play-flac-audio.html.
     12
     13        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     14
    1152012-03-02  Pavel Podivilov  <podivilov@chromium.org>
    216
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r109005 r109580  
    15851585                }
    15861586
     1587                if (g_str_equal(name, "audio/x-flac")) {
     1588                    cache.add(String("audio/flac"));
     1589                    cache.add(String("audio/x-flac"));
     1590                    cached = true;
     1591                }
     1592
    15871593                if (g_str_equal(name, "audio/mpeg")) {
    15881594                    cache.add(String(name));
Note: See TracChangeset for help on using the changeset viewer.