Commit f4b178af authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

query: const-ify formats arguments to gst_query_set_formatsv()

parent 94c0bc74
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment