Skip to content

Commit

Permalink
apps/app.c : removed tiovx_modules_dequeue_buf during cleanup
Browse files Browse the repository at this point in the history
this func was dequeuing buffers from output block during cleanup which
is not needed

ADASVISION-6202

Signed-off-by: Shreyash Sinha <[email protected]>
  • Loading branch information
sinha-shreyash authored and ravi-rahul committed Nov 15, 2024
1 parent 4325ff7 commit cf91501
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/src/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -1139,8 +1139,6 @@ int32_t run_app(FlowInfo flow_infos[], uint32_t num_flows, CmdArgs *cmd_args)
tiovx_modules_release_buf(inbuf);
}
#endif
outbuf = tiovx_modules_dequeue_buf(out_buf_pool);
tiovx_modules_release_buf(outbuf);
}

#if defined(TARGET_OS_LINUX)
Expand All @@ -1152,6 +1150,10 @@ int32_t run_app(FlowInfo flow_infos[], uint32_t num_flows, CmdArgs *cmd_args)
v4l2_encode_stop(output_blocks[i].v4l2_obj.v4l2_encode_handle);
v4l2_encode_delete_handle(output_blocks[i].v4l2_obj.v4l2_encode_handle);
}
if (LINUX_DISPLAY == output_blocks[i].output_info->sink)
{
kms_display_delete_handle(output_blocks[i].kms_obj.kms_display_handle);
}
}
#endif

Expand Down

0 comments on commit cf91501

Please sign in to comment.