[GStreamer][EME][Thunder] Initialize decryptor lazily
Created attachment 421311 [details] Patch
Comment on attachment 421311 [details] Patch ok! please fix coding style though
Comment on attachment 421311 [details] Patch (In reply to Philippe Normand from comment #2) > Comment on attachment 421311 [details] > Patch > > ok! please fix coding style though I can't, part is under an ifdef so if I fix that I have to add another coding style glitch.
Committed r273311: <https://commits.webkit.org/r273311> All reviewed patches have been landed. Closing bug and clearing flags on attachment 421311 [details].
<rdar://problem/74644647>
This introduced a new warning: [95/830] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/gstreamer/eme/CDMThunder.cpp.o ../../Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp:134:457: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] do{ if ((__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((GST_LEVEL_DEBUG) <= GST_LEVEL_COUNT && (GST_LEVEL_DEBUG) <= _gst_debug_min) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 0))) { gst_debug_log ((webkitMediaThunderDebugCategory), (GST_LEVEL_DEBUG), "../../Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp", ((const char*) (__FUNCTION__)), 134, (GObject *) (__null), "%u supported key systems", supportedKeySystems.size()); } }while (0); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ %zu 1 warning generated.
Fixed in r273481