[longomatch] Set a null pixbuf for new plays with the fake capturer
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Set a null pixbuf for new plays with the fake capturer
- Date: Thu, 25 Mar 2010 20:47:28 +0000 (UTC)
commit 2c335f7467dfa504a7a09f9d072a0991863f17ab
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Mar 4 00:31:47 2010 +0100
Set a null pixbuf for new plays with the fake capturer
LongoMatch/Handlers/EventsManager.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Handlers/EventsManager.cs b/LongoMatch/Handlers/EventsManager.cs
index ade7b9d..4c726b2 100644
--- a/LongoMatch/Handlers/EventsManager.cs
+++ b/LongoMatch/Handlers/EventsManager.cs
@@ -155,7 +155,8 @@ namespace LongoMatch
length = new Time((int)player.StreamLength);
Time fStop = (stop > length) ? length: stop;
- Pixbuf miniature = player.CurrentMiniatureFrame;
+ Pixbuf miniature = projectType == ProjectType.NewFakeCaptureProject ?
+ null : player.CurrentMiniatureFrame;
MediaTimeNode tn = openedProject.AddTimeNode(section,fStart, fStop,miniature);
treewidget.AddPlay(tn,section);
tagsTreeWidget.AddPlay(tn);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]