mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 11:45:33 +00:00
Use the external clock by default
This commit is contained in:
parent
0a5ab977b7
commit
43481ad117
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue