Changeset 127469 in webkit
- Timestamp:
- Sep 4, 2012 8:45:38 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r127468 r127469 1 2012-09-04 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] 0.11 build breaks due to rename of gst_message_new_duration 4 https://bugs.webkit.org/show_bug.cgi?id=95751 5 6 Reviewed by Martin Robinson. 7 8 In gstreamer commit f712a9596c2bc1863edf9b816d9854eefca9ba45 9 gst_message_new_duration was renamed to 10 gst_message_new_duration_changed. 11 12 However the only place where we used this is in the HTTP source 13 element and only if appsrc < 0.10.27 is used at runtime. In the 14 case of GStreamer 1.0 this condition will be always false so we 15 can disable this code at build time. 16 17 * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: 18 (StreamingClient::didReceiveResponse): 19 1 20 2012-09-04 Andrei Poenaru <poenaru@adobe.com> 2 21 -
trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
r125043 r127469 783 783 length += priv->requestedOffset; 784 784 gst_app_src_set_size(priv->appsrc, length); 785 786 #ifndef GST_API_VERSION_1 785 787 if (!priv->haveAppSrc27) { 786 #ifdef GST_API_VERSION_1787 GstSegment* segment = &GST_BASE_SRC(priv->appsrc)->segment;788 segment->duration = length;789 segment->format = GST_FORMAT_BYTES;790 #else791 788 gst_segment_set_duration(&GST_BASE_SRC(priv->appsrc)->segment, GST_FORMAT_BYTES, length); 792 #endif793 789 gst_element_post_message(GST_ELEMENT(priv->appsrc), 794 790 gst_message_new_duration(GST_OBJECT(priv->appsrc), 795 791 GST_FORMAT_BYTES, length)); 796 792 } 793 #endif 797 794 } 798 795
Note: See TracChangeset
for help on using the changeset viewer.