Commit ce90970b authored by Wim Taymans's avatar Wim Taymans

query:fix copy-and-paste problem

parent afc63df3
......@@ -189,7 +189,7 @@ gst_query_type_get_flags (GstQueryType type)
{
GstQueryTypeFlags ret;
ret = type & ((1 << GST_EVENT_NUM_SHIFT) - 1);
ret = type & ((1 << GST_QUERY_NUM_SHIFT) - 1);
return ret;
}
......@@ -233,7 +233,7 @@ gst_query_init (GstQueryImpl * query, gsize size, GstQueryType type)
query->query.mini_object.copy = (GstMiniObjectCopyFunction) _gst_query_copy;
query->query.mini_object.free = (GstMiniObjectFreeFunction) _gst_query_free;
GST_EVENT_TYPE (query) = type;
GST_QUERY_TYPE (query) = type;
}
/**
......
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