Skip to content

Commit ea7e35e

Browse files
committed
Remove no longer used streamingStopped member
1 parent 057bc44 commit ea7e35e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/gstreamer/gstkvssink.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,6 @@ gst_kvs_sink_change_state(GstElement *element, GstStateChange transition) {
17091709
switch (transition) {
17101710
case GST_STATE_CHANGE_PAUSED_TO_READY:
17111711
data->kinesis_video_stream->stopSync();
1712-
data->streamingStopped.store(true);
17131712
LOG_INFO("Stopped kvssink for " << kvssink->stream_name);
17141713
break;
17151714
case GST_STATE_CHANGE_READY_TO_NULL:

src/gstreamer/gstkvssink.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ struct _KvsSinkCustomData {
171171
on_first_frame(true),
172172
frame_count(0),
173173
first_pts(GST_CLOCK_TIME_NONE),
174-
producer_start_time(GST_CLOCK_TIME_NONE),
175-
streamingStopped(false) {}
174+
producer_start_time(GST_CLOCK_TIME_NONE) {}
176175
std::unique_ptr<KinesisVideoProducer> kinesis_video_producer;
177176
std::shared_ptr<KinesisVideoStream> kinesis_video_stream;
178177

@@ -184,7 +183,6 @@ struct _KvsSinkCustomData {
184183
bool get_metrics;
185184
uint32_t frame_count;
186185
bool on_first_frame;
187-
std::atomic<bool> streamingStopped;
188186
uint64_t frame_pts;
189187

190188
std::atomic_uint stream_status;

0 commit comments

Comments
 (0)