haikuwebkit/Source/WTF/wtf/glib
Xabier Rodriguez-Calvar 28c9945267 [GStreamer][EME] Try to parse XML init datas that could possibly come from MPD manifests
https://bugs.webkit.org/show_bug.cgi?id=229145

Reviewed by Alicia Boya Garcia.

Source/WebCore:

Added GStreamerEMEUtilities to include implementation of
InitData::extractCencIfNeeded. This tries to parse the possible
XML inside an init data that could come from MPD manifests. If it
succeeds, it keeps the parsed init data, if not, it returns the
original one.

Based on a patch by Philippe Normand.

* platform/GStreamer.cmake:
* platform/graphics/gstreamer/eme/GStreamerEMEUtilities.cpp: Added.
(WebCore::markupStartElement):
(WebCore::markupEndElement):
(WebCore::markupText):
(WebCore::markupPassthrough):
(WebCore::markupError):
(WebCore::InitData::extractCencIfNeeded):
* platform/graphics/gstreamer/eme/GStreamerEMEUtilities.h:
(WebCore::InitData::InitData):

Source/WTF:

* wtf/glib/GUniquePtr.h: Added deleter for GMarkupParseContext.


Canonical link: https://commits.webkit.org/240628@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-18 08:26:33 +00:00
..
ChassisType.cpp Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
ChassisType.h
FileSystemGlib.cpp [PlayStation] Don't assume 4KB block size when estimating Network Cache disk usage 2021-07-07 19:54:06 +00:00
GLibUtilities.cpp
GLibUtilities.h
GMutexLocker.h
GRefPtr.cpp
GRefPtr.h
GSocketMonitor.cpp
GSocketMonitor.h
GTypedefs.h
GUniquePtr.h [GStreamer][EME] Try to parse XML init datas that could possibly come from MPD manifests 2021-08-18 08:26:33 +00:00
RunLoopGLib.cpp
RunLoopSourcePriority.h
SocketConnection.cpp Use Checked aliases instead of Checked<T, RecordOverflow> 2021-06-02 15:42:27 +00:00
SocketConnection.h Use `const uint8_t*` type more consistently to store bytes in WebKit 2021-06-06 05:25:41 +00:00
URLGLib.cpp
WTFGType.h