]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/oss.c
aout_buffer_t.start_data -> aout_buffer_t.i_pts
[vlc] / modules / audio_output / oss.c
index 22c98467a58e8ad8daf57cdf2ba2a7d412b8572c..e70bf5150ec284974972c0197d428db0be1653fd 100644 (file)
@@ -663,7 +663,7 @@ static void* OSSThread( vlc_object_t *p_this )
             i_size = p_buffer->i_nb_bytes;
             /* This is theoretical ... we'll see next iteration whether
              * we're drifting */
-            next_date += p_buffer->end_date - p_buffer->start_date;
+            next_date += p_buffer->end_date - p_buffer->i_pts;
         }
         else
         {