Title: [235544] trunk/Source/WebCore
Revision
235544
Author
[email protected]
Date
2018-08-31 03:47:22 -0700 (Fri, 31 Aug 2018)

Log Message

Unreviewed, fix compilation warning in EME GStreamer backend.

Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:1293:19:
warning: format ‘%lu’ expects argument of type ‘long unsigned
int’, but argument 9 has type ‘unsigned int’ [-Wformat=]

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
(WebCore::MediaPlayerPrivateGStreamerBase::initializationDataEncountered):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (235543 => 235544)


--- trunk/Source/WebCore/ChangeLog	2018-08-31 10:22:57 UTC (rev 235543)
+++ trunk/Source/WebCore/ChangeLog	2018-08-31 10:47:22 UTC (rev 235544)
@@ -1,3 +1,14 @@
+2018-08-31  Philippe Normand  <[email protected]>
+
+        Unreviewed, fix compilation warning in EME GStreamer backend.
+
+        Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:1293:19:
+        warning: format ‘%lu’ expects argument of type ‘long unsigned
+        int’, but argument 9 has type ‘unsigned int’ [-Wformat=]
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+        (WebCore::MediaPlayerPrivateGStreamerBase::initializationDataEncountered):
+
 2018-08-31  Philippe Normand  <[email protected]>
 
         [GStreamer][GL] useless ifdef in pushTextureToCompositor

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp (235543 => 235544)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp	2018-08-31 10:22:57 UTC (rev 235543)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp	2018-08-31 10:47:22 UTC (rev 235544)
@@ -1287,7 +1287,7 @@
         if (!weakThis)
             return;
 
-        GST_DEBUG("scheduling initializationDataEncountered event for %s with init data size of %" G_GSIZE_FORMAT, eventKeySystemUUID.utf8().data(), initData.sizeInBytes());
+        GST_DEBUG("scheduling initializationDataEncountered event for %s with init data size of %u", eventKeySystemUUID.utf8().data(), initData.sizeInBytes());
         GST_MEMDUMP("init datas", reinterpret_cast<const uint8_t*>(initData.characters8()), initData.sizeInBytes());
         weakThis->m_player->initializationDataEncountered("cenc"_s, ArrayBuffer::create(reinterpret_cast<const uint8_t*>(initData.characters8()), initData.sizeInBytes()));
     });
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to