[longomatch/fakelive: 24/24] Set a null pixbuf for new plays with the fake capturer



commit 513c4af953227175cefe5454cf0a4a45c2a4ce57
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 345d34e..66fd87c 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]