gstreamer_core/gst/gstversion.h
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    55 /**
    55 /**
    56  * GST_VERSION_MICRO:
    56  * GST_VERSION_MICRO:
    57  *
    57  *
    58  * The micro version of GStreamer at compile time:
    58  * The micro version of GStreamer at compile time:
    59  */
    59  */
    60 #define GST_VERSION_MICRO (24)
    60 #define GST_VERSION_MICRO (19) //rj
    61 /**
    61 /**
    62  * GST_VERSION_NANO:
    62  * GST_VERSION_NANO:
    63  *
    63  *
    64  * The nano version of GStreamer at compile time:
    64  * The nano version of GStreamer at compile time:
    65  * Actual releases have 0, GIT versions have 1, prerelease versions have 2-...
    65  * Actual releases have 0, CVS versions have 1, prerelease versions have 2-...
    66  */
    66  */
    67 #define GST_VERSION_NANO (0)
    67 #define GST_VERSION_NANO (0)
    68 
       
    69 /**
       
    70  * GST_CHECK_VERSION:
       
    71  * @major: a number indicating the major version
       
    72  * @minor: a number indicating the minor version
       
    73  * @micro: a number indicating the micro version
       
    74  *
       
    75  * Check whether a GStreamer version equal to or greater than
       
    76  * major.minor.micro is present.
       
    77  *
       
    78  * Since: 0.10.18
       
    79  */
       
    80 #define	GST_CHECK_VERSION(major,minor,micro)	\
       
    81     (GST_VERSION_MAJOR > (major) || \
       
    82      (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR > (minor)) || \
       
    83      (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \
       
    84       GST_VERSION_MICRO >= (micro)))
       
    85 
    68 
    86 G_END_DECLS
    69 G_END_DECLS
    87 
    70 
    88 #endif /* __GST_VERSION_H__ */
    71 #endif /* __GST_VERSION_H__ */