[gst-devel] Wrote my first plugin but I keep getting 'gst_segment_clip' error
msmith at fluendo.com
Fri Feb 29 11:06:54 CET 2008
On Thu, 2008-02-28 at 23:41 -0700, danielkun at iremo.com wrote:
> I wrote a Gstreamer plugin that converts network byte order to little
> endian to be able to play LPCM files.
audioconvert can do that, you don't need to write a new plugin.
> The plugin works fine except for the error message below that appears
> once after execution.
> Does anyone know what is causing this?
> (test_plugin:7275): GStreamer-CRITICAL **: gst_segment_clip: assertion
> 'segment->format == format' failed
There's other code somewhere that you didn't include; the bug is there.
You need to send a proper new segment event before you start sending
More information about the gstreamer-devel