Skip to content

Commit 2d3a08c

Browse files
Fix metadeta size
1 parent b4fcb98 commit 2d3a08c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ecosystem/gstreamer_plugin/gst_mtl_st40p_tx.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ static GstFlowReturn st40p_tx_parse_8331_meta(struct st40_frame* frame,
613613
frame->meta[anc_idx].sdid = meta.sdid;
614614
frame->meta[anc_idx].udw_size = meta.data_count;
615615
frame->meta[anc_idx].udw_offset = udw_offset;
616+
frame->meta_num = anc_idx + 1;
616617

617618
return GST_FLOW_OK;
618619
}
@@ -682,11 +683,6 @@ static GstFlowReturn st40p_tx_parse_8331_gstbuffer(Gst_Mtl_St40p_Tx* sink,
682683
return GST_FLOW_ERROR;
683684
}
684685

685-
if (st40p_tx_parse_8331_meta(frame_info->anc_frame, rfc8331_meta, i, payload_cursor, 0)) {
686-
GST_ERROR("Failed to fill RFC 8331 meta");
687-
return GST_FLOW_ERROR;
688-
}
689-
690686
if (st40p_tx_parse_8331_meta(frame_info->anc_frame, rfc8331_meta, i, payload_cursor, 0)) {
691687
GST_ERROR("Failed to fill RFC 8331 meta");
692688
return GST_FLOW_ERROR;

0 commit comments

Comments
 (0)