From 1e3d8a8350db8b284de339b3acab0d567356d25f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 5 Jul 2012 12:37:01 +0200 Subject: [PATCH] part-toc: Remove section about TOC query --- docs/design/part-toc.txt | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/design/part-toc.txt b/docs/design/part-toc.txt index f66fef0..6b5ee43 100644 --- a/docs/design/part-toc.txt +++ b/docs/design/part-toc.txt @@ -58,16 +58,7 @@ timestamps for each item using gst_toc_entry_set_start_stop(). The best way to process already created GstToc is to recursively go through the 'entries' and 'subentries' fields. -2. Working with GstQuery - -GstQuery with GstToc can be created using gst_query_new_toc(). Use -gst_query_set_toc() to set TOC into the query and parse it with -gst_query_parse_toc(). The 'extend_uid' parameter (0 for root level) in two -last methods should be used for TOC extending: get GstTocEntry with -gst_toc_find_entry() by given UID and use it to add your own chapters/editions. -The common action on such query is to set TOC for it. - -3. Working with GstMessage +2. Working with GstMessage GstMessage with GstToc can be created using gst_message_new_toc() and parsed with gst_message_parse_toc(). The 'updated' parameter in these methods indicates @@ -75,7 +66,7 @@ whether the TOC was just discovered (set to false) or TOC was already found and have been updated (set to true). The common usage for such message is to post it to pipeline in case you have discovered TOC data within your element. -4. Working with GstEvent +3. Working with GstEvent GstToc supports select event through GstEvent infrastructure. The idea is the following: when you receive TOC select event, parse it with -- 2.7.4