video: fix video axis no changes when enable hold video [1/1]

PD#TV-10251

Problem:
PE190005-1038 press the OK button switching to
the ATV channel, the screen is not full screen.

Solution:
After the video property changes, if the hold video
is enabled, the current frame needs to be refreshed.

Verify:
Verified with X301

Change-Id: I05cb7255147b1950cb6b9d5813148a9ce0aa6e66
Signed-off-by: Rui Wang <rui.wang@amlogic.com>
This commit is contained in:
Rui Wang
2019-09-19 10:33:53 +08:00
committed by Tao Zeng
parent de231b4084
commit a7884835b7

View File

@@ -7199,7 +7199,7 @@ static irqreturn_t vsync_isr_in(int irq, void *dev_id)
}
/* setting video display property in underflow mode */
if ((!vf) && cur_dispbuf && (video_property_changed))
if ((!vf || hold_video) && cur_dispbuf && (video_property_changed))
vsync_toggle_frame(cur_dispbuf, __LINE__);
/*debug info for skip & repeate vframe case*/
@@ -7219,6 +7219,7 @@ static irqreturn_t vsync_isr_in(int irq, void *dev_id)
} else {
ATRACE_COUNTER("underflow", 0);
}
video_get_vf_cnt = 0;
if (platform_type == 1) {
/* toggle_3d_fa_frame*/