[gst-devel] Pipeline works with mp3, but not ogg or wav
t.i.m at zen.co.uk
Thu Mar 15 15:17:26 CET 2007
On Thu, 2007-03-15 at 13:45 +0000, Iain * wrote:
> I've got a decodebin based pipeline that runs fine with mp3s, but
> doesn't run with wav or ogg (not tested anything else). Attached is a
> fairly short program that replicates the problem.
> The pipeline is as follows
> gnomevfssrc ! decodebin ! audioconvert ! deinterleave
> then q ! fakesink for each src pad on the deinterleave
> Does anyone have any ideas?
I think the problem might be in your new_decoder_pad() function: you're
using gst_element_sync_state_with_parent() there, which is almost always
the wrong function to use. Try gst_element_set_state() instead.
More information about the gstreamer-devel