Skip to content

Commit

Permalink
fixed bug with reversed logic of parent notification
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Dec 27, 2024
1 parent 4e4ae21 commit eabc8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ustreamer/stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ static void _stream_update_captured_fpsi(us_stream_s *stream, const us_frame_s *
us_fpsi_frame_to_meta(frame, &meta);
us_fpsi_update(run->http->captured_fpsi, bump, &meta);

if (stream->notify_parent && !memcmp(&run->notify_meta, &meta, sizeof(us_fpsi_meta_s))) {
if (stream->notify_parent && memcmp(&run->notify_meta, &meta, sizeof(us_fpsi_meta_s))) {
memcpy(&run->notify_meta, &meta, sizeof(us_fpsi_meta_s));
us_process_notify_parent();
}
Expand Down

0 comments on commit eabc8d8

Please sign in to comment.