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

Invalid readme build commands after latest PR #32

Closed
reinismu opened this issue Sep 17, 2021 · 2 comments · Fixed by #34
Closed

Invalid readme build commands after latest PR #32

reinismu opened this issue Sep 17, 2021 · 2 comments · Fixed by #34

Comments

@reinismu
Copy link
Contributor

After #31 developers following readme won't be able to run examples

Setting pipeline to PAUSED ...
[0917/180736.657175:ERROR:context.cc(108)] The browser_subprocess_path directory (Release/gstcefsubprocess) is not an absolute path. Defaulting to empty.
[0917/180736.657298:ERROR:context.cc(108)] The locales_dir_path directory (Release/locales) is not an absolute path. Defaulting to empty.
Error initializing: Unknown option --type=zygote
Error initializing: Unknown option --type=zygote
Error initializing: Unknown option --type=utility
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[0917/180736.694625:FATAL:gpu_data_manager_impl_private.cc(407)] GPU process isn't usable. Goodbye.
Error initializing: Unknown option --type=utility
[1]    299009 trace trap (core dumped)  GST_PLUGIN_PATH=Release:$GST_PLUGIN_PATH gst-launch-1.0 cefsrc  ! video/x-raw
@MathieuDuponchelle
Copy link
Collaborator

Hrm, I did test with export GST_PLUGIN_PATH=$PWD/Release:$GST_PLUGIN_PATH 🤦 . I think we can make a better fix though: when the path returned by g_plugin_get_filename is not an absolute one, we can prepend the current working directory to get to the correct location, that is in effect what the gstreamer registry does by using g_dir_open on the path. Can you come up with that patch instead? :)

@reinismu
Copy link
Contributor Author

Ye should do the fix as you said. I will try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants