Commit 71e99db8 authored by Thomas Guillem's avatar Thomas Guillem Committed by Ilkka Ollakka

fps: don't export too common functions

Signed-off-by: default avatarIlkka Ollakka <ileoo@videolan.org>
parent 23cf2698
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_filter.h> #include <vlc_filter.h>
int Open( vlc_object_t *p_this); static int Open( vlc_object_t *p_this);
void Close( vlc_object_t *p_this); static void Close( vlc_object_t *p_this);
picture_t *Filter( filter_t *p_filter, picture_t *p_picture); static picture_t *Filter( filter_t *p_filter, picture_t *p_picture);
#define CFG_PREFIX "fps-" #define CFG_PREFIX "fps-"
...@@ -65,7 +65,7 @@ struct filter_sys_t ...@@ -65,7 +65,7 @@ struct filter_sys_t
int i_output_frame_interval; int i_output_frame_interval;
}; };
picture_t *Filter( filter_t *p_filter, picture_t *p_picture) static picture_t *Filter( filter_t *p_filter, picture_t *p_picture)
{ {
filter_sys_t *p_sys = p_filter->p_sys; filter_sys_t *p_sys = p_filter->p_sys;
/* If input picture doesn't have actual valid timestamp, /* If input picture doesn't have actual valid timestamp,
...@@ -122,7 +122,7 @@ picture_t *Filter( filter_t *p_filter, picture_t *p_picture) ...@@ -122,7 +122,7 @@ picture_t *Filter( filter_t *p_filter, picture_t *p_picture)
return last_pic; return last_pic;
} }
int Open( vlc_object_t *p_this) static int Open( vlc_object_t *p_this)
{ {
filter_t *p_filter = (filter_t*)p_this; filter_t *p_filter = (filter_t*)p_this;
filter_sys_t *p_sys; filter_sys_t *p_sys;
...@@ -164,7 +164,7 @@ int Open( vlc_object_t *p_this) ...@@ -164,7 +164,7 @@ int Open( vlc_object_t *p_this)
return VLC_SUCCESS; return VLC_SUCCESS;
} }
void Close( vlc_object_t *p_this ) static void Close( vlc_object_t *p_this )
{ {
filter_t *p_filter = (filter_t*)p_this; filter_t *p_filter = (filter_t*)p_this;
if( p_filter->p_sys->p_previous_pic ) if( p_filter->p_sys->p_previous_pic )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment