RESOLVED FIXED 217974
[GStreamer] Create video sink only for video player
https://bugs.webkit.org/show_bug.cgi?id=217974
Summary [GStreamer] Create video sink only for video player
Philippe Normand
Reported 2020-10-20 10:53:36 PDT
.
Attachments
Patch (3.63 KB, patch)
2020-10-20 10:58 PDT, Philippe Normand
calvaris: review+
Philippe Normand
Comment 1 2020-10-20 10:58:07 PDT
Víctor M. Jáquez L.
Comment 2 2020-10-21 02:36:23 PDT
unofficial lgtm :)
Xabier Rodríguez Calvar
Comment 3 2020-10-21 02:48:06 PDT
Comment on attachment 411888 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411888&action=review > Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:320 > - gst_element_register(0, "webkitglvideosink", GST_RANK_PRIMARY, WEBKIT_TYPE_GL_VIDEO_SINK); > + gst_element_register(0, "webkitglvideosink", GST_RANK_NONE, WEBKIT_TYPE_GL_VIDEO_SINK); Why do you need this? > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:2732 > + GST_INFO("Creating pipeline for %s player", m_player->isVideoPlayer() ? "video":"audio"); Nit: spaces around :
Philippe Normand
Comment 4 2020-10-21 03:11:29 PDT
Comment on attachment 411888 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411888&action=review >> Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:320 >> + gst_element_register(0, "webkitglvideosink", GST_RANK_NONE, WEBKIT_TYPE_GL_VIDEO_SINK); > > Why do you need this? Because if we don't give a video-sink to playbin it will create an autovideosink, which, without this change, would create a webkitglvideosink.
Philippe Normand
Comment 5 2020-10-21 03:51:08 PDT
Radar WebKit Bug Importer
Comment 6 2020-10-21 03:52:21 PDT
Note You need to log in before you can comment on or make changes to this bug.