GNOME Bugzilla – Bug 579183
freshly created QUERY_SEEKING is immutable
Last modified: 2009-04-17 09:39:07 UTC
>>> q = gst.query_new_seeking (gst.FORMAT_TIME) >>> q.__grefcount__ 2 Since the refcount is not 1, the mini-object is considered immutable, essentially rendering the query-object useless for actual querying as no element can ever properly modify it.
Created attachment 132770 [details] [review] Patch Align query_new_seeking definition with other query wrapper definitions.
commit e9d2003af5ebcbd9bea9acecbcfa0950e23af378 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Fri Apr 17 11:33:18 2009 +0200 query_new_seeking wrapper must return query with refcount 1. Fixes #579183.