summaryrefslogtreecommitdiff
path: root/gst/videofilter
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2013-11-25 14:03:21 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2013-11-25 14:03:21 -0500
commitc42bc9efa083913fa3f9f30de3e79ded57cdd731 (patch)
treefe31d3f39d1bd513cbb826e2dc789224c64db388 /gst/videofilter
parent90ac945dccebc36d9f8ae13e79ad75f151576dda (diff)
downloadgstreamer-plugins-good-c42bc9efa083913fa3f9f30de3e79ded57cdd731.tar.gz
videoflip: Set default method at contruction
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712333
Diffstat (limited to 'gst/videofilter')
-rw-r--r--gst/videofilter/gstvideoflip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/videofilter/gstvideoflip.c b/gst/videofilter/gstvideoflip.c
index 87a5ac013..a4903fd99 100644
--- a/gst/videofilter/gstvideoflip.c
+++ b/gst/videofilter/gstvideoflip.c
@@ -1278,7 +1278,8 @@ gst_video_flip_class_init (GstVideoFlipClass * klass)
g_object_class_install_property (gobject_class, PROP_METHOD,
g_param_spec_enum ("method", "method", "method",
GST_TYPE_VIDEO_FLIP_METHOD, PROP_METHOD_DEFAULT,
- GST_PARAM_CONTROLLABLE | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+ GST_PARAM_CONTROLLABLE | G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
+ G_PARAM_STATIC_STRINGS));
gst_element_class_set_static_metadata (gstelement_class, "Video flipper",
"Filter/Effect/Video",