Currently, VP9 interframe resolution change feature is not supported.
In this case, modify it to cause "Can't play this video" pop up, not panic.
Change-Id: I57f084d63cb7717d95c07f66f85a41100ac29d00
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
return;
}
- if (need_dpb_change || need_scratch_change)
- mfc_debug(2, "[DRC] Interframe resolution change is not supported\n");
+ if (need_dpb_change || need_scratch_change) {
+ mfc_err_ctx("[DRC] Interframe resolution change is not supported\n");
+ mfc_change_state(ctx, MFCINST_ERROR);
+ return;
+ }
if (mfc_is_queue_count_same(&ctx->buf_queue_lock, &ctx->src_buf_queue, 0) &&
mfc_is_queue_count_same(&ctx->buf_queue_lock, &ctx->dst_buf_queue, 0)) {
goto leave_handle_frame;
}
if (need_dpb_change || need_scratch_change) {
- mfc_debug(2, "[NALQ][DRC] Interframe resolution change is not supported\n");
+ mfc_err_ctx("[NALQ][DRC] Interframe resolution change is not supported\n");
dev->nal_q_handle->nal_q_exception = 1;
mfc_info_ctx("[NALQ][DRC] nal_q_exception is set (interframe res change)\n");
+ mfc_change_state(ctx, MFCINST_ERROR);
goto leave_handle_frame;
}
if (is_interlaced) {