Skip to content

Commit

Permalink
PD#155124: dv: force toggle in pause mode
Browse files Browse the repository at this point in the history
Change-Id: I3db7e81537d0dcc0246cd2ff2be32caf21c98fb9
Signed-off-by: zhilei.wu <[email protected]>
  • Loading branch information
zhilei.wu authored and terry2droid committed May 19, 2018
1 parent 4f0c300 commit 850791f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/amlogic/amports/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -4815,6 +4815,16 @@ static irqreturn_t vsync_isr_in(int irq, void *dev_id)
cur_dispbuf, 2, false);
dolby_vision_set_toggle_flag(1);
}
/* force toggle in pause mode */
if (cur_dispbuf
&& (cur_dispbuf != &vf_local)
&& !toggle_vf
&& is_dolby_vision_on()) {
toggle_vf = cur_dispbuf;
dolby_vision_parse_metadata(
cur_dispbuf, 0, false);
dolby_vision_set_toggle_flag(1);
}
if (cur_frame_par) {
if (cur_frame_par->VPP_hd_start_lines_
>= cur_frame_par->VPP_hd_end_lines_)
Expand Down

0 comments on commit 850791f

Please sign in to comment.