mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
flacenc: Use the tag merge mode that was set on the interface for merging tag events
This commit is contained in:
parent
b3782442ae
commit
5a7edcbd81
1 changed files with 2 additions and 1 deletions
|
@ -1003,7 +1003,8 @@ gst_flac_enc_sink_event (GstPad * pad, GstEvent * event)
|
|||
case GST_EVENT_TAG:
|
||||
if (flacenc->tags) {
|
||||
gst_event_parse_tag (event, &taglist);
|
||||
gst_tag_list_insert (flacenc->tags, taglist, GST_TAG_MERGE_REPLACE);
|
||||
gst_tag_list_insert (flacenc->tags, taglist,
|
||||
gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (flacenc)));
|
||||
} else {
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue