summaryrefslogtreecommitdiff
path: root/gst/videocrop
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-04-24 13:55:08 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-04-24 13:55:51 -0300
commit0ade8b813f99df42da046399a85d21198004b0ad (patch)
tree7ddd083ae8c1743aafd98ead8f9358ce635338c7 /gst/videocrop
parent671b4d25cd1c5a25bd1086d72797388104dfdbcf (diff)
downloadgstreamer-plugins-good-0ade8b813f99df42da046399a85d21198004b0ad.tar.gz
videocrop: print the property values when set
Instead of printing the currently used values. The log is meant to show what the properties changed to, not what is being currently used.
Diffstat (limited to 'gst/videocrop')
-rw-r--r--gst/videocrop/gstvideocrop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c
index 46e44833d..b2241f6f3 100644
--- a/gst/videocrop/gstvideocrop.c
+++ b/gst/videocrop/gstvideocrop.c
@@ -759,9 +759,9 @@ gst_video_crop_set_property (GObject * object, guint prop_id,
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
- GST_LOG_OBJECT (video_crop, "l=%d,r=%d,b=%d,t=%d",
- video_crop->crop_left, video_crop->crop_right, video_crop->crop_bottom,
- video_crop->crop_top);
+ GST_LOG_OBJECT (video_crop, "l=%d,r=%d,b=%d,t=%d, need_update:%d",
+ video_crop->prop_left, video_crop->prop_right, video_crop->prop_bottom,
+ video_crop->prop_top, video_crop->need_update);
GST_OBJECT_UNLOCK (video_crop);