libs/gst/base/gstbasesink.c: Don't unref query twice.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
Don't unref query twice.
This commit is contained in:
Wim Taymans 2007-02-28 18:51:47 +00:00
parent ebd9a6d04b
commit ff5129a795
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-02-28 Wim Taymans <wim@fluendo.com>
* libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
Don't unref query twice.
2007-02-28 Wim Taymans <wim@fluendo.com>
* gst/gstvalue.c: (gst_value_transform_object_string),

View file

@ -712,7 +712,6 @@ gst_base_sink_query_latency (GstBaseSink * sink, gboolean * live,
min = us_min;
max = us_max;
}
gst_query_unref (query);
GST_DEBUG_OBJECT (sink, "latency query: live: %d, upstream: %d, min %"
GST_TIME_FORMAT ", max %" GST_TIME_FORMAT, l, us_live,