-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GStreamer][MediaStream][Westeros] Enable 'immediate-output' on streaming through westerossink #16479
Conversation
EWS run on previous version of this PR (hash dd98fc2)
|
@@ -2305,6 +2305,17 @@ void MediaPlayerPrivateGStreamer::configureElementPlatformQuirks(GstElement* ele | |||
#endif | |||
#endif | |||
|
|||
#if USE(WESTEROS_SINK) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove this ifdef?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would mean one more runtime string comparison for all the other platforms with quirks, but the impact of that would be negligible.
#if ENABLE(MEDIA_STREAM) | ||
if (m_streamPrivate && gstObjectHasProperty(element, "immediate-output")) { | ||
GST_DEBUG_OBJECT(pipeline(), "Enable 'immediate-output' in WesterosSink"); | ||
g_object_set(G_OBJECT(element), "immediate-output", TRUE, nullptr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for G_OBJECT
cast.
EWS run on current version of this PR (hash 3caec37)
|
…ming 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: WebPlatformForEmbedded/WPEWebKit#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
3caec37
to
4861f4a
Compare
Committed 266720@main (4861f4a): https://commits.webkit.org/266720@main Reviewed commits have been landed. Closing PR #16479 and removing active labels. |
4861f4a
3caec37