[gstreamer-bugs] [Bug 492729] New: PAUSED->PLAYING returns ASYNC when triggered from bus handler
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Nov 2 08:21:57 PDT 2007
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=492729
GStreamer | gstreamer (core) | Ver: HEAD CVS
Summary: PAUSED->PLAYING returns ASYNC when triggered from bus
handler
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: ensonic at sonicpulse.de
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Build the attached sample and run as follow:
gcc -Wall -g `pkg-config gstreamer-0.10 gstreamer-controller-0.10 --cflags
--libs` seek1.c -o seek1
GST_DEBUG="*:2,default*:3" ./seek1
you hear a sweeping sine and see:
0:00:00.132081000 18641 0x804b008 INFO default seek1.c:204:main:
->PAUSED needs async wait
0:00:00.132418000 18641 0x804b008 INFO default seek1.c:228:main:
->PLAYING needs async wait
0:00:00.132763000 18641 0x804b008 INFO default
seek1.c:52:event_loop: state change on the bin: NULL -> READY
0:00:00.136843000 18641 0x804b008 INFO default
seek1.c:52:event_loop: state change on the bin: READY -> PAUSED
0:00:00.138055000 18641 0x804b008 INFO default
seek1.c:52:event_loop: state change on the bin: PAUSED -> PLAYING
now rebuild with -DPLAY_BROKEN and re run:
gcc -Wall -g `pkg-config gstreamer-0.10 gstreamer-controller-0.10 --cflags
--libs` -DPLAY_BROKEN seek1.c -o seek1
GST_DEBUG="*:2,default*:3" ./seek1
0:00:00.130998000 18817 0x804b008 INFO default seek1.c:187:main:
->PAUSED needs async wait
0:00:00.131356000 18817 0x804b008 INFO default
seek1.c:60:event_loop: state change on the bin: NULL -> READY
0:00:00.135650000 18817 0x804b008 INFO default
seek1.c:60:event_loop: state change on the bin: READY -> PAUSED
0:00:00.136100000 18817 0x804b008 INFO default
seek1.c:84:event_loop: ->PLAYING needs async wait
0:00:00.136297000 18817 0x804b008 INFO default
seek1.c:60:event_loop: state change on the bin: PAUSED -> PAUSED
This is the probem:
PLAYING needs async wait
The code was working in earlier GStreamer. I suspect the change to be in the
last 3 weeks.
--
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=492729.
More information about the Gstreamer-bugs
mailing list