Originally committed as revision 3172 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2004/05/30 09:38:09... | ... |
@@ -46,7 +46,7 @@ |
46 | 46 |
#define SDL_AUDIO_BUFFER_SIZE 1024 |
47 | 47 |
|
48 | 48 |
/* no AV sync correction is done if below the AV sync threshold */ |
49 |
-#define AV_SYNC_THRESHOLD 0.08 |
|
49 |
+#define AV_SYNC_THRESHOLD 0.01 |
|
50 | 50 |
/* no AV correction is done if too big error */ |
51 | 51 |
#define AV_NOSYNC_THRESHOLD 10.0 |
52 | 52 |
|
... | ... |
@@ -611,7 +611,7 @@ static void video_refresh_timer(void *opaque) |
611 | 611 |
if (is->video_st) { |
612 | 612 |
if (is->pictq_size == 0) { |
613 | 613 |
/* if no picture, need to wait */ |
614 |
- schedule_refresh(is, 40); |
|
614 |
+ schedule_refresh(is, 1); |
|
615 | 615 |
} else { |
616 | 616 |
/* dequeue the picture */ |
617 | 617 |
vp = &is->pictq[is->pictq_rindex]; |