geometrictransform: add some more log messages
authorThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 20 Mar 2012 22:19:25 +0000 (19:19 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 20 Mar 2012 23:11:30 +0000 (20:11 -0300)
gst/geometrictransform/gstgeometrictransform.c

index 274d483f21ef1bd5988aaff8646d4114e0d8beaf..be651a47780f8688bd505f47bf1580d126cd4c97 100644 (file)
@@ -113,6 +113,8 @@ gst_geometric_transform_generate_map (GstGeometricTransform * gt)
   GstGeometricTransformClass *klass;
   gdouble *ptr;
 
+  GST_INFO_OBJECT (gt, "Generating new transform map");
+
   /* cleanup old map */
   g_free (gt->map);
   gt->map = NULL;
@@ -144,6 +146,7 @@ gst_geometric_transform_generate_map (GstGeometricTransform * gt)
 
 end:
   if (!ret) {
+    GST_WARNING_OBJECT (gt, "Generating transform map failed");
     g_free (gt->map);
     gt->map = NULL;
   } else
@@ -348,6 +351,7 @@ gst_geometric_transform_stop (GstBaseTransform * trans)
 {
   GstGeometricTransform *gt = GST_GEOMETRIC_TRANSFORM_CAST (trans);
 
+  GST_INFO_OBJECT (gt, "Deleting transform map");
   g_free (gt->map);
   gt->map = NULL;