Clear error message after sending.

This commit is contained in:
mark 2007-02-08 14:51:07 +00:00
parent f458399000
commit 7bdbfa5968
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ GstreamerPlayer :: fireOnStopEvent(gpointer self) throw (
Ptr<const std::string>::Ref msg;
if (!player->m_errorMessage.empty()) {
msg.reset(new const std::string(player->m_errorMessage));
player->m_errorMessage.clear();
}
ListenerVector::iterator it = player->m_listeners.begin();