Lines Matching refs:pmt
244 GstMpegtsPMT *pmt; in GST_START_TEST() local
253 pmt = gst_mpegts_pmt_new (); in GST_START_TEST()
255 pmt->pcr_pid = 0x1FFF; in GST_START_TEST()
256 pmt->program_number = 1; in GST_START_TEST()
259 g_ptr_array_add (pmt->descriptors, desc); in GST_START_TEST()
270 g_ptr_array_add (pmt->streams, stream); in GST_START_TEST()
273 pmt_section = gst_mpegts_section_from_pmt (pmt, 0x30); in GST_START_TEST()
277 pmt = (GstMpegtsPMT *) gst_mpegts_section_get_pmt (pmt_section); in GST_START_TEST()
279 fail_unless (pmt->pcr_pid == 0x1FFF); in GST_START_TEST()
280 fail_unless (pmt->program_number == 1); in GST_START_TEST()
281 fail_unless (pmt->descriptors->len == 1); in GST_START_TEST()
282 fail_unless (pmt->streams->len == 2); in GST_START_TEST()
284 desc = (GstMpegtsDescriptor *) gst_mpegts_find_descriptor (pmt->descriptors, in GST_START_TEST()
289 stream = g_ptr_array_index (pmt->streams, i); in GST_START_TEST()
314 pmt = (GstMpegtsPMT *) gst_mpegts_section_get_pmt (pmt_section); in GST_START_TEST()
316 fail_unless (pmt == NULL); in GST_START_TEST()