OGMRip Reference Manual | ||||
---|---|---|---|---|
Version informationVersion information — Variables and functions to check the OGMRip and MPlayer versions |
gboolean ogmrip_check_mencoder (void); gboolean ogmrip_check_mplayer (void); gboolean ogmrip_check_mplayer_dts (void); gboolean ogmrip_check_mplayer_version (gint major, gint minor, gint rc, gint pre); #define OGMRIP_MAJOR_VERSION #define OGMRIP_MINOR_VERSION #define OGMRIP_MICRO_VERSION #define OGMRIP_CHECK_VERSION (major,minor,micro) #define MPLAYER_CHECK_VERSION (major,minor,rc,pre)
gboolean ogmrip_check_mencoder (void);
Checks if mencoder is installed.
Returns : |
TRUE if mencoder is installed |
gboolean ogmrip_check_mplayer (void);
Checks if mplayer is installed.
Returns : |
TRUE if mplayer is installed |
gboolean ogmrip_check_mplayer_dts (void);
Checks if mplayer has DTS support.
Returns : |
TRUE if DTS is supported |
gboolean ogmrip_check_mplayer_version (gint major, gint minor, gint rc, gint pre);
Checks if the version of mplayer is older than a given version.
|
The major version number |
|
The minor version number |
|
The release candidate version number, or 0 if none |
|
The pre-release version number, or 0 if none |
Returns : |
TRUE if the version is older |
#define OGMRIP_CHECK_VERSION(major,minor,micro)
Checks whether version is equal or greather than major.minor.micro
|
A major version number |
|
A minor version number |
|
A micro version number |