]> git.sesse.net Git - ffmpeg/commitdiff
vf_setpts: remove mathematical constants now redundant.
authorNicolas George <nicolas.george@normalesup.org>
Thu, 13 Oct 2011 15:54:08 +0000 (17:54 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 13 Oct 2011 16:08:50 +0000 (18:08 +0200)
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/filters.texi
libavfilter/vf_setpts.c

index 18220e2f6ec8586afd84d42a6187191bc89c51d8..5f3d0906bd618f222653161d6012caae10258314 100644 (file)
@@ -1882,15 +1882,6 @@ can contain the following constants:
 @item PTS
 the presentation timestamp in input
 
-@item PI
-Greek PI
-
-@item PHI
-golden ratio
-
-@item E
-Euler number
-
 @item N
 the count of the input frame, starting from 0.
 
index ace2595346b05fc45a0afc354fb5c990d09a8709..1223be505490c8823c4b493dff333bbeab7ed652 100644 (file)
 #include "avfilter.h"
 
 static const char *var_names[] = {
-    "E",           ///< Euler number
     "INTERLACED",  ///< tell if the current frame is interlaced
     "N",           ///< frame number (starting at zero)
-    "PHI",         ///< golden ratio
-    "PI",          ///< greek pi
     "POS",         ///< original position in the file of the frame
     "PREV_INPTS",  ///< previous  input PTS
     "PREV_OUTPTS", ///< previous output PTS
@@ -46,11 +43,8 @@ static const char *var_names[] = {
 };
 
 enum var_name {
-    VAR_E,
     VAR_INTERLACED,
     VAR_N,
-    VAR_PHI,
-    VAR_PI,
     VAR_POS,
     VAR_PREV_INPTS,
     VAR_PREV_OUTPTS,
@@ -76,10 +70,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
         return ret;
     }
 
-    setpts->var_values[VAR_E          ] = M_E;
     setpts->var_values[VAR_N          ] = 0.0;
-    setpts->var_values[VAR_PHI        ] = M_PHI;
-    setpts->var_values[VAR_PI         ] = M_PI;
     setpts->var_values[VAR_PREV_INPTS ] = NAN;
     setpts->var_values[VAR_PREV_OUTPTS] = NAN;
     setpts->var_values[VAR_STARTPTS   ] = NAN;