mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
avidemux: expose 'strn' - stream name - as title tag
This commit is contained in:
parent
5384da2a1f
commit
addf5c79a2
1 changed files with 5 additions and 0 deletions
|
@ -2213,6 +2213,11 @@ gst_avi_demux_parse_stream (GstAviDemux * avi, GstBuffer * buf)
|
|||
gst_buffer_unmap (sub, &map);
|
||||
gst_buffer_unref (sub);
|
||||
sub = NULL;
|
||||
|
||||
if (avi->globaltags == NULL)
|
||||
avi->globaltags = gst_tag_list_new_empty ();
|
||||
gst_tag_list_add (avi->globaltags, GST_TAG_MERGE_REPLACE,
|
||||
GST_TAG_TITLE, stream->name, NULL);
|
||||
} else {
|
||||
stream->name = g_strdup ("");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue