[gstreamer-bugs] [Bug 512526] New: "clock problem" happend when doing seek in avidemux
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Jan 28 02:24:14 PST 2008
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=512526
GStreamer | don't know | Ver: 0.10.12
Summary: "clock problem" happend when doing seek in avidemux
Product: GStreamer
Version: 0.10.12
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: blocker
Priority: Normal
Component: don't know
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: jyang822 at hotmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
I’ve added seek function in a sample player, but seems the seek function
failed. The playback resumed at the same pause point.
I tried the following 2 functions, same error message. Any inputs?
if (!gst_element_seek (player_status->demux, 1.0, GST_FORMAT_TIME,
GST_SEEK_FLAG_FLUSH, GST_SEEK_TYPE_SET, time_nanoseconds,
GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE)) {
g_print("Seek failed!\n");
}
if (!gst_element_seek_simple(player_status->demux, GST_FORMAT_TIME,
GST_SEEK_FLAG_FLUSH, time_nanoseconds)) {
g_print("Seek failed!\n");
}
Here demux is gstreamer official "avidemux". I didn't use the "pipeline" in the
first argument because it does not work. One thing to be mentioned is that I
use 3rd party decoders, video/audio sink and clock. The 3rd party clock is
already set to the whole pipeline.
Error message:
--------------------------------------------------------------------------
Warning: Internal GStreamer error: clock problem. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Steps to reproduce:
1. Wrote application code in sample player to link all necessary elements
2. Start the sample player, call the seek function to jump forward.
Actual results:
The playback paused with error message, after a while, the player resumed
playback at the pause point.
Expected results:
I expect the playback jump to the seek point specified by "time_nanoseconds"
Does this happen every time?
Yes
Other information:
--
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=512526.
More information about the Gstreamer-bugs
mailing list