WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
202307
[GStreamer] Incoherent usage of environment variables USE_PLAYBIN3 and WEBKIT_GST_USE_PLAYBIN3
https://bugs.webkit.org/show_bug.cgi?id=202307
Summary
[GStreamer] Incoherent usage of environment variables USE_PLAYBIN3 and WEBKIT...
Adrian Perez
Reported
2019-09-27 06:15:24 PDT
Both environment variables are used, I believe there should be only one of them: % rg 'getenv\(".*PLAYBIN' Source Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp 230: if (g_getenv("USE_PLAYBIN3")) Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp 2390: if ((isMediaSource() || url.protocolIs("mediastream") || g_getenv("WEBKIT_GST_USE_PLAYBIN3"))) % (The “rg” tool is similar to “grep”.)
Attachments
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2019-09-27 06:19:44 PDT
(In reply to Adrian Perez from
comment #0
)
> Both environment variables are used, I believe there should be only > one of them: > > % rg 'getenv\(".*PLAYBIN' Source > Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp > 230: if (g_getenv("USE_PLAYBIN3"))
This is a variable honored by *GStreamer*, here used to warn that playback issues may arise from setting it, because makes GStreamer use “playbin3” whenever client code tries to instantiate “playbin”.
> Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp > 2390: if ((isMediaSource() || url.protocolIs("mediastream") || > g_getenv("WEBKIT_GST_USE_PLAYBIN3"))) > %
And here this one is used to explicitly choose the “playbin3” element (instead of “playbin”). I guess this is not really a bug in the end, closing (and sorry about the noise.)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug