From bd2e13e188dbf20efb686a176402cda7368d3800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 4 Apr 2009 17:51:34 +0100 Subject: bz2: fix some refcount mistakes and do some cleaning up No need to unref buffers if pad_push returns something non-FLOW_OK. In fact, this will cause assertions or crashes. However, we do need to unref the input buffer whenever we don't pass it downstream. Also, a non-OK flow return is not an error, so don't post error messages on the bus - the pipeline may just be shutting down. Miscellaneous other clean-ups and crack removal. Plenty of work left for those who feel like it. --- ext/bz2/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/bz2/Makefile.am') diff --git a/ext/bz2/Makefile.am b/ext/bz2/Makefile.am index 617fa12e..4cc2c856 100644 --- a/ext/bz2/Makefile.am +++ b/ext/bz2/Makefile.am @@ -3,7 +3,7 @@ plugin_LTLIBRARIES = libgstbz2.la libgstbz2_la_SOURCES = \ gstbz2.c gstbz2dec.c gstbz2enc.c -libgstbz2_la_CFLAGS = $(GST_BASE_CFLAGS) +libgstbz2_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) libgstbz2_la_LIBADD = $(GST_BASE_LIBS) $(BZ2_LIBS) libgstbz2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstbz2_la_LIBTOOLFLAGS = --tag=disable-static -- cgit v1.2.1