[gstreamer-bugs] [Bug 590045] New: Query position fails when pipeline is paused and format is not time
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Jul 28 10:58:57 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=590045
GStreamer | gstreamer (core) | Ver: git
Summary: Query position fails when pipeline is paused and format
is not time
Product: GStreamer
Version: git
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: stian.selnes at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: 2.25/2.26
GNOME milestone: Unspecified
Please describe the problem:
Calling gst_element_query_position() fails when the pipeline is in paused state
and the format is GST_FORMAT_DEFAULT.
Steps to reproduce:
Actual results:
Expected results:
Does this happen every time?
Other information:
Excerpt from log when calling gst_element_query_position with
GST_FORMAT_DEFAULT.
GST_DEBUG="*sink*:5,*parse*:5"
When in playing state
--------------------------------------
0:00:16.620629794 5226 0xb60004e0 DEBUG basesink
gstbasesink.c:4479:gst_base_sink_query:<ximagesink0> position format 1
0:00:16.620701731 5226 0xb60004e0 DEBUG basesink
gstbasesink.c:4224:gst_base_sink_get_position_last:<ximagesink0> POSITION:
99:99:99.999999999
0:00:16.620752505 5226 0xb60004e0 DEBUG basesink
gstbasesink.c:4403:gst_base_sink_get_position:<ximagesink0> now
0:09:40.891340772 - base 0:09:40.211725692 - accum 0:00:00.000000000 + time
0:00:00.000000000
0:00:16.620814105 5226 0xb60004e0 DEBUG basesink
gstbasesink.c:4457:gst_base_sink_get_position:<ximagesink0> convert failed, try
upstream
0:00:16.620863413 5226 0xb60004e0 DEBUG rawparse
gstrawparse.c:929:gst_raw_parse_src_query: src_query position
0:00:16.620900080 5226 0xb60004e0 LOG rawparse
gstrawparse.c:937:gst_raw_parse_src_query: query position
0:00:16.620935699 5226 0xb60004e0 DEBUG rawparse
gstrawparse.c:524:gst_raw_parse_convert: converting value 1000000000 from time
(3) to default (1)
0:00:16.621010709 5226 0xb60004e0 DEBUG rawparse
gstrawparse.c:610:gst_raw_parse_convert: ret=1 result 3
When in paused state
----------------------------------------
0:00:18.172938612 5226 0x93673e8 DEBUG basesink
gstbasesink.c:4479:gst_base_sink_query:<ximagesink0> position format 1
0:00:18.172992389 5226 0x93673e8 DEBUG basesink
gstbasesink.c:4428:gst_base_sink_get_position:<ximagesink0> position in PAUSED
0:00:18.173032339 5226 0x93673e8 DEBUG basesink
gstbasesink.c:4266:gst_base_sink_get_position_paused:<ximagesink0> POSITION as
max: 0:00:01.000000000, time 0:00:00.000000000
0:00:18.173095685 5226 0x93673e8 DEBUG basesink
gstbasesink.c:4415:gst_base_sink_get_position:<ximagesink0> res: 0, POSITION:
99:99:99.999999999
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=590045.
More information about the Gstreamer-bugs
mailing list