Skip to content

Commit 3705415

Browse files
committed
Fix CI args and logging
1 parent a0d93ed commit 3705415

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/samples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: kvssink_gstreamer_sample
6060
args: sample.mp4
6161
- name: kvssink_intermittent_sample # There is no file source option for this sample (will use gst videotestsrc).
62-
args: DEFAULT_STREAM testsrc 120 # <stream_name> <gst-videotestsrc> <sample_duration_seconds>
62+
args: testsrc 120 # <stream_name> <gst-videotestsrc> <sample_duration_seconds>
6363
runner:
6464
- id: macos-13
6565
image: macos-13
@@ -436,7 +436,7 @@ jobs:
436436
- name: kvssink_gstreamer_sample
437437
args: sample.mp4
438438
- name: kvssink_intermittent_sample # There is no file source option for this sample (will use gst videotestsrc).
439-
args: DEFAULT_STREAM testsrc 120 # <stream_name> <gst-videotestsrc> <sample_duration_seconds>
439+
args: testsrc 120 # <stream_name> <gst-videotestsrc> <sample_duration_seconds>
440440
image:
441441
- Ubuntu-22.04
442442
- Ubuntu-24.04

samples/kvssink_intermittent_sample.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <atomic>
66
#include <csignal>
77
#include <cstdlib>
8+
#include <Logger.h>
89

910
#include <gst/gst.h>
1011
#include <glib.h>
@@ -196,6 +197,8 @@ void stopStartLoop(GstElement *pipeline, GstElement *source) {
196197
int main(int argc, char *argv[]) {
197198
signal(SIGINT, sigint_handler);
198199

200+
PropertyConfigurator::doConfigure("../kvs_log_configuration");
201+
199202
CustomData customData;
200203
GstElement *pipeline, *source, *clock_overlay, *video_convert, *source_filter, *encoder, *sink_filter, *kvssink;
201204
GstCaps *source_caps, *sink_caps;

0 commit comments

Comments
 (0)