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 620490 - [basesink] segment query unconditionally returns FALSE
[basesink] segment query unconditionally returns FALSE
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.30
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-03 15:17 UTC by Philippe Normand
Modified: 2010-06-03 15:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[basesink] make gst_base_sink_query return TRUE if the segment query succeeded. (881 bytes, patch)
2010-06-03 15:24 UTC, Philippe Normand
committed Details | Review

Description Philippe Normand 2010-06-03 15:17:36 UTC
GstQuery* query = gst_query_new_segment(GST_FORMAT_TIME);
gboolean result = gst_element_query(pipeline, query);

result is FALSE even if the quey succeeded. cf gstbasesink.c around line 4655.
Comment 1 Philippe Normand 2010-06-03 15:24:26 UTC
Created attachment 162661 [details] [review]
[basesink] make gst_base_sink_query return TRUE if the segment query succeeded.

Fixes Bug 620490.
Comment 2 Sebastian Dröge (slomo) 2010-06-03 15:41:16 UTC
commit 6b8baaed5071e0e72ebd6d738678e6531b15d323
Author: Philippe Normand <phil@base-art.net>
Date:   Thu Jun 3 17:21:00 2010 +0200

    basesink: Make gst_base_sink_query return TRUE if the segment query succeede
    
    Fixes bug #620490.