Jump to content

Creating a New GStreamer Element or Application Using Templates: Difference between revisions

Line 89: Line 89:
To create a new element/object using the BASE_CLASS parameter (for example BASE_CLASS=videofilter), you may run the following:
To create a new element/object using the BASE_CLASS parameter (for example BASE_CLASS=videofilter), you may run the following:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
cd gst-plugins-bad/tools
cd gstreamer/subprojects/gst-plugins-bad/tools


# Choose any base class from the list above
# Choose any base class from the list above
Line 112: Line 112:
</syntaxhighlight>
</syntaxhighlight>


A new pair of '''gstmyelement.c''' and '''gstmyelement.h''' are created in the new element's directory. You may grab those files and integrate them into your project.
A new pair of '''gstmyelement.c''' and '''gstmyelement.h''' are created in the current directory. You may grab those files and integrate them into your project.


<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
5

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.