[gstreamer-bugs] [Bug 619434] New: playbin2: seek in PAUSED state with a custom text-sink
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun May 23 05:54:29 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=619434
GStreamer | gst-plugins-base | 0.10.29
Summary: playbin2: seek in PAUSED state with a custom text-sink
Classification: Desktop
Product: GStreamer
Version: 0.10.29
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: cwryu at debian.org
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Created an attachment (id=161787)
--> (https://bugzilla.gnome.org/attachment.cgi?id=161787)
seek to 0 & query_position
The attached test (1) sets a custom text-sink which is a bin ("subparse !
appsink"), (2) set the pipeline state to PAUSED, (3) seek to 0, and (4) query
position. The query fails as expected when the text-sink is not set. But with
the custom text-sink, the pipeline suddenly goes to the end position of the
subtitle.
duncan:~/tmp$ tail test.smi
<SYNC START=13000>
<P>13000
<SYNC START=14000>
<P>14000
<SYNC START=15000>
<P>15000
<SYNC START=100000>
<P>100000
</BODY>
</SAMI>
duncan:~/tmp$ ./testpause4 file://`pwd`/test.avi file://`pwd`/test.smi
2>/dev/null
position: 0000100000000000
duncan:~/tmp$
If I set the render callbacks of the appsink, it receives all parsed subtitles
instantly on PAUSED state.
--
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