[longomatch] Increase wait for frames capture
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Increase wait for frames capture
- Date: Wed, 11 Feb 2015 23:48:01 +0000 (UTC)
commit 2fb181a3cbd58ce786bc070577a7180b82072a44
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Feb 12 00:45:42 2015 +0100
Increase wait for frames capture
LongoMatch.Multimedia/Player/GstPlayer.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.Multimedia/Player/GstPlayer.cs b/LongoMatch.Multimedia/Player/GstPlayer.cs
index 68310f7..bb06027 100644
--- a/LongoMatch.Multimedia/Player/GstPlayer.cs
+++ b/LongoMatch.Multimedia/Player/GstPlayer.cs
@@ -536,14 +536,14 @@ namespace LongoMatch.Video.Player
{
Image img = null;
- Seek (pos, accurate, false);
Pause ();
+ Seek (pos, accurate, false);
for (int i=0; i < 3; i++) {
img = GetCurrentFrame (outwidth, outheight);
if (img != null) {
break;
}
- System.Threading.Thread.Sleep (10);
+ System.Threading.Thread.Sleep (100);
}
return img;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]