gst/sine/gstsinesrc.c: moved statement below switch

Original commit message from CVS:
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_query):
moved statement below switch
* gst/volume/gstvolume.c: (gst_volume_class_init):
added debug ptr
This commit is contained in:
Stefan Kost 2005-08-17 21:07:21 +00:00
parent 4e3b19e5fb
commit b5f1cf664d
3 changed files with 12 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2005-08-18 Stefan Kost <ensonic@users.sf.net>
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_query):
moved statement below switch
* gst/volume/gstvolume.c: (gst_volume_class_init):
added debug ptr
2005-08-16 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/audio/gstbaseaudiosrc.c:

View file

@ -279,10 +279,9 @@ gst_sinesrc_src_query (GstPad * pad, GstQuery * query)
break;
default:
break;
if (res) {
gst_query_set_position (query, format, current, -1);
}
}
if (res) {
gst_query_set_position (query, format, current, -1);
}
break;
}

View file

@ -267,7 +267,8 @@ gst_volume_class_init (GstVolumeClass * klass)
g_param_spec_double ("volume", "volume", "volume",
0.0, VOLUME_MAX_DOUBLE, 1.0, G_PARAM_READWRITE));
GST_BASE_TRANSFORM_CLASS (klass)->transform = volume_transform;
GST_BASE_TRANSFORM_CLASS (klass)->transform =
GST_DEBUG_FUNCPTR (volume_transform);
}
static void