From 7c05c5cf2611a5645e5d4db058b876e73515cb8f Mon Sep 17 00:00:00 2001 From: Vsevolod Buzinov Date: Wed, 7 Jul 2010 12:01:33 +0300 Subject: Fixed a thinko in demo player that broke the video playback --- demo/player/playerwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demo/player/playerwidget.cpp') diff --git a/demo/player/playerwidget.cpp b/demo/player/playerwidget.cpp index 8d65b3b..6cb87c3 100644 --- a/demo/player/playerwidget.cpp +++ b/demo/player/playerwidget.cpp @@ -128,7 +128,7 @@ void PlayerWidget::pause(bool releaseResources) { * * \see signal ResourcePolicy::ResourceSet::resourcesGranted(). */ -void PlayerWidget::resourceAcquiredHandler(const QList& grantedResList) { +void PlayerWidget::resourceAcquiredHandler(const QList& /*grantedOptionalResList*/) { qDebug("PlayerWidget::resourceAcquiredHandler()"); QList list = resourceSet->resources(); @@ -139,7 +139,7 @@ void PlayerWidget::resourceAcquiredHandler(const QList 1)) + if (filetype == AUDIO || (filetype == VIDEO && list.count() > 1)) beginPlayback(); } } -- cgit v1.2.3