diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-05-05 23:20:11 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2014-09-18 13:38:00 -0400 |
commit | 9c7aa550ed0ea0b6962c7e3c1f42d7af253ea0fa (patch) | |
tree | 980c7a99eac9309e249b3de452d102db925302c9 /farstream | |
parent | 220236e6564486571b0e7eae079b9cb6a554b933 (diff) | |
download | farstream-9c7aa550ed0ea0b6962c7e3c1f42d7af253ea0fa.tar.gz |
transmitter: Remove recvonly-filter
It was pretty much useless anyway.
Diffstat (limited to 'farstream')
-rw-r--r-- | farstream/fs-transmitter.c | 49 | ||||
-rw-r--r-- | farstream/fs-transmitter.h | 4 |
2 files changed, 0 insertions, 53 deletions
diff --git a/farstream/fs-transmitter.c b/farstream/fs-transmitter.c index 9552053d..73cbcd5c 100644 --- a/farstream/fs-transmitter.c +++ b/farstream/fs-transmitter.c @@ -50,7 +50,6 @@ enum { ERROR_SIGNAL, - GET_RECVONLY_FILTER_SIGNAL, LAST_SIGNAL }; @@ -195,29 +194,6 @@ fs_transmitter_class_init (FsTransmitterClass *klass) NULL, NULL, NULL, G_TYPE_NONE, 2, FS_TYPE_ERROR, G_TYPE_STRING); - /** - * FsTransmitter::get-recvonly-filter: - * @self: #FsTransmitter that emitted the signal - * @component: The component that the filter will be used for - * - * This signal is emitted when the transmitter wants to get a filter for - * to use if sending is disabled. If you want to drop all buffers, just - * don't listen to the signal. - * - * This element should have a "sending" property that can be changed with the - * sending state of the stream. It should default to %TRUE. - * - * Returns: (transfer full) (allow-none): the #GstElement to use as the - * filter, or %NULL to drop everything - */ - - signals[GET_RECVONLY_FILTER_SIGNAL] = g_signal_new ("get-recvonly-filter", - G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, - 0, NULL, NULL, NULL, - GST_TYPE_ELEMENT, 1, G_TYPE_UINT); - - //g_type_class_add_private (klass, sizeof (FsTransmitterPrivate)); } @@ -390,28 +366,3 @@ fs_transmitter_list_available (void) { return fs_plugin_list_available ("transmitter"); } - -/** - * fs_transmitter_get_recvonly_filter: - * @transmitter: A #FsTransmitter object - * @component: The component to get the filter for - * - * Get the filter to add on the send pipeline if sending is disabled. - * - * Only for use by subclasses. - * - * Returns: (transfer full) (allow-none): a #GstElement to use as the filter or - * %NULL - */ - -GstElement * -fs_transmitter_get_recvonly_filter (FsTransmitter *transmitter, - guint component) -{ - GstElement *element = NULL; - - g_signal_emit (transmitter, signals[GET_RECVONLY_FILTER_SIGNAL], 0, component, - &element); - - return element; -} diff --git a/farstream/fs-transmitter.h b/farstream/fs-transmitter.h index 302e531e..51fb3255 100644 --- a/farstream/fs-transmitter.h +++ b/farstream/fs-transmitter.h @@ -117,10 +117,6 @@ void fs_transmitter_emit_error (FsTransmitter *transmitter, char **fs_transmitter_list_available (void); -GstElement * -fs_transmitter_get_recvonly_filter (FsTransmitter *transmitter, - guint component); - G_END_DECLS #endif /* __FS_TRANSMITTER_H__ */ |