Skip to content

Add support for generic probes on Pad. #226

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

Merged
merged 2 commits into from
Nov 2, 2020

Conversation

neilcsmith-net
Copy link
Member

Add support for generic probes on Pad, better matching upstream API. Fixes #189

@neilcsmith-net
Copy link
Member Author

Need to check / add in support for probe removal return value - must release Pad.PROBE implementation to allow it to be GC'd. Add tests for this too. Storing probes and IDs in a Map<PROBE, NativeLong> inside Pad might be a better idea than current behaviour.

@neilcsmith-net neilcsmith-net merged commit 4f5c9e7 into gstreamer-java:master Nov 2, 2020
@neilcsmith-net
Copy link
Member Author

@lafoletc I agree needs a Query test. However, porting allocation query test didn't seem to work correctly. I also need to look at fixing up ProbeTester, but only thing I seemed to get was a Caps query with that pipeline when running a query probe IIRC. Feel free to take a look if you want.

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

Successfully merging this pull request may close these issues.

Add generic probe support to Pad
3 participants