Skip to content

Commit a4751cc

Browse files
committed
[GStreamer][MediaStream][Westeros] Enable 'immediate-output' on streaming through westerossink
https://bugs.webkit.org/show_bug.cgi?id=259930 Reviewed by Philippe Normand. https://bugs.webkit.org/show_bug.cgi?id=259357 removed the configuration of the "immediate-output" property for westeros sink, but it's still needed for mediastream content. Original author: Vivek.A <Vivek_Arumugam@comcast.com> See: #1136 * Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::configureElementPlatformQuirks): Configure the immediate-output property for westerossink. Canonical link: https://commits.webkit.org/266720@main
1 parent 96d9000 commit a4751cc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2303,6 +2303,13 @@ void MediaPlayerPrivateGStreamer::configureElementPlatformQuirks(GstElement* ele
23032303
#endif
23042304
#endif
23052305

2306+
#if ENABLE(MEDIA_STREAM)
2307+
if (m_streamPrivate && !g_strcmp0(G_OBJECT_TYPE_NAME(G_OBJECT(element)), "GstWesterosSink") && gstObjectHasProperty(element, "immediate-output")) {
2308+
GST_DEBUG_OBJECT(pipeline(), "Enable 'immediate-output' in WesterosSink");
2309+
g_object_set(element, "immediate-output", TRUE, nullptr);
2310+
}
2311+
#endif
2312+
23062313
#if ENABLE(MEDIA_STREAM) && PLATFORM(REALTEK)
23072314
if (m_streamPrivate) {
23082315
if (gstObjectHasProperty(element, "media-tunnel")) {

0 commit comments

Comments
 (0)