klvtimestamp: new element to parse KLV for timestamp to add as meta reference timestamp

This commit is contained in:
Joshua M. Doe
2021-04-14 08:11:26 -04:00
parent 32abd30f5e
commit 3e40808539
4 changed files with 265 additions and 4 deletions

View File

@@ -25,14 +25,18 @@
#include "gstklvinject.h"
#include "gstklvinspect.h"
#include "gstklvtimestamp.h"
static gboolean
plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "klvinspect", GST_RANK_NONE,
GST_TYPE_KLVINSPECT)
&& gst_element_register (plugin, "klvinject", GST_RANK_NONE,
GST_TYPE_KLVINJECT);
return
gst_element_register (plugin, "klvinspect",
GST_RANK_NONE, GST_TYPE_KLVINSPECT) &&
gst_element_register (plugin, "klvinject",
GST_RANK_NONE, GST_TYPE_KLVINJECT) &&
gst_element_register (plugin, "klvtimestamp",
GST_RANK_NONE, GST_TYPE_KLVTIMESTAMP);
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,