[the-board: 5/8] [tb] Don't reset duration to 0 on EOS
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board: 5/8] [tb] Don't reset duration to 0 on EOS
- Date: Thu, 27 Jan 2011 18:02:36 +0000 (UTC)
commit 7dc4d4d66f4ed01e99f47e20a1e061d394014d4e
Author: Lucas Rocha <lucasr gnome org>
Date: Thu Jan 27 15:53:40 2011 +0000
[tb] Don't reset duration to 0 on EOS
src/tb/tb-sound-player.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/tb/tb-sound-player.c b/src/tb/tb-sound-player.c
index c026b89..8bab376 100644
--- a/src/tb/tb-sound-player.c
+++ b/src/tb/tb-sound-player.c
@@ -240,8 +240,6 @@ tb_sound_player_reset_pipeline (TbSoundPlayer *player)
gst_element_set_state (priv->pipeline, GST_STATE_NULL);
- priv->duration = 0;
-
g_object_notify (G_OBJECT (player), "duration");
g_object_notify (G_OBJECT (player), "progress");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]