<div>Hi ,</div>
<div>I'm writing a mp3 decoder plugin on GStreamer Version 0.10.4 which take single input buffer and obviously produces multiple output buffer. I'm trying to play my plugin (Mp3Dec)&nbsp;into a chain like below</div>
<div>&nbsp;</div>
<div>gst-launch-0.10 filesink location=./filename.mp3 ! Mp3Dec !&nbsp; filesink location=./filename_out.pcm.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Now my system requires (due to&nbsp;some synchronization&nbsp;issue) that input buffer to be decoded only in the GST_STATE_PLAYING state. </div>
<div>&nbsp;</div>
<div>But the filesrc plugin start sending data in the paused state,which according to the Gst 0.10.4 should be a valid state for buffer processing. Only in case of sink element it can't process the buffer if not in the PLAYING state. 
</div>
<div>&nbsp;</div>
<div>Can anybody help me what should I do / send an event to the previous plugin so that it sends me data only when I'm in the PLAYING state. or simply what should I do so that I receive data when I'm in the PLAYING&nbsp;state.&nbsp;I have tried to Preroll but it wait for ever. 
</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Pankaj</div>