Changeset 232015 in webkit
- Timestamp:
- May 21, 2018 8:28:28 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r232014 r232015 1 2018-05-21 Alicia Boya García <aboya@igalia.com> 2 3 [MSE][GStreamer] Stream::decodebinSinkPad is read but never assigned 4 https://bugs.webkit.org/show_bug.cgi?id=185724 5 6 Reviewed by Xabier Rodriguez-Calvar. 7 8 This is a dead code removal patch; except when a Stream instance 9 happens to be instantiated in such a place that the non-initialized 10 decodeSinkPad is != 0, then it is a crash bug fix. 11 12 * platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp: 13 (webKitMediaSrcLinkStreamToSrcPad): 14 * platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamerPrivate.h: 15 1 16 2018-05-21 Alicia Boya García <aboya@igalia.com> 2 17 -
trunk/Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp
r231351 r232015 479 479 gst_pad_set_active(ghostpad, TRUE); 480 480 gst_element_add_pad(GST_ELEMENT(stream->parent), ghostpad); 481 482 if (stream->decodebinSinkPad) {483 GST_DEBUG_OBJECT(stream->parent, "A decodebin was previously used for this source, trying to reuse it.");484 // FIXME: error checking here. Not sure what to do if linking485 // fails though, because decodebin is out of this source486 // element's scope, in theory.487 gst_pad_link(ghostpad, stream->decodebinSinkPad);488 }489 481 } 490 482 -
trunk/Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamerPrivate.h
r222972 r232015 52 52 // AppSrc. Never modified after first assignment. 53 53 GstElement* appsrc; 54 GstPad* decodebinSinkPad;55 54 56 55 // Never modified after first assignment.
Note: See TracChangeset
for help on using the changeset viewer.