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

Changeset 176561 in webkit


Ignore:
Timestamp:
Nov 28, 2014, 3:05:11 AM (12 years ago)
Author:
Philippe Normand
Message:

[GStreamer] HTTP source element lacks SCHEDULING query support
https://bugs.webkit.org/show_bug.cgi?id=139064

Reviewed by Carlos Garcia Campos.

No new tests, covered by http/tests/media/hls.

  • platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:

(webKitWebSrcQueryWithParent): Make the element handle SCHEDULING
queries with the BANDWIDTH_LIMITED flag. This helps uridecodebin
to configure itself for adaptive streaming playback scenarios.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r176555 r176561  
     12014-11-26  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GStreamer] HTTP source element lacks SCHEDULING query support
     4        https://bugs.webkit.org/show_bug.cgi?id=139064
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        No new tests, covered by http/tests/media/hls.
     9
     10        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
     11        (webKitWebSrcQueryWithParent): Make the element handle SCHEDULING
     12        queries with the BANDWIDTH_LIMITED flag. This helps uridecodebin
     13        to configure itself for adaptive streaming playback scenarios.
     14
    1152014-11-27  Ryuan Choi  <ryuan.choi@navercorp.com>
    216
  • trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp

    r176395 r176561  
    585585        break;
    586586    }
     587    case GST_QUERY_SCHEDULING: {
     588        GstSchedulingFlags flags;
     589        int minSize, maxSize, align;
     590
     591        gst_query_parse_scheduling(query, &flags, &minSize, &maxSize, &align);
     592        gst_query_set_scheduling(query, static_cast<GstSchedulingFlags>(flags | GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED), minSize, maxSize, align);
     593        result = TRUE;
     594        break;
     595    }
    587596    default: {
    588597        GRefPtr<GstPad> target = adoptGRef(gst_ghost_pad_get_target(GST_GHOST_PAD_CAST(pad)));
Note: See TracChangeset for help on using the changeset viewer.