[Bug 703632] GStreamer: unable to query position of stream
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Nov 22 01:06:36 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=703632
GStreamer | gstreamer (core) | unspecified
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |NOTGNOME
Target Milestone|HEAD |NONE
--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-11-22 09:06:08 UTC ---
> That code is in opencv.
To me this looks like it's most likely an issue in the opencv code then. That
warning is not a warning printed by GStreamer code.
> > A query like this might also fail if the pipeline is not prerolled yet. Is it
> > prerolled here?
>
> Sorry, I don't know what's it means.
Position and duration queries will usually only work once a pipeline is
"prerolled", meaning some data has made it to the sink. It is a common error to
do e.g.:
set_state (pipeline, PAUSED or PLAYING);
query_{position,duration} (pipeline);
One would have to wait until the async state change is complete, by waiting for
an ASYNC_DONE message on the bus or doing a get_state() with a -1 timeout.
Let's close this for now until it's clear it's actually a bug in GStreamer. Let
me know if the opencv maintainers need help with figuring this out.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list