osxvideosrc: change a .m file containing only C code to a .c file. Makes

building this easier.
This commit is contained in:
Michael Smith 2009-10-29 16:34:23 -07:00
parent 91499fd9a7
commit 9421274006
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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;
}