ardour
Macros
transcode_ffmpeg.cc File Reference
#include <stdio.h>
#include <string.h>
#include <sstream>
#include <sys/types.h>
#include "pbd/error.h"
#include "pbd/convert.h"
#include "pbd/file_utils.h"
#include "gui_thread.h"
#include "transcode_ffmpeg.h"
#include "utils_videotl.h"
#include "video_tool_paths.h"
#include "i18n.h"

Go to the source code of this file.

Macros

#define PARSE_FRACTIONAL_FPS(VAR)
 
#define MAX_FFMPEG_ENCODER_ARGS   (100)
 

Macro Definition Documentation

#define MAX_FFMPEG_ENCODER_ARGS   (100)
#define PARSE_FRACTIONAL_FPS (   VAR)
Value:
{ \
std::string::size_type pos; \
VAR = atof(value); \
pos = value.find_first_of('/'); \
if (pos != std::string::npos) { \
VAR = atof(value.substr(0, pos)) / atof(value.substr(pos+1)); \
} \
}
double atof(const string &s)
Definition: convert.cc:158