]> git.sesse.net Git - mlt/blobdiff - src/modules/sdl/consumer_sdl_audio.c
Disable purging consumer on seek in sdl_audio.
[mlt] / src / modules / sdl / consumer_sdl_audio.c
index f15bbf2106efc5140c5ba4311a30ed8e5aabdfea..c9bc4acdce73deb31e4b29d62dacf3aa28c1cad4 100644 (file)
@@ -541,8 +541,9 @@ static void *consumer_thread( void *arg )
                        // Optimisation to reduce latency
                        if ( speed == 1.0 )
                        {
-                               if ( last_position != -1 && last_position + 1 != mlt_frame_get_position( frame ) )
-                                       mlt_consumer_purge( consumer );
+                // TODO: disabled due to misbehavior on parallel-consumer
+//                             if ( last_position != -1 && last_position + 1 != mlt_frame_get_position( frame ) )
+//                                     mlt_consumer_purge( consumer );
                                last_position = mlt_frame_get_position( frame );
                        }
                        else