summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2017-06-13 02:32:09 +0200
committerMathieu Duponchelle <mathieu@centricular.com>2017-10-11 19:47:24 +0200
commit1d5a6627d8bccd6f90a9a245e96f9f65757ff30f (patch)
tree3b1b946a6b81f44f0f08fa0b83b6f0fe9e078230
parent545e0b003bc2b3fe7251e571393cb17ee7621a6e (diff)
discoverer: output whether the uri is live
https://bugzilla.gnome.org/show_bug.cgi?id=783722
-rw-r--r--tools/gst-discoverer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gst-discoverer.c b/tools/gst-discoverer.c
index 37bb9859d..52ab51399 100644
--- a/tools/gst-discoverer.c
+++ b/tools/gst-discoverer.c
@@ -365,6 +365,8 @@ print_properties (GstDiscovererInfo * info, gint tab)
GST_TIME_ARGS (gst_discoverer_info_get_duration (info)));
g_print ("%*sSeekable: %s\n", tab + 1, " ",
(gst_discoverer_info_get_seekable (info) ? "yes" : "no"));
+ g_print ("%*sLive: %s\n", tab + 1, " ",
+ (gst_discoverer_info_get_live (info) ? "yes" : "no"));
if ((tags = gst_discoverer_info_get_tags (info))) {
g_print ("%*sTags: \n", tab + 1, " ");
gst_tag_list_foreach (tags, print_tag_foreach, GUINT_TO_POINTER (tab + 2));