author | Yixin Peng <yixin.peng@amlogic.com> | 2019-11-28 14:33:34 (GMT) |
---|---|---|
committer | Zhi Zhou <zhi.zhou@amlogic.com> | 2019-11-30 10:03:44 (GMT) |
commit | 61d4831c1ec4fede0bb2ae81763e16ec75abfc22 (patch) | |
tree | fa829e2db935fcb5c2b969c2a36bca68d18691c0 | |
parent | 6cfc5cce37bcc8189a566285e01b32cfb3eaca37 (diff) | |
download | media_modules-61d4831c1ec4fede0bb2ae81763e16ec75abfc22.zip media_modules-61d4831c1ec4fede0bb2ae81763e16ec75abfc22.tar.gz media_modules-61d4831c1ec4fede0bb2ae81763e16ec75abfc22.tar.bz2 |
media_module: h264 playback stuck [1/1]
PD#SWPL-17322
Problem:
resolution changes cause stuck.
Solution:
The DPB size is updated every time
to solve this problem.
Verify:
U212
Change-Id: I232961c836ee5a071de506d45cbde958c9ff3305
Signed-off-by: Yixin Peng <yixin.peng@amlogic.com>
-rw-r--r-- | drivers/amvdec_ports/aml_vcodec_dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/amvdec_ports/aml_vcodec_dec.c b/drivers/amvdec_ports/aml_vcodec_dec.c index 4f256b5..e516c4b 100644 --- a/drivers/amvdec_ports/aml_vcodec_dec.c +++ b/drivers/amvdec_ports/aml_vcodec_dec.c @@ -257,9 +257,9 @@ static void aml_vdec_pic_info_update(struct aml_vcodec_ctx *ctx) return; } - if ((ctx->last_decoded_picinfo.visible_width == ctx->picinfo.visible_width) || + /*if ((ctx->last_decoded_picinfo.visible_width == ctx->picinfo.visible_width) || (ctx->last_decoded_picinfo.visible_height == ctx->picinfo.visible_height)) - return; + return;*/ aml_v4l2_debug(4, "[%d]-> new(%d,%d), old(%d,%d), real(%d,%d)", ctx->id, ctx->last_decoded_picinfo.visible_width, |