mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Small fixes, use some wierd hack to make the plugin a .so
Original commit message from CVS: Small fixes, use some wierd hack to make the plugin a .so
This commit is contained in:
parent
23d2701aa5
commit
4aaca5cc34
6 changed files with 16 additions and 8 deletions
|
@ -1,7 +1,10 @@
|
|||
noinst_LTLIBRARIES = libexample.la
|
||||
plugindir=/dev/null
|
||||
|
||||
plugin_LTLIBRARIES = libexample.la
|
||||
|
||||
libexample_la_SOURCES = example.c
|
||||
libexample_la_CFLAGS = $(GST_CFLAGS)
|
||||
libexample_la_LIBADD =
|
||||
libexample_la_LDFLAGS = $(GST_LDFLAGS)
|
||||
|
||||
noinst_HEADERS = example.h
|
||||
noinst_HEADERS = example.h
|
||||
|
|
|
@ -120,7 +120,8 @@ gst_example_get_type(void)
|
|||
|
||||
if (!example_type) {
|
||||
static const GTypeInfo example_info = {
|
||||
sizeof(GstExampleClass), NULL,
|
||||
sizeof(GstExampleClass),
|
||||
NULL,
|
||||
NULL,
|
||||
(GClassInitFunc)gst_example_class_init,
|
||||
NULL,
|
||||
|
|
|
@ -72,7 +72,7 @@ struct _GstExampleClass {
|
|||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EXAMPLE,GstExample))
|
||||
/* The third is a checking cast of the class instead of the object. */
|
||||
#define GST_EXAMPLE_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EXAMPLE,GstExample))
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EXAMPLE,GstExampleClass))
|
||||
/* The last two simply check to see if the passed pointer is an object or
|
||||
* class of the correct type. */
|
||||
#define GST_IS_EXAMPLE(obj) \
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
noinst_LTLIBRARIES = libexample.la
|
||||
plugindir=/dev/null
|
||||
|
||||
plugin_LTLIBRARIES = libexample.la
|
||||
|
||||
libexample_la_SOURCES = example.c
|
||||
libexample_la_CFLAGS = $(GST_CFLAGS)
|
||||
libexample_la_LIBADD =
|
||||
libexample_la_LDFLAGS = $(GST_LDFLAGS)
|
||||
|
||||
noinst_HEADERS = example.h
|
||||
noinst_HEADERS = example.h
|
||||
|
|
|
@ -120,7 +120,8 @@ gst_example_get_type(void)
|
|||
|
||||
if (!example_type) {
|
||||
static const GTypeInfo example_info = {
|
||||
sizeof(GstExampleClass), NULL,
|
||||
sizeof(GstExampleClass),
|
||||
NULL,
|
||||
NULL,
|
||||
(GClassInitFunc)gst_example_class_init,
|
||||
NULL,
|
||||
|
|
|
@ -72,7 +72,7 @@ struct _GstExampleClass {
|
|||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EXAMPLE,GstExample))
|
||||
/* The third is a checking cast of the class instead of the object. */
|
||||
#define GST_EXAMPLE_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EXAMPLE,GstExample))
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EXAMPLE,GstExampleClass))
|
||||
/* The last two simply check to see if the passed pointer is an object or
|
||||
* class of the correct type. */
|
||||
#define GST_IS_EXAMPLE(obj) \
|
||||
|
|
Loading…
Reference in a new issue