mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
osxvideosrc: change a .m file containing only C code to a .c file. Makes
building this easier.
This commit is contained in:
parent
91499fd9a7
commit
9421274006
2 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
plugin_LTLIBRARIES = libgstosxvideosrc.la
|
||||
|
||||
libgstosxvideosrc_la_SOURCES = osxvideoplugin.m osxvideosrc.c
|
||||
libgstosxvideosrc_la_SOURCES = osxvideoplugin.c osxvideosrc.c
|
||||
libgstosxvideosrc_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
|
||||
$(GST_PLUGINS_BASE_CFLAGS) -Wno-deprecated-declarations
|
||||
libgstosxvideosrc_la_LIBADD = \
|
||||
|
@ -13,6 +13,4 @@ libgstosxvideosrc_la_LIBTOOLFLAGS = --tag=disable-static
|
|||
libgstosxvideosrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) \
|
||||
-Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,QuickTime
|
||||
|
||||
AM_OBJCFLAGS=$(CFLAGS) $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS)
|
||||
|
||||
noinst_HEADERS = osxvideosrc.h
|
||||
|
|
|
@ -38,7 +38,7 @@ plugin_init (GstPlugin * plugin)
|
|||
return FALSE;
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (gst_debug_osx_video_src, "osxvideosrc", 0,
|
||||
"osxvideosrc element");
|
||||
"osxvideosrc element");
|
||||
|
||||
return TRUE;
|
||||
}
|
Loading…
Reference in a new issue