diff options
author | Sean DuBois <seaduboi@amazon.com> | 2019-09-20 00:31:15 -0700 |
---|---|---|
committer | Sean DuBois <seaduboi@amazon.com> | 2019-09-20 00:31:15 -0700 |
commit | 1d5310c38c93766b294afdd380e6fb05170aaad5 (patch) | |
tree | c86c66cbdee6b3049d5e0d080896ffbc7f97f29b /gst/gst.h | |
download | rtwatch-1d5310c38c93766b294afdd380e6fb05170aaad5.tar.gz rtwatch-1d5310c38c93766b294afdd380e6fb05170aaad5.tar.bz2 rtwatch-1d5310c38c93766b294afdd380e6fb05170aaad5.zip |
Initial commit
Diffstat (limited to 'gst/gst.h')
-rw-r--r-- | gst/gst.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gst/gst.h b/gst/gst.h new file mode 100644 index 0000000..1103a6a --- /dev/null +++ b/gst/gst.h @@ -0,0 +1,20 @@ +#ifndef GST_H +#define GST_H + +#include <glib.h> +#include <gst/gst.h> +#include <stdint.h> +#include <stdlib.h> + +extern void goHandlePipelineBuffer(void *buffer, int bufferLen, int samples, int isVideo); + +GstElement *gstreamer_send_create_pipeline(char *pipeline); +void gstreamer_send_start_pipeline(GstElement *pipeline); + +void gstreamer_send_play_pipeline(GstElement *pipeline); +void gstreamer_send_pause_pipeline(GstElement *pipeline); +void gstreamer_send_seek(GstElement *pipeline, int64_t seek_pos); + +void gstreamer_send_start_mainloop(void); + +#endif |