mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 13:53:19 +00:00
fix usage of gst_caps2_replace()
Original commit message from CVS: fix usage of gst_caps2_replace()
This commit is contained in:
parent
15e96d0be3
commit
35dd041316
5 changed files with 5 additions and 5 deletions
|
@ -483,7 +483,7 @@ find_suggest (gpointer data, guint probability, const GstCaps2 *caps)
|
|||
g_free (str);
|
||||
if (((gint) probability) > entry->probability) {
|
||||
entry->probability = probability;
|
||||
gst_caps2_replace (&entry->caps, caps);
|
||||
gst_caps2_replace (&entry->caps, gst_caps2_copy (caps));
|
||||
}
|
||||
}
|
||||
static gint
|
||||
|
|
|
@ -483,7 +483,7 @@ find_suggest (gpointer data, guint probability, const GstCaps2 *caps)
|
|||
g_free (str);
|
||||
if (((gint) probability) > entry->probability) {
|
||||
entry->probability = probability;
|
||||
gst_caps2_replace (&entry->caps, caps);
|
||||
gst_caps2_replace (&entry->caps, gst_caps2_copy (caps));
|
||||
}
|
||||
}
|
||||
static gint
|
||||
|
|
|
@ -236,7 +236,7 @@ gst_type_find_register (GstPlugin *plugin, const gchar *name, guint rank,
|
|||
g_strfreev (factory->extensions);
|
||||
|
||||
factory->extensions = g_strdupv (extensions);
|
||||
gst_caps2_replace (&factory->caps, possible_caps);
|
||||
gst_caps2_replace (&factory->caps, gst_caps2_copy(possible_caps));
|
||||
factory->function = func;
|
||||
factory->user_data = data;
|
||||
|
||||
|
|
|
@ -483,7 +483,7 @@ find_suggest (gpointer data, guint probability, const GstCaps2 *caps)
|
|||
g_free (str);
|
||||
if (((gint) probability) > entry->probability) {
|
||||
entry->probability = probability;
|
||||
gst_caps2_replace (&entry->caps, caps);
|
||||
gst_caps2_replace (&entry->caps, gst_caps2_copy (caps));
|
||||
}
|
||||
}
|
||||
static gint
|
||||
|
|
|
@ -483,7 +483,7 @@ find_suggest (gpointer data, guint probability, const GstCaps2 *caps)
|
|||
g_free (str);
|
||||
if (((gint) probability) > entry->probability) {
|
||||
entry->probability = probability;
|
||||
gst_caps2_replace (&entry->caps, caps);
|
||||
gst_caps2_replace (&entry->caps, gst_caps2_copy (caps));
|
||||
}
|
||||
}
|
||||
static gint
|
||||
|
|
Loading…
Reference in a new issue