mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
pbutils: update discoverer for GstToc API changes
This commit is contained in:
parent
a821d428bb
commit
a9d12f7bae
2 changed files with 5 additions and 5 deletions
|
@ -68,7 +68,7 @@ gst_discoverer_stream_info_finalize (GObject * object)
|
|||
gst_tag_list_free (info->tags);
|
||||
|
||||
if (info->toc)
|
||||
gst_toc_free (info->toc);
|
||||
gst_toc_unref (info->toc);
|
||||
|
||||
if (info->misc)
|
||||
gst_structure_free (info->misc);
|
||||
|
@ -130,7 +130,7 @@ gst_discoverer_info_copy_int (GstDiscovererStreamInfo * info,
|
|||
ret->tags = gst_tag_list_copy (info->tags);
|
||||
|
||||
if (info->toc)
|
||||
ret->toc = gst_toc_copy (info->toc);
|
||||
ret->toc = gst_toc_ref (info->toc);
|
||||
|
||||
if (info->misc)
|
||||
ret->misc = gst_structure_copy (info->misc);
|
||||
|
@ -369,7 +369,7 @@ gst_discoverer_info_finalize (GObject * object)
|
|||
gst_tag_list_free (info->tags);
|
||||
|
||||
if (info->toc)
|
||||
gst_toc_free (info->toc);
|
||||
gst_toc_unref (info->toc);
|
||||
}
|
||||
|
||||
static GstDiscovererInfo *
|
||||
|
@ -422,7 +422,7 @@ gst_discoverer_info_copy (GstDiscovererInfo * ptr)
|
|||
ret->tags = gst_tag_list_copy (ptr->tags);
|
||||
|
||||
if (ptr->toc)
|
||||
ret->toc = gst_toc_copy (ptr->toc);
|
||||
ret->toc = gst_toc_ref (ptr->toc);
|
||||
|
||||
g_hash_table_destroy (stream_map);
|
||||
return ret;
|
||||
|
|
|
@ -634,7 +634,7 @@ uridecodebin_pad_removed_cb (GstElement * uridecodebin, GstPad * pad,
|
|||
gst_tag_list_free (ps->tags);
|
||||
}
|
||||
if (ps->toc) {
|
||||
gst_toc_free (ps->toc);
|
||||
gst_toc_unref (ps->toc);
|
||||
}
|
||||
|
||||
g_slice_free (PrivateStream, ps);
|
||||
|
|
Loading…
Reference in a new issue