Skip to content

Commit

Permalink
Merge pull request torvalds#370 from Owersun/odroidn2-4.9.y
Browse files Browse the repository at this point in the history
AML: Backport 3.14 patch for video, seriously improving video playback
  • Loading branch information
mdrjr authored Feb 25, 2019
2 parents c96db88 + b464389 commit ca7a857
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/amlogic/media/video_sink/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -5196,6 +5196,8 @@ static irqreturn_t vsync_isr_in(int irq, void *dev_id)
if (omx_secret_mode == true) {
u32 system_time = timestamp_pcrscr_get();
int diff = system_time - omx_pts;
video_notify_flag |= VIDEO_NOTIFY_TRICK_WAIT;
atomic_set(&trickmode_framedone, 1);

if ((diff - omx_pts_interval_upper) > 0
|| (diff - omx_pts_interval_lower) < 0
Expand Down

0 comments on commit ca7a857

Please sign in to comment.