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

Commit 1f311f2f authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Bug 4571308 Timestamps are not always monotonic"

parents 856f63c0 c322f671
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -441,8 +441,10 @@ static inline int native_window_set_buffers_transform(
 * All buffers queued after this call will be associated with the timestamp
 * parameter specified. If the timestamp is set to NATIVE_WINDOW_TIMESTAMP_AUTO
 * (the default), timestamps will be generated automatically when queueBuffer is
 * called. The timestamp is measured in nanoseconds, and must be monotonically
 * increasing.
 * called. The timestamp is measured in nanoseconds, and is normally monotonically
 * increasing. The timestamp should be unaffected by time-of-day adjustments,
 * and for a camera should be strictly monotonic but for a media player may be
 * reset when the position is set.
 */
static inline int native_window_set_buffers_timestamp(
        struct ANativeWindow* window,