Skip to content
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

Missing dependency: playbin #24209

Open
asajeffrey opened this issue Sep 13, 2019 · 2 comments
Open

Missing dependency: playbin #24209

asajeffrey opened this issue Sep 13, 2019 · 2 comments

Comments

@asajeffrey
Copy link
Member

@asajeffrey asajeffrey commented Sep 13, 2019

Running on linux, wtih gstreamer in support/linux:

$ ./mach run -d http://servo.org/ml-home
Could not stop player Backend("Missing dependency: playbin")

running with GST_DEBUG=6:

0:00:00.001264942 11361 0x563726235a00 DEBUG           GST_REGISTRY gstregistry.c:1631:scan_and_update_registry: scanning home plugins /home/ajeffrey/.local/share/gstreamer-1.0/plugins
0:00:00.001271036 11361 0x563726235a00 DEBUG           GST_REGISTRY gstregistry.c:1363:gst_registry_scan_path_internal:<registry0> scanning path /home/ajeffrey/.local/share/gstreamer-1.0/plugins
0:00:00.001317416 11361 0x563726235a00 DEBUG           GST_REGISTRY gstregistry.c:1367:gst_registry_scan_path_internal:<registry0> registry changed in path /home/ajeffrey/.local/share/gstreamer-1.0/plugins: 0
0:00:00.001323362 11361 0x563726235a00 DEBUG           GST_REGISTRY gstregistry.c:1659:scan_and_update_registry: scanning main plugins /opt/gst/lib/gstreamer-1.0
0:00:00.001328607 11361 0x563726235a00 DEBUG           GST_REGISTRY gstregistry.c:1363:gst_registry_scan_path_internal:<registry0> scanning path /opt/gst/lib/gstreamer-1.0
0:00:00.001337509 11361 0x563726235a00 DEBUG           GST_REGISTRY gstregistry.c:1367:gst_registry_scan_path_internal:<registry0> registry changed in path /opt/gst/lib/gstreamer-1.0: 0
0:00:00.001342456 11361 0x563726235a00 DEBUG           GST_REGISTRY gstregistry.c:1526:gst_registry_remove_cache_plugins:<registry0> removing cached plugins
0:00:00.001347073 11361 0x563726235a00 INFO            GST_REGISTRY gstregistry.c:1681:scan_and_update_registry: Registry cache has not changed

it's not scanning the right directories.

Setting GST_PLUGIN_SYSTEM_PATH=./support/linux/gstreamer/gst/lib/gstreamer-1.0/. Fixes it.

@asajeffrey
Copy link
Member Author

@asajeffrey asajeffrey commented Sep 13, 2019

@asajeffrey
Copy link
Member Author

@asajeffrey asajeffrey commented Sep 13, 2019

Looks like the problem is that mach isn't setting env vars if it finds a recent enough gstreamer, even if that gstreamer is the one in support/linux.

@ferjm ferjm added this to To do in Media playback Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Media playback
  
To do
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.