Commit fb0ad554 authored by Ronald S. Bultje's avatar Ronald S. Bultje

gst/videocrop/gstvideocrop.c: Renegotiate after a set_property, not after a...

gst/videocrop/gstvideocrop.c: Renegotiate after a set_property, not after a get_property. Fixes #172563.

Original commit message from CVS:
* 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.
parent ba521058
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):
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment