gboolean GStreamerReader::EventProbeCb(GstPad* aPad, GstEvent* aEvent, gpointer aUserData) { GStreamerReader* reader = reinterpret_cast<GStreamerReader*>(aUserData); return reader->EventProbe(aPad, aEvent); }
GstPadProbeReturn GStreamerReader::EventProbeCb(GstPad *aPad, GstPadProbeInfo *aInfo, gpointer aUserData) { GStreamerReader *reader = (GStreamerReader *) aUserData; GstEvent *aEvent = (GstEvent *)aInfo->data; return reader->EventProbe(aPad, aEvent); }