diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2011-05-10 17:59:29 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2011-05-10 21:15:14 -0400 |
commit | 8ad7a67d943bc0aae96a97f049c0bd14ce342b5e (patch) | |
tree | 5b64b7f711d715ccf511948df9195536740c29b7 /transmitters/multicast | |
parent | fb125f32c9bb03e7ff55a97e35b073e04fe4c516 (diff) | |
download | farstream-8ad7a67d943bc0aae96a97f049c0bd14ce342b5e.tar.gz |
Don't check for property we know to be there
We require a newer version of gst-plugins-good/base/bad/etc now
so no need to check if the properties exist at runtime.
Diffstat (limited to 'transmitters/multicast')
-rw-r--r-- | transmitters/multicast/fs-multicast-transmitter.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/transmitters/multicast/fs-multicast-transmitter.c b/transmitters/multicast/fs-multicast-transmitter.c index 6b6322cd..f99fdd20 100644 --- a/transmitters/multicast/fs-multicast-transmitter.c +++ b/transmitters/multicast/fs-multicast-transmitter.c @@ -707,12 +707,9 @@ _create_sinksource (gchar *elementname, GstBin *bin, g_object_set (elem, "closefd", FALSE, "sockfd", fd, + "auto-multicast", FALSE, NULL); - if (g_object_class_find_property (G_OBJECT_GET_CLASS (elem), - "auto-multicast")) - g_object_set (elem, "auto-multicast", FALSE, NULL); - if (!gst_bin_add (bin, elem)) { g_set_error (error, FS_ERROR, FS_ERROR_CONSTRUCTION, "Could not add the %s element to the gst %s bin", elementname, |