After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 342321 - GST_QUERY_POSITION fails if GstBaseSrc in get_range mode
GST_QUERY_POSITION fails if GstBaseSrc in get_range mode
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-19 06:33 UTC by Lutz Mueller
Modified: 2006-05-30 10:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to support GST_QUERY_POSITION (1.92 KB, patch)
2006-05-19 06:35 UTC, Lutz Mueller
none Details | Review

Description Lutz Mueller 2006-05-19 06:33:48 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.
Comment 1 Lutz Mueller 2006-05-19 06:35:09 UTC
Created attachment 65807 [details] [review]
Patch to support GST_QUERY_POSITION

This bug applies to libs/gst/base/gstbasesrc.c
Comment 2 Wim Taymans 2006-05-30 10:58:29 UTC
        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.