summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-15 22:45:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-15 22:45:23 +0200
commit9c10d1911b61fdc8d70515bd810fd2e7b9e2be53 (patch)
tree2cfb4b1a234478edbdf1fbd0b5db4ff0fc58b13f /avmedia
parentdc59182bfbb67d22d9e88745380142f811616c2c (diff)
loplugin:bodynotinblock
Change-Id: I9c573af8f378cd0b0cb9898d84b5d566f498f57e
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/macavf/player.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm
index 343f562b6ef5..6c348e0ef4be 100644
--- a/avmedia/source/macavf/player.mm
+++ b/avmedia/source/macavf/player.mm
@@ -182,7 +182,9 @@ void SAL_CALL Player::start()
OSL_TRACE ("Player::start status=%d", (int)eStatus);
if( eStatus == AVPlayerStatusReadyToPlay)
#endif
+ {
[mpPlayer play];
+ }
// else // TODO: delay until it becomes ready
}