Title: [293014] trunk/Source/WebCore
- Revision
- 293014
- Author
- [email protected]
- Date
- 2022-04-19 04:42:49 -0700 (Tue, 19 Apr 2022)
Log Message
[GStreamer][WebRTC] Minor cleanup in IncomingSourceGStreamer
https://bugs.webkit.org/show_bug.cgi?id=239417
Patch by Philippe Normand <[email protected]> on 2022-04-19
Reviewed by Xabier Rodriguez-Calvar.
* platform/mediastream/gstreamer/RealtimeIncomingSourceGStreamer.cpp: Remove un-needed include.
(WebCore::RealtimeIncomingSourceGStreamer::registerClient): Minor optimization, create
string only for GStreamer builds enabling debug support.
Canonical link: https://commits.webkit.org/249753@main
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (293013 => 293014)
--- trunk/Source/WebCore/ChangeLog 2022-04-19 10:56:29 UTC (rev 293013)
+++ trunk/Source/WebCore/ChangeLog 2022-04-19 11:42:49 UTC (rev 293014)
@@ -1,3 +1,14 @@
+2022-04-16 Philippe Normand <[email protected]>
+
+ [GStreamer][WebRTC] Minor cleanup in IncomingSourceGStreamer
+ https://bugs.webkit.org/show_bug.cgi?id=239417
+
+ Reviewed by Xabier Rodriguez-Calvar.
+
+ * platform/mediastream/gstreamer/RealtimeIncomingSourceGStreamer.cpp: Remove un-needed include.
+ (WebCore::RealtimeIncomingSourceGStreamer::registerClient): Minor optimization, create
+ string only for GStreamer builds enabling debug support.
+
2022-04-19 Philippe Normand <[email protected]>
[GStreamer] Runtime warning when the player configures the avdec AV1 decoder
Modified: trunk/Source/WebCore/platform/mediastream/gstreamer/RealtimeIncomingSourceGStreamer.cpp (293013 => 293014)
--- trunk/Source/WebCore/platform/mediastream/gstreamer/RealtimeIncomingSourceGStreamer.cpp 2022-04-19 10:56:29 UTC (rev 293013)
+++ trunk/Source/WebCore/platform/mediastream/gstreamer/RealtimeIncomingSourceGStreamer.cpp 2022-04-19 11:42:49 UTC (rev 293014)
@@ -22,7 +22,6 @@
#if USE(GSTREAMER_WEBRTC)
#include "RealtimeIncomingSourceGStreamer.h"
-#include "MediaSampleGStreamer.h"
#include <gst/app/gstappsink.h>
#include <wtf/text/WTFString.h>
@@ -85,8 +84,10 @@
gst_element_sync_state_with_parent(queue);
gst_element_sync_state_with_parent(sink);
+#ifndef GST_DISABLE_GST_DEBUG
auto dotFileName = makeString(GST_OBJECT_NAME(m_bin.get()), ".incoming");
GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(GST_BIN_CAST(m_bin.get()), GST_DEBUG_GRAPH_SHOW_ALL, dotFileName.utf8().data());
+#endif
}
} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes