diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2009-04-14 21:07:32 +0200 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-20 15:21:28 +0100 |
commit | 4ee4429c1ac2a1927ee71a19427a7cc9498f8cab (patch) | |
tree | 9f9834a25052a17732b3dd66c67b5f338cfe0f55 /sys | |
parent | 500861d5171e3c0811a9c8bdf1b9b5631a77f7fe (diff) | |
download | gst-plugins-bad-4ee4429c1ac2a1927ee71a19427a7cc9498f8cab.tar.gz gst-plugins-bad-4ee4429c1ac2a1927ee71a19427a7cc9498f8cab.tar.bz2 gst-plugins-bad-4ee4429c1ac2a1927ee71a19427a7cc9498f8cab.zip |
vdpau: remove "silent" property from GstVdpDecoder
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vdpau/gstvdpdecoder.c | 14 | ||||
-rw-r--r-- | sys/vdpau/gstvdpdecoder.h | 2 |
2 files changed, 1 insertions, 15 deletions
diff --git a/sys/vdpau/gstvdpdecoder.c b/sys/vdpau/gstvdpdecoder.c index ba1ca7c0..fc8beb1f 100644 --- a/sys/vdpau/gstvdpdecoder.c +++ b/sys/vdpau/gstvdpdecoder.c @@ -40,8 +40,7 @@ enum enum { PROP_0, - PROP_DISPLAY, - PROP_SILENT + PROP_DISPLAY }; static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", @@ -187,10 +186,6 @@ gst_vdp_decoder_class_init (GstVdpDecoderClass * klass) g_param_spec_string ("display", "Display", "X Display name", NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); - 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)); - gstelement_class->change_state = gst_vdp_decoder_change_state; } @@ -199,7 +194,6 @@ gst_vdp_decoder_init (GstVdpDecoder * dec, GstVdpDecoderClass * klass) { dec->display_name = NULL; dec->device = NULL; - dec->silent = FALSE; dec->height = 0; dec->width = 0; @@ -240,9 +234,6 @@ gst_vdp_decoder_set_property (GObject * object, guint prop_id, g_free (dec->display_name); dec->display_name = g_value_dup_string (value); break; - case PROP_SILENT: - dec->silent = g_value_get_boolean (value); - break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; @@ -259,9 +250,6 @@ gst_vdp_decoder_get_property (GObject * object, guint prop_id, case PROP_DISPLAY: g_value_set_string (value, dec->display_name); break; - case PROP_SILENT: - g_value_set_boolean (value, dec->silent); - break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; diff --git a/sys/vdpau/gstvdpdecoder.h b/sys/vdpau/gstvdpdecoder.h index f918225e..8dc4ad66 100644 --- a/sys/vdpau/gstvdpdecoder.h +++ b/sys/vdpau/gstvdpdecoder.h @@ -53,8 +53,6 @@ struct _GstVdpDecoder { guint32 format; gint frame_nr; - - gboolean silent; }; struct _GstVdpDecoderClass { |