summaryrefslogtreecommitdiff
path: root/apps/plugins/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/video.c')
-rw-r--r--apps/plugins/video.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c
index 91d47a52d1..6ed7036015 100644
--- a/apps/plugins/video.c
+++ b/apps/plugins/video.c
@@ -32,6 +32,8 @@
32#ifndef SIMULATOR // not for simulator by now 32#ifndef SIMULATOR // not for simulator by now
33#ifdef HAVE_LCD_BITMAP // and definitely not for the Player, haha 33#ifdef HAVE_LCD_BITMAP // and definitely not for the Player, haha
34 34
35PLUGIN_HEADER
36
35/* variable button definitions */ 37/* variable button definitions */
36#if CONFIG_KEYPAD == RECORDER_PAD 38#if CONFIG_KEYPAD == RECORDER_PAD
37#define VIDEO_STOP_SEEK BUTTON_PLAY 39#define VIDEO_STOP_SEEK BUTTON_PLAY
@@ -984,11 +986,6 @@ int main(char* filename)
984 986
985enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 987enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
986{ 988{
987 /* this macro should be called as the first thing you do in the plugin.
988 it test that the api version and model the plugin was compiled for
989 matches the machine it is running on */
990 TEST_PLUGIN_API(api);
991
992 rb = api; // copy to global api pointer 989 rb = api; // copy to global api pointer
993 990
994 if (parameter == NULL) 991 if (parameter == NULL)