summaryrefslogtreecommitdiff
path: root/src/buffer/video_null.h
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-04-13 18:14:28 -0400
committerAndrew Opalach <andrew@akon.city> 2026-04-13 18:14:28 -0400
commit2a8cef2947b2d8e436dbec331ac6454d6c9df105 (patch)
tree3945136c99543cd186fa6e0a63f9a20e5b33c3dc /src/buffer/video_null.h
parent4ceadc74f0086168fbc576032ba3e6f23af16e39 (diff)
downloadcamu-2a8cef2947b2d8e436dbec331ac6454d6c9df105.tar.gz
camu-2a8cef2947b2d8e436dbec331ac6454d6c9df105.tar.bz2
camu-2a8cef2947b2d8e436dbec331ac6454d6c9df105.zip
Single frame -> Static
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/buffer/video_null.h')
-rw-r--r--src/buffer/video_null.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer/video_null.h b/src/buffer/video_null.h
index da9d969..90eb2c2 100644
--- a/src/buffer/video_null.h
+++ b/src/buffer/video_null.h
@@ -9,7 +9,7 @@
struct camu_video_buffer {
struct camu_codec_stream *stream;
f64 seek_pts;
- bool single_frame;
+ bool is_static;
f64 avg_frame_duration;
#ifdef CAMU_SCREEN_THREADED
atomic(bool) ref;
@@ -28,7 +28,7 @@ AL_IGNORE_WARNING("-Wunused-function")
static bool camu_video_buffer_init(struct camu_video_buffer *buf, struct camu_clock *clock)
{
(void)clock;
- buf->single_frame = true;
+ buf->is_static = true;
buf->avg_frame_duration = 0.0;
#ifdef CAMU_SCREEN_THREADED
al_atomic_store(bool)(&buf->ref, false, AL_ATOMIC_RELAXED);