[gstreamer-bugs] [Bug 576322] cannot change caps inline to set samplerate

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Mar 23 13:31:11 PDT 2009


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:
  http://bugzilla.gnome.org/show_bug.cgi?id=576322

  GStreamer | gst-plugins-base | Ver: 0.10.22




------- Comment #2 from Aren Olson  2009-03-23 20:31 UTC -------
Alright, I changed them to fixed caps, and now it appears to give correct audio
output but in the debug output it continually prints

0:00:26.052693439  8383      0x2cd13e0 WARN         basetransform
gstbasetransform.c:1037:gst_base_transform_acceptcaps:<audioconvert0> transform
could not transform audio/x-raw-int, endianness=(int)1234,
signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)8000,
channels=(int)2 in anything we support (othercaps (NULL))


In addition, if I make this change in my larger program, it shows that when the
caps are reset the uridecodebin fires a drained signal, which is undesirable as
that is how I know that stream is ended and can be discarded. When setting the
caps in this case, the following appears in the debug output:

0:00:54.515690671  8349      0x2e88d00 WARN         basetransform
gstbasetransform.c:1037:gst_base_transform_acceptcaps:<identity2> transform
could not transform audio/x-raw-int, endianness=(int)1234,
signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)8000,
channels=(int)2 in anything we support (othercaps (NULL))
0:00:54.516985807  8349      0x2e88d00 WARN         basetransform
gstbasetransform.c:1037:gst_base_transform_acceptcaps:<audioconvert0> transform
could not transform audio/x-raw-int, endianness=(int)1234,
signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)8000,
channels=(int)2 in anything we support (othercaps (NULL))
0:00:54.520743268  8349      0x2e88d00 WARN         basetransform
gstbasetransform.c:1037:gst_base_transform_acceptcaps:<identity2> transform
could not transform audio/x-raw-int, endianness=(int)1234,
signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)8000,
channels=(int)2 in anything we support (othercaps (NULL))
0:00:54.522018849  8349      0x2e88d00 WARN         basetransform
gstbasetransform.c:1037:gst_base_transform_acceptcaps:<audioconvert0> transform
could not transform audio/x-raw-int, endianness=(int)1234,
signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)8000,
channels=(int)2 in anything we support (othercaps (NULL))
0:00:54.525576565  8349      0x2e88d00 WARN         basetransform
gstbasetransform.c:1037:gst_base_transform_acceptcaps:<identity2> transform
could not transform audio/x-raw-int, endianness=(int)1234,
signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)8000,
channels=(int)2 in anything we support (othercaps (NULL))
0:00:54.530959442  8349      0x2e88d00 WARN         basetransform
gstbasetransform.c:1037:gst_base_transform_acceptcaps:<capsfilter0> transform
could not transform audio/x-raw-int, endianness=(int)1234,
signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)8000,
channels=(int)2 in anything we support (othercaps (NULL))
0:00:54.531053448  8349      0x2e88d00 INFO               basesrc
gstbasesrc.c:2278:gst_base_src_loop:<source> pausing after gst_pad_push() =
not-negotiated
0:00:54.531149620  8349      0x2e88d00 WARN               basesrc
gstbasesrc.c:2330:gst_base_src_loop:<source> error: Internal data flow error.
0:00:54.531182097  8349      0x2e88d00 WARN               basesrc
gstbasesrc.c:2330:gst_base_src_loop:<source> error: streaming task paused,
reason not-negotiated (-4)
0:00:54.531258433  8349      0x2e88d00 INFO      GST_ERROR_SYSTEM
gstelement.c:1675:gst_element_message_full:<source> posting message: Internal
data flow error.
0:00:54.531493379  8349      0x2e88d00 INFO      GST_ERROR_SYSTEM
gstelement.c:1698:gst_element_message_full:<source> posted error message:
Internal data flow error.
0:00:54.531557214  8349      0x2e88d00 INFO              GST_PADS
gstpad.c:3235:gst_pad_event_default_dispatch:<id3demux0:sink> Sending event
0x18e42c0 (eos) to all internally linked pads


My debug level is GST_DEBUG=*:3,GST_STATES:0, and the fixed caps are
"audio/x-raw-int, rate=(int)44100" and "audio/x-raw-int, rate=(int)8000".  Let
me know if you require any additional information.


-- 
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=576322.




More information about the Gstreamer-bugs mailing list