PD#152765: di: no put decoder buffer after unreg
Change-Id: Ifb68b53ab35ac94905b59b0400213814a5ee6ec9
Signed-off-by: kele bai <kele.bai@amlogic.com>
frame_count = 0;
disp_frame_count = 0;
cur_post_ready_di_buf = NULL;
- for (i = 0; i < MAX_IN_BUF_NUM; i++) {
- if (vframe_in[i]) {
- vf_put(vframe_in[i], VFM_NAME);
- vf_notify_provider(
- VFM_NAME, VFRAME_EVENT_RECEIVER_PUT, NULL);
- vframe_in[i] = NULL;
- }
- }
+ /* decoder'buffer had been releae no need put */
+ for (i = 0; i < MAX_IN_BUF_NUM; i++)
+ vframe_in[i] = NULL;
memset(&di_pre_stru, 0, sizeof(di_pre_stru));
if (nr10bit_support) {
if (full_422_pack)