Skip to content

Commit 4507fdc

Browse files
committed
Add notification to tx_st20p_convert_put_frame()
1 parent fd0a79b commit 4507fdc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/st2110/pipeline/st20_pipeline_tx.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ static int tx_st20p_convert_put_frame(void* priv, struct st20_convert_frame_meta
214214
framebuff->stat = ST20P_TX_FRAME_CONVERTED;
215215
}
216216

217+
if (ctx->ops.notify_frame_done && !framebuff->frame_done_cb_called) {
218+
ctx->ops.notify_frame_done(ctx->ops.priv, &framebuff->src);
219+
framebuff->frame_done_cb_called = true;
220+
}
221+
217222
return 0;
218223
}
219224

0 commit comments

Comments
 (0)