Commit 665a629e authored by Luigi Toscano's avatar Luigi Toscano

Set the tick interval, because the default value is 0

With this change the time is correctly updated also when using
the VLC backend.
It worked for some reason with phonon-gstreamer, but it looks like
it's just by accident. In fact, according the documentation, the default
value of the property is 0:

The choosen value (100) should allow for a fluid scrolling of the
progress element, without having a too small resolution, and
it seems to match the resolution of the gstreamer backend anyway.

BUG: 389907

Test Plan:
The time is updated on both the progress bar and the status bar with
both VLC and GStreamer Phonon backends.

Reviewers: mpyne

Reviewed By: mpyne

Differential Revision:
parent d75962dd
......@@ -523,6 +523,8 @@ void PlayerManager::setup()
connect(m_media, &MediaObject::finished, this, &PlayerManager::slotFinished);
connect(m_media, &MediaObject::seekableChanged, this, &PlayerManager::slotSeekableChanged);
// initialize action states
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment