diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2009-04-13 20:04:21 +0200 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-20 15:21:26 +0100 |
commit | 91ff1579f32a6c0d9769cf44f5065d2811ba01f7 (patch) | |
tree | b8db37942d9c632326dd5d432bcaaeef67fc3783 /sys/vdpau/gstvdpauvideoyuv.c | |
parent | a7170c6ef7e1dd7d623b5a0d61a654b433b2ec2d (diff) | |
download | gst-plugins-bad-91ff1579f32a6c0d9769cf44f5065d2811ba01f7.tar.gz gst-plugins-bad-91ff1579f32a6c0d9769cf44f5065d2811ba01f7.tar.bz2 gst-plugins-bad-91ff1579f32a6c0d9769cf44f5065d2811ba01f7.zip |
vdpau: remove unused "silent" properties
Diffstat (limited to 'sys/vdpau/gstvdpauvideoyuv.c')
-rw-r--r-- | sys/vdpau/gstvdpauvideoyuv.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/vdpau/gstvdpauvideoyuv.c b/sys/vdpau/gstvdpauvideoyuv.c index f7ebe8a9..879e4562 100644 --- a/sys/vdpau/gstvdpauvideoyuv.c +++ b/sys/vdpau/gstvdpauvideoyuv.c @@ -40,8 +40,7 @@ enum enum { - PROP_0, - PROP_SILENT + PROP_0 }; static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", @@ -387,17 +386,12 @@ gst_vdpau_video_yuv_class_init (GstVdpauVideoYUVClass * klass) gobject_class->finalize = gst_vdpau_video_yuv_finalize; gobject_class->set_property = gst_vdpau_video_yuv_set_property; gobject_class->get_property = gst_vdpau_video_yuv_get_property; - - g_object_class_install_property (gobject_class, PROP_SILENT, - g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?", - FALSE, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); } static void gst_vdpau_video_yuv_init (GstVdpauVideoYUV * video_yuv, GstVdpauVideoYUVClass * klass) { - video_yuv->silent = FALSE; video_yuv->src_caps = NULL; video_yuv->height = 0; @@ -433,12 +427,7 @@ static void gst_vdpau_video_yuv_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - GstVdpauVideoYUV *video_yuv = GST_VDPAU_VIDEO_YUV (object); - switch (prop_id) { - case PROP_SILENT: - video_yuv->silent = g_value_get_boolean (value); - break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; @@ -449,12 +438,7 @@ static void gst_vdpau_video_yuv_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - GstVdpauVideoYUV *video_yuv = GST_VDPAU_VIDEO_YUV (object); - switch (prop_id) { - case PROP_SILENT: - g_value_set_boolean (value, video_yuv->silent); - break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; |