Skip to content

Commit

Permalink
set generate-images to true
Browse files Browse the repository at this point in the history
  • Loading branch information
niyatim23 committed May 16, 2024
1 parent 7657746 commit 4d5fb80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/kvssink_gstreamer_sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ int gstreamer_rtsp_source_init(int argc, char *argv[], CustomData *data, GstElem
gst_caps_unref(h264_caps);

// configure kvssink
g_object_set(G_OBJECT(kvssink), "stream-name", data->stream_name, "storage-size", 128, NULL);
g_object_set(G_OBJECT(kvssink), "stream-name", data->stream_name, "storage-size", 128, "generate-images", TRUE, NULL);
determine_credentials(kvssink, data);

// configure rtspsrc
Expand Down Expand Up @@ -733,7 +733,7 @@ int gstreamer_file_source_init(CustomData *data, GstElement *pipeline) {
gst_caps_unref(h264_caps);

// configure kvssink
g_object_set(G_OBJECT(kvssink), "stream-name", data->stream_name, "streaming-type", STREAMING_TYPE_OFFLINE, "storage-size", 128, NULL);
g_object_set(G_OBJECT(kvssink), "stream-name", data->stream_name, "streaming-type", STREAMING_TYPE_OFFLINE, "storage-size", 128, "generate-images", TRUE, NULL);
determine_credentials(kvssink, data);

// configure filesrc
Expand Down

0 comments on commit 4d5fb80

Please sign in to comment.