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

Skip to content
Commit 1aedff94 authored by Li Sun's avatar Li Sun Committed by Steve Kondik
Browse files

Nuplayer: Flush the decoder if seamless format change is supported

In smooth streaming enabled case, flush the decoder
if seamless format change is supported.
Otherwise,ramdomly video frames with old resolution
are queued to the new surface and results in green frames.

Calling flush ensures that all the old video frames
are cleared.

Change-Id: Ia020a01fd0eaa8af8e48b6edb526a3f53875b068
parent 97fc2487
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