User Tools

Site Tools


tutorial:writing_your_own_filter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
tutorial:writing_your_own_filter [2010/04/13 19:52]
meanadmin created
tutorial:writing_your_own_filter [2010/04/14 00:04]
j.m Fixing the REGISTERX snippet
Line 117: Line 117:
   * Declare a tag for your filter in ADM_filter/​video_filters.h   * Declare a tag for your filter in ADM_filter/​video_filters.h
   * Register your filter in ADM_filter/​filter_declaration.cpp using    * Register your filter in ADM_filter/​filter_declaration.cpp using 
-  ​REGISTERX("​rotate","​Rotate","​Rotate the picture by 90, 180 or 270 degrees.",​VF_ROTATE,​1,​rotate_create,​rotate_script);​+ 
 +<code cpp>REGISTERX("​rotate","​Rotate","​Rotate the picture by 90, 180 or 270 degrees.",​VF_ROTATE,​1,​rotate_create,​rotate_script);​</​code>​ 
 The first parameter is the internal name (must be unique) The first parameter is the internal name (must be unique)
 The second and 3rd parameters are the one used for display a,d brief The second and 3rd parameters are the one used for display a,d brief
tutorial/writing_your_own_filter.txt · Last modified: 2012/11/11 08:51 (external edit)