summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gst/videocrop/gstvideocrop.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 562307a1..e99335a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2005-04-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+ * gst/videocrop/gstvideocrop.c: (gst_video_crop_set_property),
+ (gst_video_crop_get_property):
+ Renegotiate after a set_property, not after a get_property. Fixes
+ #172563.
+
+2005-04-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
NULL-terminate vararg functions properly (#172946).
diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c
index 47a2def8..61f9fd59 100644
--- a/gst/videocrop/gstvideocrop.c
+++ b/gst/videocrop/gstvideocrop.c
@@ -235,6 +235,9 @@ gst_video_crop_set_property (GObject * object, guint prop_id,
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
+
+ if (gst_pad_is_negotiated (video_crop->srcpad))
+ video_crop->renegotiate_src_caps = TRUE;
}
static void
gst_video_crop_get_property (GObject * object, guint prop_id, GValue * value,
@@ -263,9 +266,6 @@ gst_video_crop_get_property (GObject * object, guint prop_id, GValue * value,
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
-
- if (gst_pad_is_negotiated (video_crop->srcpad))
- video_crop->renegotiate_src_caps = TRUE;
}
static void