diff options
Diffstat (limited to 'farstream/fs-transmitter.c')
-rw-r--r-- | farstream/fs-transmitter.c | 49 |
1 files changed, 0 insertions, 49 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; -} |