Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
69e3639c
Commit
69e3639c
authored
Mar 15, 2012
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
query: fix copy function
Copy the structure too.
parent
592b5bec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
gst/gstquery.c
gst/gstquery.c
+6
-1
No files found.
gst/gstquery.c
View file @
69e3639c
...
...
@@ -220,8 +220,13 @@ static GstQuery *
_gst_query_copy
(
GstQuery
*
query
)
{
GstQuery
*
copy
;
GstStructure
*
s
;
copy
=
gst_query_new_custom
(
query
->
type
,
GST_QUERY_STRUCTURE
(
query
));
s
=
GST_QUERY_STRUCTURE
(
query
);
if
(
s
)
{
s
=
gst_structure_copy
(
s
);
}
copy
=
gst_query_new_custom
(
query
->
type
,
s
);
return
copy
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment