Lines Matching refs:eit
108 _gst_mpegts_eit_event_copy (GstMpegtsEITEvent * eit) in _gst_mpegts_eit_event_copy() argument
112 copy = g_slice_dup (GstMpegtsEITEvent, eit); in _gst_mpegts_eit_event_copy()
113 copy->start_time = gst_date_time_ref (eit->start_time); in _gst_mpegts_eit_event_copy()
114 copy->descriptors = g_ptr_array_ref (eit->descriptors); in _gst_mpegts_eit_event_copy()
120 _gst_mpegts_eit_event_free (GstMpegtsEITEvent * eit) in _gst_mpegts_eit_event_free() argument
122 if (eit->start_time) in _gst_mpegts_eit_event_free()
123 gst_date_time_unref (eit->start_time); in _gst_mpegts_eit_event_free()
124 if (eit->descriptors) in _gst_mpegts_eit_event_free()
125 g_ptr_array_unref (eit->descriptors); in _gst_mpegts_eit_event_free()
126 g_slice_free (GstMpegtsEITEvent, eit); in _gst_mpegts_eit_event_free()
134 _gst_mpegts_eit_copy (GstMpegtsEIT * eit) in _gst_mpegts_eit_copy() argument
138 copy = g_slice_dup (GstMpegtsEIT, eit); in _gst_mpegts_eit_copy()
139 copy->events = g_ptr_array_ref (eit->events); in _gst_mpegts_eit_copy()
145 _gst_mpegts_eit_free (GstMpegtsEIT * eit) in _gst_mpegts_eit_free() argument
147 g_ptr_array_unref (eit->events); in _gst_mpegts_eit_free()
148 g_slice_free (GstMpegtsEIT, eit); in _gst_mpegts_eit_free()
157 GstMpegtsEIT *eit = NULL; in _parse_eit() local
162 eit = g_slice_new0 (GstMpegtsEIT); in _parse_eit()
170 eit->transport_stream_id = GST_READ_UINT16_BE (data); in _parse_eit()
172 eit->original_network_id = GST_READ_UINT16_BE (data); in _parse_eit()
174 eit->segment_last_section_number = *data++; in _parse_eit()
175 eit->last_table_id = *data++; in _parse_eit()
177 eit->actual_stream = (section->table_id == 0x4E || in _parse_eit()
179 eit->present_following = (section->table_id == 0x4E in _parse_eit()
182 eit->events = in _parse_eit()
197 g_ptr_array_add (eit->events, event); in _parse_eit()
232 return (gpointer) eit; in _parse_eit()
235 if (eit) in _parse_eit()
236 _gst_mpegts_eit_free (eit); in _parse_eit()