comparison libpurple/media-gst.h @ 31814:55e30c0eca22

Public API allowing plugins (including prpls) to get/set video capabilities where desired/appropriate. Fixes #13095. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author jakub.adam@ktknet.cz
date Sat, 08 Jan 2011 03:21:44 +0000
parents 713987ae3215
children 02a2e8183b1d
comparison
equal deleted inserted replaced
31813:ea2a155b4439 31814:55e30c0eca22
157 gboolean purple_media_manager_set_active_element(PurpleMediaManager *manager, 157 gboolean purple_media_manager_set_active_element(PurpleMediaManager *manager,
158 PurpleMediaElementInfo *info); 158 PurpleMediaElementInfo *info);
159 PurpleMediaElementInfo *purple_media_manager_get_active_element( 159 PurpleMediaElementInfo *purple_media_manager_get_active_element(
160 PurpleMediaManager *manager, PurpleMediaElementType type); 160 PurpleMediaManager *manager, PurpleMediaElementType type);
161 161
162 /**
163 * Reduces media formats supported by the video source to given set.
164 *
165 * Useful to force negotiation of smaller picture resolution more suitable for
166 * use with particular codec and communication protocol without rescaling.
167 *
168 * @param manager The media manager to set the media formats.
169 * @param caps Set of allowed media formats.
170 *
171 * @since 2.8.0
172 */
173 void purple_media_manager_set_video_caps(PurpleMediaManager *manager,
174 GstCaps *caps);
175
176 /**
177 * Returns current set of media formats limiting the output from video source.
178 *
179 * @param manager The media manager to get the media formats from.
180 *
181 * @return @c GstCaps limiting the video source's formats.
182 *
183 * @since 2.8.0
184 */
185 GstCaps *purple_media_manager_get_video_caps(PurpleMediaManager *manager);
186
162 gchar *purple_media_element_info_get_id(PurpleMediaElementInfo *info); 187 gchar *purple_media_element_info_get_id(PurpleMediaElementInfo *info);
163 gchar *purple_media_element_info_get_name(PurpleMediaElementInfo *info); 188 gchar *purple_media_element_info_get_name(PurpleMediaElementInfo *info);
164 PurpleMediaElementType purple_media_element_info_get_element_type( 189 PurpleMediaElementType purple_media_element_info_get_element_type(
165 PurpleMediaElementInfo *info); 190 PurpleMediaElementInfo *info);
166 GstElement *purple_media_element_info_call_create( 191 GstElement *purple_media_element_info_call_create(