<div>Hi all,</div>
<div>I have writen an mp3 decoder using ffmpeg library. It gives me messages like 'segment-&gt;format=format' failed. </div>
<div>&nbsp;</div>
<div>Though the chain</div>
<div>&nbsp;</div>
<div>gst-launch-0.10 gnomevfssrc location=test.mp3 ! Mp3Dec ! audioconvert ! audioresample ! volume ! alsasink works fine.</div>
<div>&nbsp;</div>
<div>I&nbsp;have derived my classe from GstBaseTransform. </div>
<div>&nbsp;</div>
<div>Can anybody pls help me. </div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Pankaj</div>
<div>
<p>$ gst-launch-0.10 playbin uri=<a href="file://test.mp3">file://test.mp3</a> <br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: audioclock0
</p>
<p>(gst-launch-0.10:14587): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment-&gt;format == format' failed</p>
<p>(gst-launch-0.10:14587): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment-&gt;format == format' failed</p>
<p>(gst-launch-0.10:14587): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment-&gt;format == format' failed</p>
<p>(gst-launch-0.10:14587): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment-&gt;format == format' failed</p>
<p>(gst-launch-0.10:14587): GStreamer-CRITICAL **: gst_segment_clip: assertion `segment-&gt;format == format' failed</p></div>