diff --git a/ext/alsa/gstalsasink.c b/ext/alsa/gstalsasink.c index 81731b6bb6..19dbd8bde6 100644 --- a/ext/alsa/gstalsasink.c +++ b/ext/alsa/gstalsasink.c @@ -491,6 +491,7 @@ retry: goto retry; } GST_DEBUG_OBJECT (alsa, "buffer time %u", buffer_time); + alsa->buffer_time = buffer_time; } if (period_time != -1 && !alsa->iec958) { /* set the period time */ @@ -504,6 +505,7 @@ retry: goto retry; } GST_DEBUG_OBJECT (alsa, "period time %u", period_time); + alsa->period_time = period_time; } /* Set buffer size and period size manually for SPDIF */