[gstreamer-bugs] [Bug 431282] broken depayloaders
bugzilla-daemon at bugzilla.gnome.org
Thu Apr 19 07:00:32 PDT 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
GStreamer | gst-plugins-good | Ver: HEAD CVS
------- Comment #1 from Laurent Glayal 2007-04-19 14:00 UTC -------
Adding "depayload->clock_rate = 8000;" to the rtppcmadepay.c, solve the
problem, now the cmd line works fine. But i don't think it's the right way to
solve the problem.
gst_rtp_pcma_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
srccaps = gst_caps_new_simple ("audio/x-alaw",
"channels", G_TYPE_INT, 1, "rate", G_TYPE_INT, 8000, NULL);
depayload->clock_rate = 8000;
ret = gst_pad_set_caps (GST_BASE_RTP_DEPAYLOAD_SRCPAD (depayload), srccaps);
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=431282.
More information about the Gstreamer-bugs