mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
assorted debug/warning fixes
Original commit message from CVS: assorted debug/warning fixes
This commit is contained in:
parent
32791b4347
commit
7d14013c03
2 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
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>
|
2004-02-25 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps),
|
* gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps),
|
||||||
|
|
|
@ -645,11 +645,11 @@ gst_osselement_sync_parms (GstOssElement *oss)
|
||||||
target_rate != oss->rate)
|
target_rate != oss->rate)
|
||||||
{
|
{
|
||||||
if (target_channels != oss->channels)
|
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)
|
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)
|
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
|
/* we could eventually return FALSE here, or just do some additional tests
|
||||||
* to see that the frequencies don't differ too much etc.. */
|
* to see that the frequencies don't differ too much etc.. */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue