writing a plugin using filesink source code

killerrats koreysjunkmail at gmail.com
Thu Jul 21 17:53:45 UTC 2016


*the error went away*

changes in method:

*gst_overwritef_query:*
from: 
GstBaseSinkClass *gstbasesink_class = GST_BASE_SINK_CLASS (bsink);
gstbasesink_class->query (bsink,query);
res = gstbasesink_class->query;

to: res = GST_BASE_SINK_CLASS (parent_class)->query (bsink, query);

*gst_overwritef_event:*
from:
GstBaseSinkClass *gstbasesink_class = GST_BASE_SINK_CLASS (sink);
  return gstbasesink_class->event(sink,event);

to: return GST_BASE_SINK_CLASS (parent_class)->event (sink, event);

*gst_overwrite_dispose:*
from:
GObjectClass *gobject_class = G_OBJECT_CLASS (object);
  gobject_class->dispose(object);

to: G_OBJECT_CLASS (parent_class)->dispose (object);



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


More information about the gstreamer-devel mailing list