[MeeGo-dev] QMediaplayer error handle
yinxb
yinxb at neusoft.com
Mon Jun 20 00:53:16 PDT 2011
Hi
I encounted a problem that when remove SD from tablet,the player
which is playting a video in SD card,freeze.
(It seems players try to play the next frame but never get the next
frame. the audio output is "ka ka ka"),I have to restart the tablet.
Yes,I can get the error info from QMediaPLayer that is "cannot read
from resource",so I invoke the following functions
1.m_mediaPlayer->stop();
2.m_mediaPlayer->setMedia(QMediaContent(QUrl::fromUserInput(NULL)));
even
3.delete m_mediaPlayer;
But it is too late,the player hangs too.
Anyone can give me a hint how to solve the removable playing data?
Thanks
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------
More information about the MeeGo-dev
mailing list