aboutsummaryrefslogtreecommitdiff
path: root/gst/gst.h
blob: 1103a6a6f94becd357ea5c13e28651fd145e7081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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