gst/sine/gstsinesrc.c: moved statement below switch
authorStefan Kost <ensonic@users.sourceforge.net>
Wed, 17 Aug 2005 21:07:21 +0000 (21:07 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Wed, 17 Aug 2005 21:07:21 +0000 (21:07 +0000)
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

ChangeLog
gst/sine/gstsinesrc.c
gst/volume/gstvolume.c

index adf7785f132b1addbc101c156132b405f2b0c04f..6794bb1c6ebaff70c04fb70ab167ded52af69013 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index bfb7699a4628057a64b499fb078342b7777538b2..975c57e5d1831a0d1fbb4571182e67a025470db0 100644 (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;
     }
index 6eaa2333a8bcd7a42b847381f25611adeab037ae..8c70d43d3f35ba602f875f611e0e35b281638043 100644 (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