Original commit message from CVS:
2005-08-24 Andy Wingo <wingo@pobox.com>
* gst/gstquery.c (gst_query_new_convert): Spew if we try to
convert a negative value. Doesn't make much sense. Mostly this is
here to force callers to ensure -1 maps to -1.
+2005-08-24 Andy Wingo <wingo@pobox.com>
+
+ * gst/gstquery.c (gst_query_new_convert): Spew if we try to
+ convert a negative value. Doesn't make much sense. Mostly this is
+ here to force callers to ensure -1 maps to -1.
+
2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
* docs/pwg/advanced-types.xml:
GstQuery *query;
GstStructure *structure;
+ g_return_val_if_fail (value >= 0, NULL);
+
structure = gst_structure_new ("GstQueryConvert",
"src_format", GST_TYPE_FORMAT, src_fmt,
"src_value", G_TYPE_INT64, value,