GNOME Bugzilla – Bug 342321
GST_QUERY_POSITION fails if GstBaseSrc in get_range mode
Last modified: 2006-05-30 10:58:29 UTC
GST_QUERY_POSITION fails if operated in get_range mode because the last_stop field does not get updated. In addition, the gstbasesrc does not publish the supported query types.
Created attachment 65807 [details] [review] Patch to support GST_QUERY_POSITION This bug applies to libs/gst/base/gstbasesrc.c
Patch by: Lutz Mueller <lutz at topfrose dot de> * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init), (gst_base_src_get_query_types), (gst_base_src_update_length): Publish supported query types. Update last_stop field in get_range mode so the position query works. Fixes #342321.