Enlightenment CVS committal
Author : rephorm
Project : misc
Module : eplayer
Dir : misc/eplayer/src
Modified Files:
callbacks.c
Log Message:
update the state BEFORE emitting the signal
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/callbacks.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- callbacks.c 6 Feb 2004 15:35:15 -0000 1.45
+++ callbacks.c 7 Feb 2004 18:56:40 -0000 1.46
@@ -1,5 +1,5 @@
/*
- * $Id: callbacks.c,v 1.45 2004/02/06 15:35:15 tsauerbeck Exp $
+ * $Id: callbacks.c,v 1.46 2004/02/07 18:56:40 rephorm Exp $
*/
#include <config.h>
@@ -44,9 +44,10 @@
assert(player);
if (new_state != playback_state)
+ {
+ playback_state = new_state;
signal_playback_state(player);
-
- playback_state = new_state;
+ }
}
/**
@@ -241,7 +242,7 @@
if (eplayer_playback_start(player, true))
state = PLAYBACK_STATE_PLAYING;
-
+
playback_state_set(player, state);
}
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs