Changeset 153787 in webkit


Ignore:
Timestamp:
Aug 7, 2013 8:00:42 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Do no check seek offset against internal size on gstreamer source element
https://bugs.webkit.org/show_bug.cgi?id=116533

Patch by Andre Moreira Magalhaes <Andre Moreira Magalhaes> on 2013-08-07
Reviewed by Philippe Normand.

The internal size on gstreamer source element may be wrong in case the received size in
didReceiveResponse is not accurate. Lets just try to seek and let it fail if necessary.

  • platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:

(webKitWebSrcSeekDataCb):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r153785 r153787  
     12013-08-07  Andre Moreira Magalhaes   <andre.magalhaes@collabora.co.uk>
     2
     3        Do no check seek offset against internal size on gstreamer source element
     4        https://bugs.webkit.org/show_bug.cgi?id=116533
     5
     6        Reviewed by Philippe Normand.
     7
     8        The internal size on gstreamer source element may be wrong in case the received size in
     9        didReceiveResponse is not accurate. Lets just try to seek and let it fail if necessary.
     10
     11        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
     12        (webKitWebSrcSeekDataCb):
     13
    1142013-08-07  Antti Koivisto  <antti@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp

    r152778 r153787  
    748748    if (!priv->seekable)
    749749        return FALSE;
    750     if (offset > priv->size)
    751         return FALSE;
    752750
    753751    GST_DEBUG_OBJECT(src, "Doing range-request seek");
Note: See TracChangeset for help on using the changeset viewer.