Changeset 159810 in webkit
- Timestamp:
- Nov 27, 2013 2:47:56 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r159809 r159810 1 2013-11-27 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 3 [GStreamer] Invalid command line error when visiting www.chessbase.com 4 https://bugs.webkit.org/show_bug.cgi?id=124715 5 6 Reviewed by Philippe Normand. 7 8 Copied and adapted for HTTP from 9 media/video-error-does-not-exist.html. 10 11 * http/tests/media/video-error-does-not-exist-expected.txt: Added. 12 * http/tests/media/video-error-does-not-exist.html: Added. 13 1 14 2013-11-14 Sergio Villar Senin <svillar@igalia.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r159809 r159810 1 2013-11-27 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 3 [GStreamer] Invalid command line error when visiting www.chessbase.com 4 https://bugs.webkit.org/show_bug.cgi?id=124715 5 6 Reviewed by Philippe Normand. 7 8 We were not handling the HTTP errors in the WebKit GStreamer 9 source and therefore the 404 error page was being 'decoded'. As no 10 decoder could be found (for obvious reasons), playback failed, but 11 it should be failing for the source not being found instead of the 12 decoding problem. 13 14 Test: http/tests/media/video-error-does-not-exist.html 15 16 * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: 17 (StreamingClient::handleResponseReceived): Handle HTTP errors in 18 the source and raise a GStreamer error to the pipeline. 19 1 20 2013-11-14 Sergio Villar Senin <svillar@igalia.com> 2 21 -
trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
r159746 r159810 838 838 GST_DEBUG_OBJECT(src, "Received response: %d", response.httpStatusCode()); 839 839 840 if (response.httpStatusCode() >= 400) { 841 // Received error code 842 GST_ELEMENT_ERROR(src, RESOURCE, READ, ("Received %d HTTP error code", response.httpStatusCode()), (0)); 843 gst_app_src_end_of_stream(priv->appsrc); 844 webKitWebSrcStop(src); 845 return; 846 } 847 840 848 GMutexLocker locker(GST_OBJECT_GET_LOCK(src)); 841 849
Note: See TracChangeset
for help on using the changeset viewer.