Author: fejj
Date: 2007-08-27 17:32:30 -0400 (Mon, 27 Aug 2007)
New Revision: 84920
Modified:
trunk/moon/src/media.cpp
Log:
more updates to the last commit
Modified: trunk/moon/src/media.cpp
===================================================================
--- trunk/moon/src/media.cpp 2007-08-27 21:27:59 UTC (rev 84919)
+++ trunk/moon/src/media.cpp 2007-08-27 21:32:30 UTC (rev 84920)
@@ -107,7 +107,9 @@
media_element_set_position (this, position);
updating = false;
} else if (mplayer->MediaEnded ()) {
- // FIXME: we need to do the same for audio-only media
+ mplayer->Stop ();
+ g_source_remove (timeout_id);
+ timeout_id = 0;
media_element_set_current_state (this, "Stopped");
Emit (MediaEndedEvent);
return false;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches