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

No buffer timestamp with arv_stream_timeout_pop_buffer() ? #887

Open
horchler opened this issue Mar 19, 2024 · 0 comments
Open

No buffer timestamp with arv_stream_timeout_pop_buffer() ? #887

horchler opened this issue Mar 19, 2024 · 0 comments

Comments

@horchler
Copy link

horchler commented Mar 19, 2024

Describe the bug
When using arv_stream_pop_buffer a subsequent call to arv_buffer_get_timestamp returns a valid timestamp. But when using arv_stream_timeout_pop_buffer a subsequent call to arv_buffer_get_timestamp returns 0. Is this expected behavior or is it somehow device-specific?

To Reproduce

...
buffer = arv_stream_pop_buffer (stream);
if (ARV_IS_BUFFER (buffer)) {
   if (arv_buffer_get_status (buffer) == ARV_BUFFER_STATUS_SUCCESS) {
      time_stamp = arv_buffer_get_timestamp (buffer); // returns valid timestamp
      ...
   }
}
...

vs.

...
buffer = arv_stream_timeout_pop_buffer (stream, timeout);
if (ARV_IS_BUFFER (buffer)) {
   if (arv_buffer_get_status (buffer) == ARV_BUFFER_STATUS_SUCCESS) {
      time_stamp = arv_buffer_get_timestamp (buffer); // returns 0
      ...
   }
}
...

Expected behavior
I expected a valid timestamp to be returned. Workaround is to use arv_buffer_get_system_timestamp if needed but would prefer to the buffer timestamp.

Camera description:

  • Manufacturer: Lucid Vision Labs
  • Model: Atlas10 ATX470S/M
  • Interface: GigE

Platform description:

  • Aravis version: 0.8.29
  • OS: macOS 14.3.1
  • Hardware: MacBook Pro M1

Additional context
N/A

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

1 participant