aboutsummaryrefslogtreecommitdiff
path: root/include/pipewire.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pipewire.h')
-rw-r--r--include/pipewire.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pipewire.h b/include/pipewire.h
index 2e22ccc..2a0b134 100644
--- a/include/pipewire.h
+++ b/include/pipewire.h
@@ -68,6 +68,9 @@ typedef struct {
gsr_pipewire_data_version server_version;
gsr_pipewire_video_info video_info;
gsr_pipewire_dmabuf_data dmabuf_data;
+
+ bool started;
+ bool stopped;
} gsr_pipewire;
/*
@@ -79,5 +82,6 @@ bool gsr_pipewire_init(gsr_pipewire *self, int pipewire_fd, uint32_t pipewire_no
void gsr_pipewire_deinit(gsr_pipewire *self);
bool gsr_pipewire_map_texture(gsr_pipewire *self, unsigned int texture_id, unsigned int cursor_texture_id, gsr_pipewire_region *region, gsr_pipewire_region *cursor_region, int *plane_fd);
+bool gsr_pipewire_recording_stopped(gsr_pipewire *self);
#endif /* GSR_PIPEWIRE_H */