Page 1 of 1
Pause playback from video filter module
Posted: 22 Jan 2015 13:23
by pivoo
Hello.
I need to pause playback from video filter module.
In function I just have
filter_t* p_filter
How should I correctly do the pause action?
Thanks!
Re: Pause playback from video filter module
Posted: 22 Jan 2015 14:26
by Jean-Baptiste Kempf
Access the playlist to do it.
Re: Pause playback from video filter module
Posted: 22 Jan 2015 14:53
by pivoo
How to access the playlist from video filter function?
For Example I situated in
subsdelay.c:
static subpicture_t * SubsdelayFilter( filter_t *p_filter, subpicture_t* p_subpic )
{
// How to get access to playlist from here ?
}
Re: Pause playback from video filter module
Posted: 25 Jan 2015 00:57
by RĂ©mi Denis-Courmont
You can't pause from a filter with the current code base. I'm not sure if it would even make sense, but regardless it is not implemented at this point.
Re: Pause playback from video filter module
Posted: 26 Jan 2015 09:43
by pivoo
Maybe I can send some signal ... somewhere, which will be received and proccessed in some place where playback could be paused?