[longomatch] Drawings are already cropped to the selected ROI.



commit cb55b94f3eb77102f4adfe32b4a40659bf03a1d7
Author: Julien Moutte <julien fluendo com>
Date:   Mon Apr 27 19:39:37 2015 +0200

    Drawings are already cropped to the selected ROI.

 LongoMatch.Services/RenderingJobsManager.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/RenderingJobsManager.cs b/LongoMatch.Services/RenderingJobsManager.cs
index fbc7518..c37a0f8 100644
--- a/LongoMatch.Services/RenderingJobsManager.cs
+++ b/LongoMatch.Services/RenderingJobsManager.cs
@@ -280,7 +280,8 @@ namespace LongoMatch.Services
                                videoEditor.AddSegment (file.FilePath, lastTS.MSeconds,
                                        fd.Render.MSeconds - lastTS.MSeconds,
                                        element.Rate, play.Name, file.HasAudio, roi);
-                               videoEditor.AddImageSegment (image_path, 0, fd.Pause.MSeconds, play.Name, 
fd.RegionOfInterest);
+                               // Drawings have already been cropped to ROI by the canvas, we pass an empty 
area
+                               videoEditor.AddImageSegment (image_path, 0, fd.Pause.MSeconds, play.Name, new 
Area ());
                                lastTS = fd.Render;
                        }
                        videoEditor.AddSegment (file.FilePath, lastTS.MSeconds,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]