diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-02-23 15:46:56 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-02-28 11:50:03 +0100 |
commit | 03c710d6cd272c5c1fda840c12c35ccbc48423f8 (patch) | |
tree | b58ec71489b6e042a4cd55ede89afffbddce3cc2 | |
parent | b967bf531b2773d02c7fd9f3dbbc5f6a409cf0f7 (diff) |
miniobject: fix for changed miniobject
-rw-r--r-- | gst/encoding/gstencodebin.c | 6 | ||||
-rw-r--r-- | gst/playback/gstplaybin.c | 2 | ||||
-rw-r--r-- | gst/playback/gstplaybin2.c | 2 | ||||
-rw-r--r-- | gst/playback/gstplaysink.c | 2 | ||||
-rw-r--r-- | gst/subparse/gstssaparse.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index c1a0e8bbc..6ad8e60ac 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 3aecd7c2e..ac260130c 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 30aa71618..96c92bfc1 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 5ba637ac4..f34d70562 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 5aa68e32e..ccc9730db 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); |