mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
discoverer: output whether the uri is live
https://bugzilla.gnome.org/show_bug.cgi?id=783722
This commit is contained in:
parent
545e0b003b
commit
1d5a6627d8
1 changed files with 2 additions and 0 deletions
|
@ -365,6 +365,8 @@ print_properties (GstDiscovererInfo * info, gint tab)
|
||||||
GST_TIME_ARGS (gst_discoverer_info_get_duration (info)));
|
GST_TIME_ARGS (gst_discoverer_info_get_duration (info)));
|
||||||
g_print ("%*sSeekable: %s\n", tab + 1, " ",
|
g_print ("%*sSeekable: %s\n", tab + 1, " ",
|
||||||
(gst_discoverer_info_get_seekable (info) ? "yes" : "no"));
|
(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))) {
|
if ((tags = gst_discoverer_info_get_tags (info))) {
|
||||||
g_print ("%*sTags: \n", tab + 1, " ");
|
g_print ("%*sTags: \n", tab + 1, " ");
|
||||||
gst_tag_list_foreach (tags, print_tag_foreach, GUINT_TO_POINTER (tab + 2));
|
gst_tag_list_foreach (tags, print_tag_foreach, GUINT_TO_POINTER (tab + 2));
|
||||||
|
|
Loading…
Reference in a new issue