MediaPlayer Application failed - g_value_set_object failed.
Tim-Philipp Müller
t.i.m at zen.co.uk
Thu Jan 3 02:01:34 PST 2013
On Thu, 2013-01-03 at 01:37 -0800, Harikumar wrote:
> I have a mediaplayer test application. I need a property which should return
> program informations in the form of object from demux plugin. I have created
> a structure in demux plugin which contains pid, codec, language etc. I have
> installed the property and set the value using g_value_set_object(value,
> demux->pgminformations);
>
> But I am getting an assertion failure G_IS_OBJECT(object) failed. Why is
> this happening ?
Hard to say without seeing your code in full, or at least the definition
of pgminformations.
At first guess:
demux->pgminformations is NULL?
demux->pgminformations is an uninitialized pointer?
demux->pgminformations is not a GObject but another struct of some
sort?
Cheers
-Tim
More information about the gstreamer-devel
mailing list