[Bug 724509] New: playbin with appsink audio-sink doesn't handle caps well

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Feb 16 14:26:46 PST 2014


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

           Summary: playbin with appsink audio-sink doesn't handle caps
                    well
    Classification: Platform
           Product: GStreamer
           Version: 1.2.2
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: galtgendo at o2.pl
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=269342)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=269342)
testcase based on apsrc-stream2.c

This is (kind of) a follow up of bug 723331 (meaning mostly that the patch from
there is applied).

Tested on
https://github.com/rheit/zdoom/blob/master/wadsrc/static/sounds/dssecret.flac,
but if that file is converted to ogg by oggenc, the silence is reproducible.

(
though that leads to funny results of its own: the encoded file has still 22491
frames (and plays on its own (that is in a media player) correctly), but the
produced raw audio in case of unset caps, supposedly F32LE is only 45056 bytes
long and sounds cut off
)

There's a chance I've botched the caps, but if they're correct, setting them
results in the file being converted into silence.
As long as the line with gst_app_sink_set_caps is commented out, the file is
being played, but the format might not be correct (leading to distorted sound).

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