Files
cv_networking_pipeline/gst_ndi.h
PodmogilnyjIvan 988ab528af v0.1
2021-12-03 03:54:58 -08:00

22 lines
589 B
C

#ifndef MYGST_GST_NDI_H
#define MYGST_GST_NDI_H
#include <gst/gst.h>
/* Structure to contain all our information, so we can pass it to callbacks */
typedef struct _CustomData {
GstElement *pipeline;
GstElement *source;
GstElement *convert;
GstElement *resample;
GstElement *sink;
} CustomData;
/* Handler for the pad-added signal */
static void pad_added_handler (GstElement *src, GstPad *pad, CustomData *data);
static void print_one_tag (const GstTagList * list, const gchar * tag, gpointer user_data);
int main(int argc, char *argv[]);
#endif //MYGST_GST_NDI_H