From 0ade8b813f99df42da046399a85d21198004b0ad Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Fri, 24 Apr 2015 13:55:08 -0300 Subject: [PATCH] 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. --- gst/videocrop/gstvideocrop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c index 46e44833d5..b2241f6f39 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);