Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
f4b178af
Commit
f4b178af
authored
Apr 19, 2011
by
Tim-Philipp Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
query: const-ify formats arguments to gst_query_set_formatsv()
parent
94c0bc74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
gst/gstquery.c
gst/gstquery.c
+2
-1
gst/gstquery.h
gst/gstquery.h
+1
-1
No files found.
gst/gstquery.c
View file @
f4b178af
...
...
@@ -1001,7 +1001,8 @@ gst_query_set_formats (GstQuery * query, gint n_formats, ...)
* Since: 0.10.4
*/
void
gst_query_set_formatsv
(
GstQuery
*
query
,
gint
n_formats
,
GstFormat
*
formats
)
gst_query_set_formatsv
(
GstQuery
*
query
,
gint
n_formats
,
const
GstFormat
*
formats
)
{
GValue
list
=
{
0
,
};
gint
i
;
...
...
gst/gstquery.h
View file @
f4b178af
...
...
@@ -300,7 +300,7 @@ void gst_query_parse_seeking (GstQuery *query, GstFormat *for
/* formats query */
GstQuery
*
gst_query_new_formats
(
void
);
void
gst_query_set_formats
(
GstQuery
*
query
,
gint
n_formats
,
...);
void
gst_query_set_formatsv
(
GstQuery
*
query
,
gint
n_formats
,
GstFormat
*
formats
);
void
gst_query_set_formatsv
(
GstQuery
*
query
,
gint
n_formats
,
const
GstFormat
*
formats
);
void
gst_query_parse_formats_length
(
GstQuery
*
query
,
guint
*
n_formats
);
void
gst_query_parse_formats_nth
(
GstQuery
*
query
,
guint
nth
,
GstFormat
*
format
);
...
...
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