Multiple loops in one library

philippe renon philippe_renon at yahoo.fr
Tue Apr 18 13:46:51 UTC 2017


You are probably right... The callback handling is a bit contrived. Why don't you call the callback directly (i.e. the _callBack member seems redundant).
Anyways, did you try to reproduce your issue under a debugger to get the location and call stack of the access violation? 

    Le Mardi 18 avril 2017 9h11, Mikl <michael.yarochkin at timetronics.be> a écrit :
 

 Hello, filnet

GStreamer::BusCallback is virtual function.
virtual int BusCallback(GstMessage* message, void* data) = 0;

Real call back done in 
static int GStreamer::BusCallback(GstBus* bus, GstMessage* message, void*
data)
{
 return (library->*(library->_callBack))(message, data);
}

Don`t think i can do something wrong here.

Mikl



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Multiple-loops-in-one-library-tp4682638p4682688.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170418/08faafe4/attachment.html>


More information about the gstreamer-devel mailing list