[EME][GStreamer] Move createDescryptor function to GStreamerEMEUtilities
authorcalvaris@igalia.com <calvaris@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Aug 2017 07:50:30 +0000 (07:50 +0000)
committercalvaris@igalia.com <calvaris@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Aug 2017 07:50:30 +0000 (07:50 +0000)
commit6846e45181d675f05d817a77a1f6283916910253
treef7cfe1921ac6f74d3c83b31bde1f747779af9e88
parentf27e9a5eff222cf89a13aab992f6f6da408abc0f
[EME][GStreamer] Move createDescryptor function to GStreamerEMEUtilities
https://bugs.webkit.org/show_bug.cgi?id=175930

Reviewed by Žan Doberšek.

* platform/graphics/gstreamer/GStreamerUtilities.cpp:
(WebCore::createGstDecryptor): Deleted.
* platform/graphics/gstreamer/GStreamerUtilities.h:
* platform/graphics/gstreamer/eme/GStreamerEMEUtilities.cpp:
(WebCore::GStreamerEMEUtilities::createDecryptor): Created.
* platform/graphics/gstreamer/eme/GStreamerEMEUtilities.h:
* platform/graphics/gstreamer/mse/AppendPipeline.cpp:
(WebCore::AppendPipeline::parseDemuxerSrcPadCaps): Use
GStreamerEMEUtilities::createDecryptor instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.cpp
Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.h
Source/WebCore/platform/graphics/gstreamer/eme/GStreamerEMEUtilities.cpp
Source/WebCore/platform/graphics/gstreamer/eme/GStreamerEMEUtilities.h
Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp