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

gst: add stream property and notify on new property values #925

Closed
wants to merge 1 commit into from

Conversation

kohtala
Copy link
Contributor

@kohtala kohtala commented Aug 27, 2024

I need the statistics that are available on the stream object in a gstreamer pipeline. The stream was not accessible from the element.

To access the stream, I add a stream property. Since this property receives value at set_caps when the pipeline is prepared, I need to be notified of the new stream. For that I need to be able to connect to notify::stream signal.

I add the signal emission for both camera and stream properties as they both seem to change value by themselves.

@EmmanuelP EmmanuelP changed the base branch from main to aravis-0-8 September 2, 2024 09:05
@EmmanuelP EmmanuelP changed the base branch from aravis-0-8 to main September 2, 2024 09:05
@EmmanuelP
Copy link
Contributor

Hi,

I have created and applied to aravis-0-8 another pull request splitting your changes here: #928

The changes related to camera property notify signal is not included, as the logic for the detection of a camera change seems strange. You are comparing 2 pointers with one of them is freed. There is nothing preventing the new allocated camera object is not at the same place as the one freed.

Please create a new pull request with only the notify:camera signal code, targeting aravis-0-8.

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

Successfully merging this pull request may close these issues.

2 participants