[longomatch] Pause player when tagging
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Pause player when tagging
- Date: Mon, 19 Dec 2011 23:48:13 +0000 (UTC)
commit bbc93f0b2fe3469520faac1ce1c642da418fe072
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Dec 20 00:46:38 2011 +0100
Pause player when tagging
LongoMatch.Services/Services/EventsManager.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/Services/EventsManager.cs b/LongoMatch.Services/Services/EventsManager.cs
index 31aedcc..9ba1b84 100644
--- a/LongoMatch.Services/Services/EventsManager.cs
+++ b/LongoMatch.Services/Services/EventsManager.cs
@@ -134,8 +134,10 @@ namespace LongoMatch.Services
}
miniature = capturer.CurrentMiniatureFrame;
}
- else if(projectType == ProjectType.FileProject)
+ else if(projectType == ProjectType.FileProject) {
miniature = player.CurrentMiniatureFrame;
+ player.Pause();
+ }
else
miniature = null;
@@ -144,6 +146,9 @@ namespace LongoMatch.Services
mainWindow.AddPlay(play);
/* Tag subcategories of the new play */
LaunchPlayTagger(play);
+ if (projectType == ProjectType.FileProject) {
+ player.Play();
+ }
}
protected virtual void OnNewTagAtFrame(Category category, int frame) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]