rygel r107 - in trunk: . src
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r107 - in trunk: . src
- Date: Tue, 28 Oct 2008 21:00:28 +0000 (UTC)
Author: zeeshanak
Date: Tue Oct 28 21:00:28 2008
New Revision: 107
URL: http://svn.gnome.org/viewvc/rygel?rev=107&view=rev
Log:
Only react to PAUSED state-change if the previous state was READY.
Modified:
trunk/ChangeLog
trunk/src/gupnp-metadata-extractor.vala
Modified: trunk/src/gupnp-metadata-extractor.vala
==============================================================================
--- trunk/src/gupnp-metadata-extractor.vala (original)
+++ trunk/src/gupnp-metadata-extractor.vala Tue Oct 28 21:00:28 2008
@@ -108,9 +108,10 @@
return;
State new_state;
+ State old_state;
- message.parse_state_changed (null, out new_state, null);
- if (new_state == State.PAUSED) {
+ message.parse_state_changed (out old_state, out new_state, null);
+ if (new_state == State.PAUSED && old_state == State.READY) {
int64 duration;
Format format = Format.TIME;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]