Pause playback from video filter module

This forum is about all development around libVLC.
pivoo
New Cone
New Cone
Posts: 9
Joined: 29 Jul 2011 08:50

Pause playback from video filter module

Postby pivoo » 22 Jan 2015 13:23

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!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Pause playback from video filter module

Postby Jean-Baptiste Kempf » 22 Jan 2015 14:26

Access the playlist to do it.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

pivoo
New Cone
New Cone
Posts: 9
Joined: 29 Jul 2011 08:50

Re: Pause playback from video filter module

Postby pivoo » 22 Jan 2015 14:53

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 ?

}

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Pause playback from video filter module

Postby Rémi Denis-Courmont » 25 Jan 2015 00:57

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pivoo
New Cone
New Cone
Posts: 9
Joined: 29 Jul 2011 08:50

Re: Pause playback from video filter module

Postby pivoo » 26 Jan 2015 09:43

Maybe I can send some signal ... somewhere, which will be received and proccessed in some place where playback could be paused?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 32 guests