[vlc-devel] how to get Notification about Pause / Play / Stop / Continue inside Filter Module?

Andre Weber WeberAndre at gmx.de
Tue Nov 20 22:35:34 CET 2007


Hello,

since some days I work on a video filter module, until now it works so far - but now
I reached a point where I need some help or a simple hint -
What I have to implement to get notified if the video output gets paused, stopped
or continued?

I have tried to add a callback to the variable "state" inside my filter init method:

var_AddCallback( p_sys->p_vout, "state", StateCallback, p_vout );

like I saw it in another module but my callbackfunction is never called?
I can't debug it - I have only msg_Dbg added - but my messages gets never printed ...

Is there another way? doing that?


With best regards

André

-- working on cygwin with VLC 0.8.6c sources --
the most current source of my module...
http://eldo.gotdns.com/vlc-src/modules/video_filter/atmo.c

- Source of my main project the AtmoLight control software for win32
http://eldo.gotdns.com/atmo-src/AtmoWinA/





More information about the vlc-devel mailing list