Lines Matching refs:ext
70 check_caps (GstRTPHeaderExtension * ext, gboolean vad) in check_caps() argument
77 fail_unless (gst_rtp_header_extension_set_caps_from_attributes (ext, caps)); in check_caps()
103 GstRTPHeaderExtension *ext; in GST_START_TEST() local
107 ext = gst_rtp_header_extension_create_from_uri (URN); in GST_START_TEST()
108 fail_unless (ext != NULL); in GST_START_TEST()
109 gst_rtp_header_extension_set_id (ext, 1); in GST_START_TEST()
113 fail_unless (gst_rtp_header_extension_set_attributes_from_caps (ext, caps)); in GST_START_TEST()
115 g_object_get (ext, "vad", &vad, NULL); in GST_START_TEST()
117 check_caps (ext, TRUE); in GST_START_TEST()
121 fail_unless (gst_rtp_header_extension_set_attributes_from_caps (ext, caps)); in GST_START_TEST()
123 g_object_get (ext, "vad", &vad, NULL); in GST_START_TEST()
128 fail_unless (gst_rtp_header_extension_set_attributes_from_caps (ext, caps)); in GST_START_TEST()
130 g_object_get (ext, "vad", &vad, NULL); in GST_START_TEST()
135 fail_if (gst_rtp_header_extension_set_attributes_from_caps (ext, caps)); in GST_START_TEST()
138 gst_object_unref (ext); in GST_START_TEST()
145 GstRTPHeaderExtension *ext; in GST_START_TEST() local
154 ext = gst_rtp_header_extension_create_from_uri (URN); in GST_START_TEST()
155 fail_unless (ext != NULL); in GST_START_TEST()
156 gst_rtp_header_extension_set_id (ext, 1); in GST_START_TEST()
158 flags = gst_rtp_header_extension_get_supported_flags (ext); in GST_START_TEST()
164 size = gst_rtp_header_extension_get_max_size (ext, buffer); in GST_START_TEST()
171 gst_rtp_header_extension_write (ext, buffer, in GST_START_TEST()
177 fail_unless (gst_rtp_header_extension_read (ext, in GST_START_TEST()
186 gst_object_unref (ext); in GST_START_TEST()
193 GstRTPHeaderExtension *ext; in GST_START_TEST() local
202 ext = gst_rtp_header_extension_create_from_uri (URN); in GST_START_TEST()
203 fail_unless (ext != NULL); in GST_START_TEST()
204 gst_rtp_header_extension_set_id (ext, 1); in GST_START_TEST()
206 flags = gst_rtp_header_extension_get_supported_flags (ext); in GST_START_TEST()
212 size = gst_rtp_header_extension_get_max_size (ext, buffer); in GST_START_TEST()
219 gst_rtp_header_extension_write (ext, buffer, in GST_START_TEST()
225 fail_unless (gst_rtp_header_extension_read (ext, in GST_START_TEST()
234 gst_object_unref (ext); in GST_START_TEST()
241 GstRTPHeaderExtension *ext; in GST_START_TEST() local
246 ext = gst_rtp_header_extension_create_from_uri (URN); in GST_START_TEST()
247 fail_unless (ext != NULL); in GST_START_TEST()
248 gst_rtp_header_extension_set_id (ext, 1); in GST_START_TEST()
252 size = gst_rtp_header_extension_get_max_size (ext, buffer); in GST_START_TEST()
258 gst_rtp_header_extension_write (ext, buffer, in GST_START_TEST()
263 gst_rtp_header_extension_write (ext, buffer, in GST_START_TEST()
269 gst_object_unref (ext); in GST_START_TEST()
310 GstRTPHeaderExtension *ext; in GST_START_TEST() local
323 ext = gst_rtp_header_extension_create_from_uri (URN); in GST_START_TEST()
324 gst_rtp_header_extension_set_id (ext, 2); in GST_START_TEST()
325 fail_unless (ext); in GST_START_TEST()
326 g_signal_emit_by_name (h->element, "add-extension", ext); in GST_START_TEST()
345 gst_object_unref (ext); in GST_START_TEST()