mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
libs: g-i: fix init section to avoid compiler warnings
..GstPlayer-1.0.c: In function ‘main’: ..GstPlayer-1.0.c:587:3: warning: implicit declaration of function ‘gst_init’ https://bugzilla.gnome.org/show_bug.cgi?id=760090
This commit is contained in:
parent
5c7fb644cd
commit
e317a350bc
4 changed files with 4 additions and 4 deletions
|
@ -168,7 +168,7 @@ GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@
|
|||
--pkg gstreamer-base-@GST_API_VERSION@ \
|
||||
--pkg gstreamer-video-@GST_API_VERSION@ \
|
||||
--pkg-export gstreamer-gl-@GST_API_VERSION@ \
|
||||
--add-init-section="gst_init(NULL,NULL);" \
|
||||
--add-init-section="$(INTROSPECTION_INIT)" \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
--output $@ \
|
||||
$(gir_headers) \
|
||||
|
|
|
@ -48,7 +48,7 @@ GstInsertBin-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstinsertbin-@GS
|
|||
--pkg gstreamer-@GST_API_VERSION@ \
|
||||
--pkg gstreamer-base-@GST_API_VERSION@ \
|
||||
--pkg-export gstreamer-insertbin-@GST_API_VERSION@ \
|
||||
--add-init-section="gst_init(NULL,NULL);" \
|
||||
--add-init-section="$(INTROSPECTION_INIT)" \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
--output $@ \
|
||||
$(gir_headers) \
|
||||
|
|
|
@ -82,7 +82,7 @@ GstMpegts-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstmpegts-@GST_API_
|
|||
--pkg gstreamer-@GST_API_VERSION@ \
|
||||
--pkg gstreamer-video-@GST_API_VERSION@ \
|
||||
--pkg-export gstreamer-mpegts-@GST_API_VERSION@ \
|
||||
--add-init-section="gst_init(NULL,NULL);" \
|
||||
--add-init-section="$(INTROSPECTION_INIT)" \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
--output $@ \
|
||||
$(gir_headers) \
|
||||
|
|
|
@ -76,7 +76,7 @@ GstPlayer-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstplayer-@GST_API_
|
|||
--pkg gstreamer-tag-@GST_API_VERSION@ \
|
||||
--pkg gstreamer-pbutils-@GST_API_VERSION@ \
|
||||
--pkg-export gstreamer-player-@GST_API_VERSION@ \
|
||||
--add-init-section="gst_init(NULL,NULL);" \
|
||||
--add-init-section="$(INTROSPECTION_INIT)" \
|
||||
--output $@ \
|
||||
$(gir_headers) \
|
||||
$(gir_sources)
|
||||
|
|
Loading…
Reference in a new issue