Changeset 77494 in webkit


Ignore:
Timestamp:
Feb 3, 2011 8:29:19 AM (13 years ago)
Author:
Philippe Normand
Message:

2011-01-27 Philippe Normand <pnormand@igalia.com>

Reviewed by Martin Robinson.

[GTK] LayoutTests/media/audio-mpeg4-supported.html fails
https://bugs.webkit.org/show_bug.cgi?id=53125

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::mimeTypeCache): Add audio/x-m4a mimetype in the cache.

LayoutTests:

2011-01-27 Philippe Normand <pnormand@igalia.com>

Reviewed by Martin Robinson.

[GTK] LayoutTests/media/audio-mpeg4-supported.html fails
https://bugs.webkit.org/show_bug.cgi?id=53125

  • platform/gtk/Skipped: Unskip fixed test.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r77493 r77494  
     12011-01-27  Philippe Normand  <pnormand@igalia.com>
     2
     3        Reviewed by Martin Robinson.
     4
     5        [GTK] LayoutTests/media/audio-mpeg4-supported.html fails
     6        https://bugs.webkit.org/show_bug.cgi?id=53125
     7
     8        * platform/gtk/Skipped: Unskip fixed test.
     9
    1102011-02-03  Philippe Normand  <pnormand@igalia.com>
    211
  • trunk/LayoutTests/platform/gtk/Skipped

    r77493 r77494  
    46974697media/unsupported-rtsp.html
    46984698
    4699 # This media test fails; possibly because the AAC codec is not installed on the test bots:
    4700 # https://bugs.webkit.org/show_bug.cgi?id=53125
    4701 media/audio-mpeg4-supported.html
    47024699
    47034700# https://bugs.webkit.org/show_bug.cgi?id=53247
  • trunk/Source/WebCore/ChangeLog

    r77492 r77494  
     12011-01-27  Philippe Normand  <pnormand@igalia.com>
     2
     3        Reviewed by Martin Robinson.
     4
     5        [GTK] LayoutTests/media/audio-mpeg4-supported.html fails
     6        https://bugs.webkit.org/show_bug.cgi?id=53125
     7
     8        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     9        (WebCore::mimeTypeCache): Add audio/x-m4a mimetype in the cache.
     10
    1112011-02-03  Simon Fraser  <simon.fraser@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r76777 r77494  
    13851385                // These formats are supported by GStreamer, but not
    13861386                // correctly advertised.
    1387                 if (g_str_equal(name, "video/x-h264")
    1388                     || g_str_equal(name, "audio/x-m4a")) {
     1387                if (g_str_equal(name, "video/x-h264")) {
    13891388                    cache.add(String("video/mp4"));
     1389                    cached = true;
     1390                }
     1391
     1392                if (g_str_equal(name, "audio/x-m4a")) {
    13901393                    cache.add(String("audio/aac"));
    13911394                    cache.add(String("audio/mp4"));
     1395                    cache.add(String("audio/x-m4a"));
    13921396                    cached = true;
    13931397                }
     
    14671471                        if (g_str_equal(extensions[index], "m4v"))
    14681472                            cache.add(String("video/x-m4v"));
     1473
     1474                        // Workaround for
     1475                        // https://bugzilla.gnome.org/show_bug.cgi?id=640709.
     1476                        // typefindfunctions <= 0.10.32 doesn't
     1477                        // register the H264 typefinder correctly so
     1478                        // as a workaround we check the registered
     1479                        // file extensions for it.
     1480                        if (g_str_equal(extensions[index], "h264"))
     1481                            cache.add(String("video/mp4"));
    14691482                    }
    14701483                }
Note: See TracChangeset for help on using the changeset viewer.