MythTV  master
Macros | Variables
vsync.cpp File Reference
#include <cstdio>
#include <cerrno>
#include <cmath>
#include <cstdlib>
#include <unistd.h>
#include <chrono>
#include <thread>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "compat.h"
#include "mythcontext.h"
#include "mythmainwindow.h"
#include "videoout_vdpau.h"
#include "videoout_xv.h"
#include "videooutbase.h"
#include "vsync.h"
Include dependency graph for vsync.cpp:

Go to the source code of this file.

Macros

#define TESTVIDEOSYNC(NAME)
 
#define LOC   QString("VSYNC: ")
 

Variables

bool tryingVideoSync = false
 

Macro Definition Documentation

◆ TESTVIDEOSYNC

#define TESTVIDEOSYNC (   NAME)
Value:
do { if (++s_forceskip > skip) \
{ \
trial = new NAME (video_output, refresh_interval); \
if (trial->TryInit()) \
{ \
s_forceskip = skip; \
tryingVideoSync = false; \
return trial; \
} \
delete trial; \
} } while (false)

Definition at line 59 of file vsync.cpp.

◆ LOC

#define LOC   QString("VSYNC: ")

Definition at line 72 of file vsync.cpp.

Variable Documentation

◆ tryingVideoSync

bool tryingVideoSync = false

Definition at line 56 of file vsync.cpp.

Referenced by VideoSync::BestMethod().