Re: Wrote my first plugin but I keep getting 'gst_segment_clip' error
On Thu, 2008-02-28 at 23:41 -0700, [hidden email] 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