mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +00:00
Revert "tools: print TOC scope"
This reverts commit ee6ab7c936
.
The application will probably only ever receive global TOCs,
so don't really need this.
This commit is contained in:
parent
09c9a3a694
commit
04142a9653
1 changed files with 0 additions and 6 deletions
|
@ -681,7 +681,6 @@ event_loop (GstElement * pipeline, gboolean blocking, GstState target_state)
|
||||||
break;
|
break;
|
||||||
case GST_MESSAGE_TOC:
|
case GST_MESSAGE_TOC:
|
||||||
if (toc) {
|
if (toc) {
|
||||||
GstTocScope toc_scope;
|
|
||||||
GstToc *toc;
|
GstToc *toc;
|
||||||
GList *entries;
|
GList *entries;
|
||||||
gboolean updated;
|
gboolean updated;
|
||||||
|
@ -697,11 +696,6 @@ event_loop (GstElement * pipeline, gboolean blocking, GstState target_state)
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_message_parse_toc (message, &toc, &updated);
|
gst_message_parse_toc (message, &toc, &updated);
|
||||||
|
|
||||||
toc_scope = gst_toc_get_scope (toc);
|
|
||||||
PRINT (_(" TOC scope: %s\n"),
|
|
||||||
(toc_scope == GST_TOC_SCOPE_GLOBAL) ? _("global") : _("current"));
|
|
||||||
|
|
||||||
/* recursively loop over toc entries */
|
/* recursively loop over toc entries */
|
||||||
entries = gst_toc_get_entries (toc);
|
entries = gst_toc_get_entries (toc);
|
||||||
g_list_foreach (entries, print_toc_entry, GUINT_TO_POINTER (0));
|
g_list_foreach (entries, print_toc_entry, GUINT_TO_POINTER (0));
|
||||||
|
|
Loading…
Reference in a new issue