This commit is contained in:
Ivan
2022-05-27 08:26:38 +03:00
parent 9b54c48dc3
commit 5909db4eec
3849 changed files with 2165811 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