Skip to content

Commit

Permalink
fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
niyatim23 committed Jul 2, 2024
1 parent 1ad6c5e commit 1debf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/kvssink_gstreamer_sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ static void put_metadata(GstElement* element) {
}

static void deliver_images(GstElement* element) {
if (!put_event_metadata(element, STREAM_EVENT_TYPE_NOTIFICATION | STREAM_EVENT_TYPE_IMAGE_GENERATION, pStreamEventMetadata)) {
if (!put_event_metadata(element, STREAM_EVENT_TYPE_NOTIFICATION | STREAM_EVENT_TYPE_IMAGE_GENERATION, NULL)) {
g_source_remove(data_global.deliver_images_timer_id);
data_global.deliver_images_timer_id = 0;
LOG_WARN("Failed to deliver image, removing timer");
Expand Down

0 comments on commit 1debf39

Please sign in to comment.