Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 48827966 authored by Manikanta Kanamarlapudi's avatar Manikanta Kanamarlapudi Committed by Steve Kondik
Browse files

nuplayer: Seek to valid position in setVideoSurface

- If flush is called on both A/V tracks and video
  decoder is not yet created, In offload case the
  first audio buffer will get flush and audio playback
  starts from timestamp of second buffer, where as
  video playback starts from zero leads to AV sync
  issue in start and cause framedrops.

- Call seek to current position to align the Audio
  and Video tracks. Seek to zero if playback has not
  yet started.

Change-Id: I4f75d0aa908714ad292f348fa8bf7aa5f837f8d7
parent 51b3174a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment