basecamerabinsrc: mark symbols explicitly for export with GST_EXPORT

This commit is contained in:
Tim-Philipp Müller 2017-07-18 00:31:36 +01:00
parent 670c7433a6
commit 7a28f62222
3 changed files with 19 additions and 0 deletions

View file

@ -49,6 +49,7 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_BASE_CAMERA_SRC))
#define GST_BASE_CAMERA_SRC_CAST(obj) \
((GstBaseCameraSrc *) (obj))
GST_EXPORT
GType gst_base_camera_src_get_type (void);
typedef struct _GstBaseCameraSrc GstBaseCameraSrc;
@ -132,12 +133,20 @@ struct _GstBaseCameraSrcClass
#define MAX_ZOOM 10.0f
#define ZOOM_1X MIN_ZOOM
GST_EXPORT
gboolean gst_base_camera_src_set_mode (GstBaseCameraSrc *self, GstCameraBinMode mode);
GST_EXPORT
void gst_base_camera_src_setup_zoom (GstBaseCameraSrc * self);
GST_EXPORT
void gst_base_camera_src_setup_preview (GstBaseCameraSrc * self, GstCaps * preview_caps);
GST_EXPORT
void gst_base_camera_src_finish_capture (GstBaseCameraSrc *self);
GST_EXPORT
void gst_base_camera_src_post_preview (GstBaseCameraSrc *self, GstSample * sample);
// XXX add methods to get/set img capture and vid capture caps..

View file

@ -55,6 +55,7 @@ typedef enum
#define GST_TYPE_CAMERABIN_MODE (gst_camerabin_mode_get_type ())
GST_EXPORT
GType gst_camerabin_mode_get_type (void);
G_END_DECLS

View file

@ -47,10 +47,19 @@ typedef struct
} GstCameraBinPreviewPipelineData;
GST_EXPORT
GstCameraBinPreviewPipelineData *gst_camerabin_create_preview_pipeline (GstElement * element, GstElement * filter);
GST_EXPORT
void gst_camerabin_destroy_preview_pipeline (GstCameraBinPreviewPipelineData * preview);
GST_EXPORT
gboolean gst_camerabin_preview_pipeline_post (GstCameraBinPreviewPipelineData * preview, GstSample * sample);
GST_EXPORT
void gst_camerabin_preview_set_caps (GstCameraBinPreviewPipelineData * preview, GstCaps * caps);
GST_EXPORT
gboolean gst_camerabin_preview_set_filter (GstCameraBinPreviewPipelineData * preview, GstElement * filter);
#endif /* #ifndef __CAMERABIN_PREVIEW_H_ */