gst-libs: Temporarily remove dependency of gstaudio on gstpbutils
authorEdward Hervey <bilboed@bilboed.com>
Wed, 21 Sep 2011 11:30:43 +0000 (13:30 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 23 Sep 2011 14:17:45 +0000 (16:17 +0200)
Also re-order the SUBDIRS in the higher-level Makefile so it cleanly
installs.

https://bugzilla.gnome.org/show_bug.cgi?id=657675

gst-libs/gst/Makefile.am
gst-libs/gst/audio/Makefile.am
gst-libs/gst/audio/gstaudiodecoder.c

index 6f261b3..a762528 100644 (file)
@@ -13,15 +13,15 @@ SUBDIRS = \
        sdp \
        rtsp \
        video \
-       pbutils \
        audio \
+       pbutils \
        riff \
        app
 
 noinst_HEADERS = gettext.h gst-i18n-plugin.h
 
 # dependencies:
-audio: interfaces pbutils
+audio: interfaces
 
 cdda: tag
 
@@ -29,8 +29,10 @@ riff: tag audio
 
 rtsp: sdp
 
+pbutils: video audio
+
 INDEPENDENT_SUBDIRS = \
-       interfaces tag fft floatcast netbuffer pbutils rtp sdp video app
+       interfaces tag audio fft floatcast netbuffer rtp sdp video app
 
 .PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
 
index deb70b2..8732064 100644 (file)
@@ -54,7 +54,6 @@ nodist_libgstaudio_@GST_MAJORMINOR@include_HEADERS = \
 
 libgstaudio_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
 libgstaudio_@GST_MAJORMINOR@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) \
-  $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la \
   $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la
 libgstaudio_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
 
index caed8c5..0ed2186 100644 (file)
@@ -495,11 +495,13 @@ gst_audio_decoder_sink_setcaps (GstAudioDecoder * dec, GstCaps * caps)
 
   /* NOTE pbutils only needed here */
   /* TODO maybe (only) upstream demuxer/parser etc should handle this ? */
+#if 0
   if (dec->priv->taglist)
     gst_tag_list_free (dec->priv->taglist);
   dec->priv->taglist = gst_tag_list_new ();
   gst_pb_utils_add_codec_description_to_tag_list (dec->priv->taglist,
       GST_TAG_AUDIO_CODEC, caps);
+#endif
 
   if (klass->set_format)
     res = klass->set_format (dec, caps);