summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcamerapool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gstreamer/gstlibcamerapool.h')
-rw-r--r--src/gstreamer/gstlibcamerapool.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gstreamer/gstlibcamerapool.h b/src/gstreamer/gstlibcamerapool.h
index a3f1b685..05795d21 100644
--- a/src/gstreamer/gstlibcamerapool.h
+++ b/src/gstreamer/gstlibcamerapool.h
@@ -9,8 +9,7 @@
* only. This pool cannot be configured or activated.
*/
-#ifndef __GST_LIBCAMERA_POOL_H__
-#define __GST_LIBCAMERA_POOL_H__
+#pragma once
#include "gstlibcameraallocator.h"
@@ -29,6 +28,3 @@ libcamera::Stream *gst_libcamera_pool_get_stream(GstLibcameraPool *self);
libcamera::Stream *gst_libcamera_buffer_get_stream(GstBuffer *buffer);
libcamera::FrameBuffer *gst_libcamera_buffer_get_frame_buffer(GstBuffer *buffer);
-
-
-#endif /* __GST_LIBCAMERA_POOL_H__ */