[Bug 698851] playbin: ability to mix or play multiple audio and text streams simultaneously

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 28 11:27:25 PDT 2013


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

Brendan Long <self> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #245418|0                           |1
        is obsolete|                            |

--- Comment #35 from Brendan Long <self at brendanlong.com> 2013-05-28 18:27:21 UTC ---
Created an attachment (id=245480)
 View: https://bugzilla.gnome.org/attachment.cgi?id=245480
 Review: https://bugzilla.gnome.org/review?bug=698851&attachment=245480

Add (failing) tests and rename selector to combiner

I added a test, but when I run it I get:

> elements/playbin-compressed.c:1660:F:general:test_raw_raw_audio_stream_adder_manual_sink:0: 'csink->n_raw' (0) is not equal to 'NBUFFERS' (100)

Running with `GST_DEBUG=adder:5`, there's a bunch of lines like:

> 0:00:00.968915322  3259 0x2ae310002e30 DEBUG                  adder gstadder.c:1355:gst_adder_collected:<adder0> no data available, must be EOS

The problem seems to be here in gstadder.c

    /* get available bytes for reading, this can be 0 which could mean empty
     * buffers or EOS, which we will catch when we loop over the pads. */
    outsize = gst_collect_pads_available (pads);
    /* can only happen when no pads to collect or all EOS */
    if (outsize == 0)
      goto eos;

I tried making the buffers actually have data in `gst_caps_src_create` by
changing `buf = gst_buffer_new ()` to `buf = gst_buffer_new_wrapped
(g_malloc0(1024), 1024);`, but that didn't change anything.

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