[gstreamer-bugs] [Bug 332390] [GstQueue/GstPad] playing musepack songs works only every second try

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Apr 8 10:11:32 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=332390
 GStreamer | gstreamer (core) | Ver: HEAD CVS


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61456|0                           |1
        is obsolete|                            |
  Attachment #61456|needs-work                  |obsolete
               Flag|                            |
           Severity|normal                      |blocker
          Component|gst-plugins-base            |gstreamer (core)
            Summary|[playbin] playing musepack  |[GstQueue/GstPad] playing
                   |songs works only every      |musepack songs works only
                   |second try                  |every second try




------- Comment #37 from Tim-Philipp Müller  2006-04-08 17:11 UTC -------
Looks like a GstQueue and/or GstPad bug:

0x804d840 - 0:00:06.900252
gstqueue.c(448):gst_queue_link_src:<preroll_audio_src0> queue linking source
pad
0x804d840 - 0:00:06.920517
gstqueue.c(458):gst_queue_link_src:<preroll_audio_src0> starting task as pad is
linked
0x80e5460 - 0:00:06.920xyz gstqueue.c(769):gst_queue_push_one: pad peer: (nil)
0x80e5460 - 0:00:06.920974
gstqueue.c(785):gst_queue_push_one:<preroll_audio_src0> pausing queue, reason
not-linked
0x804d840 - 0:00:06.921366 gstpad.c (1765):gst_pad_link: linked
preroll_audio_src0:src and abin:sink, successful

gst_pad_link() calls the link function before setting GST_PAD_PEER(srcpad), so
it can happen that the gst_pad_push() from the task that the link function
starts will find GST_PAD_PEER still to be NULL when it tries it.


<wtay> we should probably set the peer before calling the link function, when
it fails, we unset the peer again
<wtay> or in queue start the task when the linked signal is called on the
source pad


-- 
Configure bugmail: http://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