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

Weird interference with ofVideoPlayer on Linux #51

Open
davidemania opened this issue Sep 16, 2019 · 4 comments
Open

Weird interference with ofVideoPlayer on Linux #51

davidemania opened this issue Sep 16, 2019 · 4 comments

Comments

@davidemania
Copy link

In an Ubuntu Linux OF application the creation of a new ofVideoPlayer (the standard one, GStreamer based) fails hanging forever in the

setPlayer(std::make_shared<OF_VID_PLAYER_TYPE>());

This happens if the ofxHapPlayer addon is enabled in addons.make, no matter if it is then used in the application or not. Weirdly enough if some other application using GStreamer (like totem or the ofVideoPlayer example) is run then everything is fine until the next reboot, subsequent runs of the (previously) failing app go on without issues.

There must be some interference between the addon code and the OF video insiders, any idea about what can this be? Or how to start debugging something like that?

Using OF 0.10.1, Ubuntu 19.04, master branch of ofxHapPlayer.

@davidemania
Copy link
Author

More strange things... the following snippet will result in a non functioning Hap video:

videoPlayer = new ofVideoPlayer();
videoPlayer->setPlayer(ofPtr<ofGstVideoPlayer>(new ofGstVideoPlayer));
hapVideoPlayer = new ofxHapPlayer();

but if I comment out the second line the Hap player works fine. There definitely is something weird under the hood.

@dimitre
Copy link

dimitre commented Jun 23, 2020

I'm having issues too.
if I place an ofxHapPlayer inside my class, it returns some error regarding normal ofVideoPlayer

Call to implicitly-deleted copy constructor of 'ofApp::vid'

I'm here in macOs 10.14.6, XCode 11.3.1, ofw from git (default patch-release)

@bangnoise
Copy link
Owner

@dimitre not sure if that's going to be related, but can you paste a few lines of code that demonstrate the problem (or link a full project if that's easier)?

@dimitre
Copy link

dimitre commented May 6, 2021

Hello @bangnoise just ignore my comment. I've just tested together with ofVideoPlayer and GStreamer and it is working well side by side (latest ofxHapPlayer). @davidemania are you still experiencing the issue?

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

No branches or pull requests

3 participants