summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorCody Russell <bratsche@gnome.org>2006-06-22 10:10:51 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-06-22 10:10:51 +0000
commitea0de11a50da0afd151fb92f30bc216df6e52a56 (patch)
treee7f528e4626ec7dd753001c40b0c5bf3e0bd428e /gst
parent6076d6ad009bde493847aecd5f054ce77dd2e526 (diff)
downloadgst-plugins-bad-ea0de11a50da0afd151fb92f30bc216df6e52a56.tar.gz
gst-plugins-bad-ea0de11a50da0afd151fb92f30bc216df6e52a56.tar.bz2
gst-plugins-bad-ea0de11a50da0afd151fb92f30bc216df6e52a56.zip
gst/: Avoid unnecessary class cast check in class_init functions (#337747).
Original commit message from CVS: Patch by: Cody Russell <bratsche at gnome org> * gst/audioresample/gstaudioresample.c: (gst_audioresample_class_init): * gst/playback/gststreamselector.c: (gst_stream_selector_class_init): * gst/subparse/gstsubparse.c: (gst_sub_parse_class_init): * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init): * gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_class_init): * gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_class_init): * gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_class_init): * gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_class_init): * gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init): * gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_class_init): * gst/volume/gstvolume.c: (gst_volume_class_init): Avoid unnecessary class cast check in class_init functions (#337747).
Diffstat (limited to 'gst')
-rw-r--r--gst/audioresample/gstaudioresample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c
index 732ada70..687a0637 100644
--- a/gst/audioresample/gstaudioresample.c
+++ b/gst/audioresample/gstaudioresample.c
@@ -156,7 +156,7 @@ gst_audioresample_class_init (GstAudioresampleClass * klass)
gobject_class->set_property = gst_audioresample_set_property;
gobject_class->get_property = gst_audioresample_get_property;
- g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_FILTERLEN,
+ g_object_class_install_property (gobject_class, PROP_FILTERLEN,
g_param_spec_int ("filter_length", "filter_length", "filter_length",
0, G_MAXINT, DEFAULT_FILTERLEN,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));