CRITICAL **: gstaudioringbuffer.c: line 2048 (gst_audio_ring_buffer_set_channel_positions): should not be reached

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

CRITICAL **: gstaudioringbuffer.c: line 2048 (gst_audio_ring_buffer_set_channel_positions): should not be reached

Mariano Koremblum
This post was updated on .
Hi everyone! I am having these warnings when creating the pipeline and I
really cannot figure out why nor how to solve it. It does not seem to cause
any problem in the streaming but I want to get rid of these non-sense
messages:

CRITICAL **: 15:54:23.738: file gstaudioringbuffer.c: line 2048
(gst_audio_ring_buffer_set_channel_positions): should not be reached
Got warning: Could not decode stream. (gstrtpL16pay.c(158):
gst_rtp_L16_pay_setcaps ():
/GstPipeline:push-media-pipeline/GstPipeline:push-pipeline/GstRtpL16Pay:pay0:
Unknown channel order for 4 channels).

I have a 4 channel alsa src and I set the caps as follows:

        GArray *positions = g_array_new (0,1,4);
        int val[] = {0}; // front left
        g_array_append_val(positions,val);
        val[0] = 1; // front right
        g_array_append_val(positions,val);
        val[0] = 4; // rear left
        g_array_append_val(positions,val);
        val[0] = 5; // rear right
        g_array_append_val(positions,val);
        filter = gst_element_factory_make("capsfilter", "filter");
        g_assert(filter);
        caps = gst_caps_new_simple("audio/x-raw", "format", G_TYPE_STRING,"S16LE",
                                                                      "channels",G_TYPE_INT, 4,
                                                                      "channel-mask",GST_TYPE_BITMASK, 0x33,
                                                                      "channel-positions",G_TYPE_INT, positions, NULL);
        g_assert(caps);
        g_object_set(G_OBJECT(filter), "caps", caps, NULL);
        gst_caps_unref(caps);
 
        convert = gst_element_factory_make("audioconvert", "convert");
        g_assert(convert, "audioconvert");
        g_object_set(convert, "dithering", 0, NULL);



Any help or advice would be very appreciated. Thanks in advance :)



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel