mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
validate:media-descriptor-writer: cleanup get tag code
https://bugzilla.gnome.org/show_bug.cgi?id=750609
This commit is contained in:
parent
8b38d4745b
commit
de6b24d905
1 changed files with 4 additions and 3 deletions
|
@ -514,6 +514,7 @@ gst_media_descriptor_writer_new_discover (GstValidateRunner * runner,
|
|||
GstDiscovererStreamInfo *streaminfo = NULL;
|
||||
GstMediaDescriptorWriter *writer = NULL;
|
||||
GstMediaDescriptor *media_descriptor;
|
||||
const GstTagList *tags;
|
||||
|
||||
discoverer = gst_discoverer_new (GST_SECOND * 60, err);
|
||||
|
||||
|
@ -542,9 +543,9 @@ gst_media_descriptor_writer_new_discover (GstValidateRunner * runner,
|
|||
if (handle_g_logs)
|
||||
gst_validate_reporter_set_handle_g_logs (GST_VALIDATE_REPORTER (writer));
|
||||
|
||||
if (gst_discoverer_info_get_tags (info))
|
||||
gst_media_descriptor_writer_add_taglist (writer,
|
||||
gst_discoverer_info_get_tags (info));
|
||||
tags = gst_discoverer_info_get_tags (info);
|
||||
if (tags)
|
||||
gst_media_descriptor_writer_add_taglist (writer, tags);
|
||||
|
||||
streaminfo = gst_discoverer_info_get_stream_info (info);
|
||||
|
||||
|
|
Loading…
Reference in a new issue