Skip to content

Commit

Permalink
Update gstkvssink.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanctech authored Dec 15, 2021
1 parent b15283d commit 0121f2d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/gstreamer/gstkvssink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1128,9 +1128,8 @@ gst_kvs_sink_handle_buffer (GstCollectPads * pads,
if(!delta && kvs_sink_track_data->track_type == MKV_TRACK_INFO_TYPE_VIDEO) {
if (data->first_video_frame) {
data->first_video_frame = false;
} else {
kinesis_video_flags = FRAME_FLAG_KEY_FRAME;
}
}
kinesis_video_flags = FRAME_FLAG_KEY_FRAME;
}
break;
}
Expand Down

0 comments on commit 0121f2d

Please sign in to comment.