From 7d14013c03f88c46469fce4ad646c87bbeed9d34 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 25 Feb 2004 17:45:54 +0000 Subject: [PATCH] assorted debug/warning fixes Original commit message from CVS: assorted debug/warning fixes --- ChangeLog | 8 ++++++++ sys/oss/gstosselement.c | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3cb0593d5b..9103b0e8d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-02-25 Thomas Vander Stichele + + * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link), + (gst_audio_convert_change_state), (gst_audio_convert_get_buffer): + * gst/videoscale/gstvideoscale.c: + * sys/oss/gstosselement.c: (gst_osselement_sync_parms): + assorted debug/warning fixes + 2004-02-25 Thomas Vander Stichele * gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps), diff --git a/sys/oss/gstosselement.c b/sys/oss/gstosselement.c index 9ef573387e..6d9e7445b4 100644 --- a/sys/oss/gstosselement.c +++ b/sys/oss/gstosselement.c @@ -645,11 +645,11 @@ gst_osselement_sync_parms (GstOssElement *oss) target_rate != oss->rate) { if (target_channels != oss->channels) - g_warning ("couldn't set the right number of channels, enjoy the tone difference"); + g_warning ("couldn't set the right number of channels (wanted %d, got %d), enjoy the tone difference", target_channels, oss->channels); if (target_rate != oss->rate) - g_warning ("couldn't set the right number of channels, enjoy the speed difference"); + g_warning ("couldn't set the right sample rate (wanted %d, got %d), enjoy the speed difference", target_rate, oss->rate); if (target_format != oss->format) - g_warning ("couldn't set requested OSS parameters, enjoy the noise :)"); + g_warning ("couldn't set requested OSS format, enjoy the noise :)"); /* we could eventually return FALSE here, or just do some additional tests * to see that the frequencies don't differ too much etc.. */ }