diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index c1a0e8bbc0..6ad8e60ac3 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -301,7 +301,7 @@ gst_encode_bin_class_init (GstEncodeBinClass * klass) * to %GST_STATE_PAUSED or higher. */ g_object_class_install_property (gobject_klass, PROP_PROFILE, - gst_param_spec_mini_object ("profile", "Profile", + g_param_spec_object ("profile", "Profile", "The GstEncodingProfile to use", GST_TYPE_ENCODING_PROFILE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); @@ -456,7 +456,7 @@ gst_encode_bin_set_property (GObject * object, guint prop_id, switch (prop_id) { case PROP_PROFILE: gst_encode_bin_set_profile (ebin, - (GstEncodingProfile *) gst_value_get_mini_object (value)); + (GstEncodingProfile *) g_value_get_object (value)); break; case PROP_QUEUE_BUFFERS_MAX: ebin->queue_buffers_max = g_value_get_uint (value); @@ -487,7 +487,7 @@ gst_encode_bin_get_property (GObject * object, guint prop_id, switch (prop_id) { case PROP_PROFILE: - gst_value_set_mini_object (value, (GstMiniObject *) ebin->profile); + g_value_set_object (value, (GObject *) ebin->profile); break; case PROP_QUEUE_BUFFERS_MAX: g_value_set_uint (value, ebin->queue_buffers_max); diff --git a/gst/playback/gstplaybin.c b/gst/playback/gstplaybin.c index 3aecd7c2e8..ac260130c5 100644 --- a/gst/playback/gstplaybin.c +++ b/gst/playback/gstplaybin.c @@ -408,7 +408,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass) 0.0, VOLUME_MAX_DOUBLE, 1.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_klass, ARG_FRAME, - gst_param_spec_mini_object ("frame", "Frame", + g_param_spec_boxed ("frame", "Frame", "The last frame (NULL = no video available)", GST_TYPE_BUFFER, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_klass, ARG_FONT_DESC, diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 30aa71618b..96c92bfc18 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -754,7 +754,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass) * The #GstCaps on the buffer will describe the format of the buffer. */ g_object_class_install_property (gobject_klass, PROP_FRAME, - gst_param_spec_mini_object ("frame", "Frame", + g_param_spec_boxed ("frame", "Frame", "The last frame (NULL = no video available)", GST_TYPE_BUFFER, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_klass, PROP_FONT_DESC, diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index 5ba637ac40..f34d705629 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -365,7 +365,7 @@ gst_play_sink_class_init (GstPlaySinkClass * klass) * Since: 0.10.30 */ g_object_class_install_property (gobject_klass, PROP_FRAME, - gst_param_spec_mini_object ("frame", "Frame", + g_param_spec_boxed ("frame", "Frame", "The last frame (NULL = no video available)", GST_TYPE_BUFFER, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); /** diff --git a/gst/subparse/gstssaparse.c b/gst/subparse/gstssaparse.c index 5aa68e32eb..ccc9730dbb 100644 --- a/gst/subparse/gstssaparse.c +++ b/gst/subparse/gstssaparse.c @@ -152,7 +152,7 @@ gst_ssa_parse_setcaps (GstPad * sinkpad, GstCaps * caps) parse->framed = TRUE; parse->send_tags = TRUE; - priv = (GstBuffer *) gst_value_get_mini_object (val); + priv = (GstBuffer *) g_value_get_boxed (val); g_return_val_if_fail (priv != NULL, FALSE); gst_buffer_ref (priv);