media_module: h264 playback freeze [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Thu, 2 Jan 2020 04:24:33 +0000 (12:24 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Sun, 5 Jan 2020 00:17:04 +0000 (16:17 -0800)
PD#OTT-7774

Problem:
the h264 ucode has the swap operation,
so it needs to be reloaded every run time.

Solution:
reload ucode every time

Verify:
U212

Change-Id: I37d0485be67df56d63ea3157bc27cd40392027e4
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
drivers/frame_provider/decoder/h264_multi/vmh264.c

index bddeed31bd09c0268b8a939797e2558335195cd9..a298b97d44322f26111215644bf6d9af64dda694 100644 (file)
@@ -8536,7 +8536,7 @@ static void run(struct vdec_s *vdec, unsigned long mask,
                        }
                        vdec->mc_type = ((1 << 16) | VFORMAT_H264);
                }
-               vdec->mc_loaded = 1;
+               vdec->mc_loaded = 0;
        }
        vmh264_reset_udr_mgr(hw);