1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-01 14:45:31 +00:00

Use the external clock by default

This commit is contained in:
Chris Robinson 2012-12-13 06:11:32 -08:00
parent 0a5ab977b7
commit 43481ad117
2 changed files with 3 additions and 2 deletions

View file

@ -609,7 +609,8 @@ public:
avcodec_default_release_buffer(c, pic); avcodec_default_release_buffer(c, pic);
} }
int video_thread(void *arg) { int video_thread(void *arg)
{
VideoState *is = (VideoState *)arg; VideoState *is = (VideoState *)arg;
AVPacket pkt1, *packet = &pkt1; AVPacket pkt1, *packet = &pkt1;
int frameFinished; int frameFinished;

View file

@ -28,7 +28,7 @@ extern "C"
#define SAMPLE_CORRECTION_PERCENT_MAX 10 #define SAMPLE_CORRECTION_PERCENT_MAX 10
#define AUDIO_DIFF_AVG_NB 20 #define AUDIO_DIFF_AVG_NB 20
#define VIDEO_PICTURE_QUEUE_SIZE 1 #define VIDEO_PICTURE_QUEUE_SIZE 1
#define DEFAULT_AV_SYNC_TYPE AV_SYNC_VIDEO_MASTER #define DEFAULT_AV_SYNC_TYPE AV_SYNC_EXTERNAL_MASTER
namespace MWRender namespace MWRender