[longomatch] Notify stream length as soon as we open the fileset
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Notify stream length as soon as we open the fileset
- Date: Tue, 31 Mar 2015 17:32:44 +0000 (UTC)
commit 1a3a51a5c66e3a3a4097fc578d001978030d2b65
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Mar 24 11:58:24 2015 +0100
Notify stream length as soon as we open the fileset
LongoMatch.Services/Services/PlayerController.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Services/Services/PlayerController.cs
b/LongoMatch.Services/Services/PlayerController.cs
index a204e1f..08a2376 100644
--- a/LongoMatch.Services/Services/PlayerController.cs
+++ b/LongoMatch.Services/Services/PlayerController.cs
@@ -620,6 +620,7 @@ namespace LongoMatch.Services
try {
Log.Debug ("Opening new file set " + fileSet);
player.Open (fileSet);
+ EmitTimeChanged (new Time (0), player.StreamLength);
} catch (Exception ex) {
Log.Exception (ex);
//We handle this error async
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]