[GStreamer][MSE] imported/w3c/web-platform-tests/media-source/mediasource-is-type...
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jul 2018 12:53:29 +0000 (12:53 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jul 2018 12:53:29 +0000 (12:53 +0000)
commit1d42fef4d68a3a64e44101ab582b0b29ab30b096
tree3435898417f649df19db73b2c97b53a4c07ac979
parent4a7e50d14b117e12a45b9588acbf0ce961490a00
[GStreamer][MSE] imported/w3c/web-platform-tests/media-source/mediasource-is-type-supported.html crashes
https://bugs.webkit.org/show_bug.cgi?id=187469

Reviewed by Žan Doberšek.

* platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp:
(webKitMediaSrcFreeStream): Fix critical warning. The appsrc
element is created only when a valid sourcebuffer is in use.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp