Segmentation Fault

Ian Davidson id012c3076 at blueyonder.co.uk
Sat Jan 5 01:12:00 PST 2013


I am trying to write a GStreamer app where I  use a caps filter.  I have

   vcapsfilter  = gst_element_factory_make ("capsfilter", "vid-caps");

which appears to have been successful.

Then I tried

   g_object_set (G_OBJECT (vcapsfilter), "caps", 
"video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)25/1", 
NULL);

When my program comes to execute that line I get a "Segmentation fault 
(core dumped)" message.  I suspect that I must be doing something wrong 
<grin>, but I don't know what I should be doing.  I have tried to wind 
up the debug level to 9 but absolutely nothing gets logged.

Ian
-- 
--
Ian Davidson
--
Facts used in this message may or may not reflect an underlying 
objective reality. Facts are supplied for personal use only.
Recipients quoting supplied information do so at their own risk. Facts 
supplied may vary in whole or part from widely accepted standards.
While painstakingly researched, facts may or may not be indicative of 
actually occurring events or natural phenomena.
The author accepts no responsibility for personal loss or injury 
resulting from memorisation and subsequent use.


More information about the gstreamer-devel mailing list