[Bug 745887] New: playbin: about-to-finish is creating silent gap between mp3 and aac, flac, aiff; m4a

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 9 04:27:34 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=745887

            Bug ID: 745887
           Summary: playbin: about-to-finish is creating silent gap
                    between mp3 and aac, flac, aiff; m4a
    Classification: Platform
           Product: GStreamer
           Version: 1.2.1
                OS: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: scerveau at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 298866
  --> https://bugzilla.gnome.org/attachment.cgi?id=298866&action=edit
about-to-finish samplecode

I'm experiencing a bug with the use of about-to-finish and explicit setup of
audio-sink property in playbin.

In attachment here is my sample code.

How to build it:

c++ -c -o about-to-finish.o about-to-finish.c -O2 -Wall -Werror -ansi
`pkg-config glib-2.0 gstreamer-1.0 --cflags`
gcc -o about-to-finish about-to-finish.o `pkg-config glib-2.0 gstreamer-1.0
--libs`


Calling about-to-finish file_path.mp3 file_path.aac will play immediatly
file_path.mp3 and will wait file_path.mp3 length to start playing file_path.aac


Looks like the silence gap is proportional to the mp3 length.

This bug does not occur if i'm not setting audio-sink or not setting audio-sink
to alsasink.

I will upload two test files.

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