summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/video_out.c')
-rw-r--r--src/xine-engine/video_out.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c
index 171190bc5..152f0878a 100644
--- a/src/xine-engine/video_out.c
+++ b/src/xine-engine/video_out.c
@@ -437,6 +437,20 @@ static int vo_frame_draw (vo_frame_t *img, xine_stream_t *stream) {
int frames_to_skip;
int duration;
+ /*if (1) {
+ static int64_t pts = 0;
+ fprintf(stderr, "img->pts: %lld, pts: %lld, img->duration: %d", img->pts, pts, img->duration);
+ if (img->pts) {
+ if (pts != img->pts)
+ fprintf(stderr, " ERROR: %12ld", img->pts - pts);
+ pts = img->pts + img->duration;
+ }
+ else {
+ pts += img->duration;
+ }
+ fprintf(stderr, "\n");
+ }*/
+
/* handle anonymous streams like NULL for easy checking */
if (stream == XINE_ANON_STREAM) stream = NULL;