New InfoVisitor: get string to describe sources

Unified code in ImGui visitor and Player
This commit is contained in:
Bruno
2021-05-24 20:39:56 +02:00
parent e49bdac3e8
commit 95378660dd
8 changed files with 345 additions and 59 deletions

View File

@@ -186,7 +186,7 @@ MediaInfo MediaPlayer::UriDiscoverer(const std::string &uri)
if ( tags ) {
gchar *container = NULL;
if ( gst_tag_list_get_string (tags, GST_TAG_CONTAINER_FORMAT, &container) )
video_stream_info.codec_name += " " + std::string(container);
video_stream_info.codec_name += ", " + std::string(container);
if (container)
g_free(container);
}