mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
query: const-ify formats arguments to gst_query_set_formatsv()
This commit is contained in:
parent
94c0bc74ce
commit
f4b178af3b
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue