Skip to content

Commit eabc8d8

Browse files
committed
fixed bug with reversed logic of parent notification
1 parent 4e4ae21 commit eabc8d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ustreamer/stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ static void _stream_update_captured_fpsi(us_stream_s *stream, const us_frame_s *
601601
us_fpsi_frame_to_meta(frame, &meta);
602602
us_fpsi_update(run->http->captured_fpsi, bump, &meta);
603603

604-
if (stream->notify_parent && !memcmp(&run->notify_meta, &meta, sizeof(us_fpsi_meta_s))) {
604+
if (stream->notify_parent && memcmp(&run->notify_meta, &meta, sizeof(us_fpsi_meta_s))) {
605605
memcpy(&run->notify_meta, &meta, sizeof(us_fpsi_meta_s));
606606
us_process_notify_parent();
607607
}

0 commit comments

Comments
 (0)