[longomatch] Disable WEBM format on win32 (the encoder segfaults)
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Disable WEBM format on win32 (the encoder segfaults)
- Date: Wed, 21 Jul 2010 23:53:51 +0000 (UTC)
commit 7377c299ec5c797efc905aaafcefeb1652ffe6be
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Jul 21 22:06:10 2010 +0200
Disable WEBM format on win32 (the encoder segfaults)
LongoMatch/Gui/Component/ProjectDetailsWidget.cs | 7 ++++---
LongoMatch/Gui/Dialog/VideoEditionProperties.cs | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/ProjectDetailsWidget.cs b/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
index c353bb6..0cd09dd 100644
--- a/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
+++ b/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
@@ -433,11 +433,12 @@ namespace LongoMatch.Gui.Component
sizecombobox.AppendText(PAL_3_4_FORMAT);
sizecombobox.AppendText(PAL_1_2_FORMAT);
sizecombobox.Active = 0;
-
- videoformatcombobox.AppendText(Constants.WEBM);
+
+ if (Environment.OSVersion.Platform != PlatformID.Win32NT)
+ videoformatcombobox.AppendText(Constants.WEBM);
+ videoformatcombobox.AppendText(Constants.AVI);
videoformatcombobox.AppendText(Constants.OGG);
videoformatcombobox.AppendText(Constants.MP4);
- videoformatcombobox.AppendText(Constants.AVI);
videoformatcombobox.Active = 0;
}
diff --git a/LongoMatch/Gui/Dialog/VideoEditionProperties.cs b/LongoMatch/Gui/Dialog/VideoEditionProperties.cs
index 94154ac..90e2ff0 100644
--- a/LongoMatch/Gui/Dialog/VideoEditionProperties.cs
+++ b/LongoMatch/Gui/Dialog/VideoEditionProperties.cs
@@ -43,10 +43,10 @@ namespace LongoMatch.Gui.Dialog
public VideoEditionProperties()
{
this.Build();
- formatcombobox.AppendText(Constants.WEBM);
formatcombobox.AppendText(Constants.MP4);
formatcombobox.AppendText(Constants.AVI);
if (System.Environment.OSVersion.Platform != PlatformID.Win32NT) {
+ formatcombobox.AppendText(Constants.WEBM);
formatcombobox.AppendText(Constants.OGG);
formatcombobox.AppendText(Constants.DVD);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]