mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
wavenc: Fix taglist ref handling that made the unit test fail
This commit is contained in:
parent
28abae4eef
commit
ea75b890dc
1 changed files with 1 additions and 3 deletions
|
@ -835,9 +835,7 @@ gst_wavenc_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
if (wavenc->tags != tags) {
|
||||
if (wavenc->tags)
|
||||
gst_tag_list_unref (wavenc->tags);
|
||||
wavenc->tags = tags;
|
||||
} else {
|
||||
gst_toc_unref (tags);
|
||||
wavenc->tags = gst_tag_list_ref (tags);
|
||||
}
|
||||
}
|
||||
res = gst_pad_event_default (pad, parent, event);
|
||||
|
|
Loading…
Reference in a new issue