diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-02-25 17:45:54 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-02-25 17:45:54 +0000 |
commit | 7d14013c03f88c46469fce4ad646c87bbeed9d34 (patch) | |
tree | ba790f3a4e066e6e231746d7302bf89d4a9a7abc | |
parent | 32791b4347b6e807a0af1945bce9adb8e5b3442e (diff) |
assorted debug/warning fixes
Original commit message from CVS:
assorted debug/warning fixes
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | sys/oss/gstosselement.c | 6 |
2 files changed, 11 insertions, 3 deletions
@@ -1,5 +1,13 @@ 2004-02-25 Thomas Vander Stichele <thomas at apestaart dot org> + * 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 <thomas at apestaart dot org> + * gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps), (gst_videoscale_init), (gst_videoscale_chain), (gst_videoscale_set_property), (plugin_init): diff --git a/sys/oss/gstosselement.c b/sys/oss/gstosselement.c index 9ef57338..6d9e7445 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.. */ } |