-
Notifications
You must be signed in to change notification settings - Fork 40
Create a new element
athairus edited this page Sep 6, 2016
·
3 revisions
- Clone
git://anongit.freedesktop.org/gstreamer/gst-template.git
- Using the shell (bash/msys/msys2 on Windows) go to
gst-template/gst-plugin/src
REAL_NAME=YourName [email protected] ../tools/make_element LibretroElement
- .c and .h should appear in the folder from step 2
- Copy to
Phoenix/backend/gstreamer/element/whatever.*
- Add to the
CMakeLists.txt
file in that folder - Run formatter on .c and .h files
- Change .h to
#pragma once
- Add
#include "version.h"
towhatever.c
- Change
VERSION
(whatever.c:279) toPHOENIX_VER_STR
- Fill out metadata at
gst_element_class_set_details_simple
andGST_PLUGIN_DEFINE
master
Branch
Build Guide (obsolete)