Skip to content

Commit

Permalink
Fix indentation and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
m-herrera committed Feb 2, 2022
1 parent 99e8e20 commit af2ffdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ext/tiovx/gsttiovxmosaic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@ gst_tiovx_mosaic_negotiated_src_caps (GstAggregator * agg, GstCaps * caps)
GST_AGGREGATOR_CLASS (gst_tiovx_mosaic_parent_class)->negotiated_src_caps
(agg, caps);
if (ret) {
// Keep a reference to the src caps videoinfo
/* Keep a reference to the src caps videoinfo */
gst_video_info_from_caps (&self->src_info, caps);
}

Expand All @@ -1471,7 +1471,7 @@ gst_tiovx_mosaic_set_output_timestamps (GstTIOVXMiso * agg,
self = GST_TIOVX_MOSAIC (agg);
GST_DEBUG_OBJECT (self, "Setting output timestamps");

/* The segment position most be updated after the aggregator finish buffer
/* The segment position must be updated after the aggregator finish buffer
* call, so the value is updated at the beginning, with the result from
* the previous call.
*/
Expand Down
4 changes: 2 additions & 2 deletions gst-libs/gst/tiovx/gsttiovxmiso.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ gst_tiovx_miso_aggregate (GstAggregator * agg, gboolean timeout)
tmp_dts = GST_BUFFER_DTS (in_buffer);
tmp_duration = GST_BUFFER_DURATION (in_buffer);

if (-1 == tmp_pts || -1 == tmp_duration) {
if (GST_CLOCK_TIME_NONE == tmp_pts || GST_CLOCK_TIME_NONE == tmp_duration) {
GST_DEBUG_OBJECT (self, "Processing buffer without timestamps");
if (!gst_tiovx_miso_buffer_to_valid_pad_exemplar (GST_TIOVX_MISO_PAD
(pad), in_buffer)) {
Expand Down Expand Up @@ -732,7 +732,7 @@ gst_tiovx_miso_aggregate (GstAggregator * agg, gboolean timeout)

gst_aggregator_finish_buffer (agg, outbuf);

/* Mark all processed buffers as read */
/* Mark all processed buffers as read */
for (l = processed_pads; l; l = g_list_next (l)) {
GstAggregatorPad *pad = l->data;
gst_aggregator_pad_drop_buffer (pad);
Expand Down

0 comments on commit af2ffdf

Please sign in to comment.