summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-08-10 14:37:39 +0300
committerStefan Kost <ensonic@users.sf.net>2010-08-10 14:37:39 +0300
commit73cc65fa886dc41b2115e02d5a432cf81845b430 (patch)
treef16d547259c46b97232eeafbbaa1e373a4ce9a8c
parented9fd645adc76d7908253016db0e993fc075de61 (diff)
synaesthesia: code cleanups.
Remove unused boilerplate for signals. Use _OBJECT variants of logging macros more.
-rw-r--r--gst/synaesthesia/gstsynaesthesia.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/gst/synaesthesia/gstsynaesthesia.c b/gst/synaesthesia/gstsynaesthesia.c
index 846168c2..910ffb29 100644
--- a/gst/synaesthesia/gstsynaesthesia.c
+++ b/gst/synaesthesia/gstsynaesthesia.c
@@ -39,13 +39,6 @@
#include "gstsynaesthesia.h"
-/* signals and args */
-enum
-{
- /* FILL ME */
- LAST_SIGNAL
-};
-
static GstStaticPadTemplate gst_synaesthesia_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
@@ -263,7 +256,7 @@ gst_synaesthesia_src_negotiate (GstSynaesthesia * synaesthesia)
gst_structure_fixate_field_nearest_fraction (structure, "framerate",
synaesthesia->fps_n, synaesthesia->fps_d);
- GST_DEBUG ("final caps are %" GST_PTR_FORMAT, target);
+ GST_DEBUG_OBJECT (synaesthesia, "final caps are %" GST_PTR_FORMAT, target);
gst_pad_set_caps (synaesthesia->srcpad, target);
gst_caps_unref (target);
@@ -334,7 +327,7 @@ gst_synaesthesia_chain (GstPad * pad, GstBuffer * buffer)
synaesthesia = GST_SYNAESTHESIA (gst_pad_get_parent (pad));
- GST_LOG ("chainfunc called");
+ GST_LOG_OBJECT (synaesthesia, "chainfunc called");
/* resync on DISCONT */
if (GST_BUFFER_FLAG_IS_SET (buffer, GST_BUFFER_FLAG_DISCONT)) {