Lines Matching refs:toc
791 GstToc *toc; in gst_wavenc_write_toc() local
798 if (!wavenc->toc) { in gst_wavenc_write_toc()
800 wavenc->toc = gst_toc_setter_get_toc (GST_TOC_SETTER (wavenc)); in gst_wavenc_write_toc()
802 if (!wavenc->toc) { in gst_wavenc_write_toc()
807 toc = gst_toc_ref (wavenc->toc); in gst_wavenc_write_toc()
814 list = gst_toc_get_entries (toc); in gst_wavenc_write_toc()
833 list = gst_toc_get_entries (toc); in gst_wavenc_write_toc()
922 if (toc) in gst_wavenc_write_toc()
923 gst_toc_unref (toc); in gst_wavenc_write_toc()
943 GstToc *toc; in gst_wavenc_event() local
991 gst_event_parse_toc (event, &toc, NULL); in gst_wavenc_event()
992 if (toc) { in gst_wavenc_event()
993 if (wavenc->toc != toc) { in gst_wavenc_event()
994 if (wavenc->toc) in gst_wavenc_event()
995 gst_toc_unref (wavenc->toc); in gst_wavenc_event()
996 wavenc->toc = toc; in gst_wavenc_event()
998 gst_toc_unref (toc); in gst_wavenc_event()
1127 GST_DEBUG_OBJECT (wavenc, "toc: %p", wavenc->toc); in gst_wavenc_change_state()
1128 if (wavenc->toc) { in gst_wavenc_change_state()
1129 gst_toc_unref (wavenc->toc); in gst_wavenc_change_state()
1130 wavenc->toc = NULL; in gst_wavenc_change_state()