writing a plugin using filesink source code

killerrats koreysjunkmail at gmail.com
Thu Jul 21 17:12:02 UTC 2016


I copied the filesink.c and .h. I redid the names in the file instead of
file_sink it's overwritef.

after I check the plugin to use inspect it gets an error:

*GLib-GObject-WARNING **: invalid unclassed type '(null)' in class cast to
'GObject'*

I'm trying to figure out what could be the object that might be null. I have
checked for each method for null objects but nothing.

*source code:*
*GstTestLib.cpp - Loads Plugin *
http://www.planetkorey.com/tmp/GstTestLib.cpp
<http://www.planetkorey.com/tmp/GstTestLib.cpp>  

http://www.planetkorey.com/tmp/gstoverwritefilesink.cpp
<http://www.planetkorey.com/tmp/gstoverwritefilesink.cpp>  
http://www.planetkorey.com/tmp/gstoverwritefilesink.h
<http://www.planetkorey.com/tmp/gstoverwritefilesink.h>  




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/writing-a-plugin-using-filesink-source-code-tp4678791.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list