klvinspect: add property to dump KLV data to a file

This commit is contained in:
Joshua M. Doe
2021-02-24 15:15:03 -05:00
parent cc2a768303
commit 6166ddc3ed
2 changed files with 87 additions and 2 deletions

View File

@@ -20,6 +20,8 @@
#ifndef _GST_KLVINSPECT_H_
#define _GST_KLVINSPECT_H_
#include <stdio.h>
#include <gst/base/gstbasetransform.h>
G_BEGIN_DECLS
@@ -36,6 +38,11 @@ typedef struct _GstKlvInspectClass GstKlvInspectClass;
struct _GstKlvInspect
{
GstBaseTransform base_klvinspect;
/* properties */
gchar* dump_location;
FILE* dump_file;
};
struct _GstKlvInspectClass