mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
New InfoVisitor: get string to describe sources
Unified code in ImGui visitor and Player
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user