[0.11] gst-plugins-bad: camerabin2: encoding profiles are objects in 0.11

Edward Hervey bilboed at kemper.freedesktop.org
Mon Jan 2 06:55:45 PST 2012


Module: gst-plugins-bad
Branch: 0.11
Commit: f017f9a913060ce5154cfc651edbbc53cead09c3
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=f017f9a913060ce5154cfc651edbbc53cead09c3

Author: Edward Hervey <edward.hervey at collabora.co.uk>
Date:   Mon Jan  2 15:55:21 2012 +0100

camerabin2: encoding profiles are objects in 0.11

---

 gst/camerabin2/gstcamerabin2.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c
index ad22826..cd21647 100644
--- a/gst/camerabin2/gstcamerabin2.c
+++ b/gst/camerabin2/gstcamerabin2.c
@@ -755,7 +755,7 @@ gst_camera_bin_class_init (GstCameraBin2Class * klass)
           GST_TYPE_CAPS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   g_object_class_install_property (object_class, PROP_VIDEO_ENCODING_PROFILE,
-      g_param_spec_boxed ("video-profile", "Video Profile",
+      g_param_spec_object ("video-profile", "Video Profile",
           "The GstEncodingProfile to use for video recording. Audio is enabled "
           "when this profile supports audio.", GST_TYPE_ENCODING_PROFILE,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
@@ -828,7 +828,7 @@ gst_camera_bin_class_init (GstCameraBin2Class * klass)
    *   getting the 2nd buffer.
    */
   g_object_class_install_property (object_class, PROP_IMAGE_ENCODING_PROFILE,
-      g_param_spec_boxed ("image-profile", "Image Profile",
+      g_param_spec_object ("image-profile", "Image Profile",
           "The GstEncodingProfile to use for image captures.",
           GST_TYPE_ENCODING_PROFILE,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));



More information about the gstreamer-commits mailing list