mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
discoverer: add a few consts where appropriate
This commit is contained in:
parent
7ad6431837
commit
9ab18d7a68
1 changed files with 2 additions and 2 deletions
|
@ -845,9 +845,9 @@ find_stream_for_node (GstDiscoverer * dc, const GstStructure * topology)
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
child_is_raw_stream (GstCaps * parent, GstCaps * child)
|
child_is_raw_stream (const GstCaps * parent, const GstCaps * child)
|
||||||
{
|
{
|
||||||
GstStructure *st1, *st2;
|
const GstStructure *st1, *st2;
|
||||||
const gchar *name1, *name2;
|
const gchar *name1, *name2;
|
||||||
|
|
||||||
st1 = gst_caps_get_structure (parent, 0);
|
st1 = gst_caps_get_structure (parent, 0);
|
||||||
|
|
Loading…
Reference in a new issue