This commit is contained in:
PodmogilnyjIvan
2021-12-03 03:54:58 -08:00
commit 988ab528af
11 changed files with 1832 additions and 0 deletions

21
gst_ndi.h Normal file
View File

@@ -0,0 +1,21 @@
#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