From e1fed3d70730ddb2c0d66f7e4d1b261cf47e2ab8 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 21 Feb 2002 17:20:35 +0000 Subject: [PATCH] use gst-debuginfo.m4 macro so plugins are actually compiled with debug info some more debug output for lame Original commit message from CVS: * use gst-debuginfo.m4 macro so plugins are actually compiled with debug info * some more debug output for lame --- configure.ac | 6 ++++-- ext/lame/gstlame.c | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index e0ad6dbc8d..2f435c2940 100644 --- a/configure.ac +++ b/configure.ac @@ -8,10 +8,10 @@ dnl *NOTE*: dnl this line before release, so release does static too AM_DISABLE_STATIC dnl when going to/from release please set the nano (fourth number) right ! -AS_VERSION(gst-plugins, GST_PLUGINS, 0, 3, 2, 1) -AM_INIT_AUTOMAKE($PACKAGE,$VERSION) dnl We disable static building for development, for time savings AM_DISABLE_STATIC +AS_VERSION(gst-plugins, GST_PLUGINS, 0, 3, 2, 1) +AM_INIT_AUTOMAKE($PACKAGE,$VERSION) AS_LIBTOOL(GST_PLUGINS, 0, 0, 0, yes) dnl FIXME take something else ? @@ -588,6 +588,8 @@ dnl ###################################################################### dnl # Check command line parameters, and set shell variables accordingly # dnl ###################################################################### +GST_DEBUGINFO + AC_ARG_ENABLE(libmmx, [ --enable-libmmx use libmmx, if available], [case "${enableval}" in diff --git a/ext/lame/gstlame.c b/ext/lame/gstlame.c index 673cd6f888..d07d4cf358 100644 --- a/ext/lame/gstlame.c +++ b/ext/lame/gstlame.c @@ -804,7 +804,8 @@ gst_lame_setup (GstLame *lame) } else { lame->initialized = TRUE; - GST_INFO (GST_CAT_PLUGIN_INFO, "lame encoder initialized"); + /* FIXME: it would be nice to print out the mode here */ + GST_INFO (GST_CAT_PLUGIN_INFO, "lame encoder initialized (%d kbit/s, %d Hz, %d channels)", lame->bitrate, lame->samplerate, lame->num_channels); } GST_DEBUG_LEAVE ("");