[gst-devel] GStreamer State Change Problem

Michael Smith msmith at fluendo.com
Mon May 22 02:11:06 CEST 2006

On Mon, 2006-05-22 at 14:12 +0530, Pankaj Sen wrote:
> Hi ,
> 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) into a chain like below
> gst-launch-0.10 filesink location=./filename.mp3 ! Mp3Dec !  filesink
> location=./filename_out.pcm.
> Now my system requires (due to some synchronization issue) that input
> buffer to be decoded only in the GST_STATE_PLAYING state. 

Elements other than sinks should treat PAUSED the same as PLAYING - you
_must_ process data in the PAUSED state. Otherwise, as you saw, your
pipeline will never preroll.


More information about the gstreamer-devel mailing list