[Bug 737055] New: Setting URI on playbin at about-to-finish when playing AAC and using an alsasink is not working well

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Sep 20 17:34:13 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=737055
  GStreamer | gst-plugins-base | 1.4.2

           Summary: Setting URI on playbin at about-to-finish when playing
                    AAC and using an alsasink is not working well
    Classification: Platform
           Product: GStreamer
           Version: 1.4.2
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: richard.rojfors at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I setup a playbin with an alsasink.

Then assign it an URI pointing to an AAC file. When I get the about-to-finish
signal I update the uri to an URI pointing to a non AAC, for instance ape, mp3
or flac. Then I get a strange behaviour where the playbin indicates via state
that it is playing. But its quiet and I see by polling the playbin for position
that it is 0.

Then suddenly after a long while > 30 seconds, the position starts to increase
and the song start playing (I hear audio).

During the time its quiet I can see that 

This is 100% reproducible, I use gst-libva for AAC decoding.

I switched to using a pulsesink instead, then it works as expected. Also
playing let say an MP3 then a FLAC file is also working as expected. So it
seems to be the combination of AAC and alsasink.

I reproduced this with 1.4.2 and 1.4.0.

-- 
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