[longomatch] Force a video conversion for now
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Force a video conversion for now
- Date: Wed, 3 Dec 2014 15:35:08 +0000 (UTC)
commit 7bd8f4e84fedfc27954bec060d1478b26fac880a
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Dec 3 16:34:52 2014 +0100
Force a video conversion for now
LongoMatch.GUI.Helpers/Misc.cs | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/LongoMatch.GUI.Helpers/Misc.cs b/LongoMatch.GUI.Helpers/Misc.cs
index a0c4db3..ce7ad50 100644
--- a/LongoMatch.GUI.Helpers/Misc.cs
+++ b/LongoMatch.GUI.Helpers/Misc.cs
@@ -347,12 +347,14 @@ namespace LongoMatch.Gui.Helpers
if (mediaFile != null) {
try {
if (multimedia.FileNeedsRemux (mediaFile)) {
- string q = Catalog.GetString ("This file needs to be
converted into a more suitable format." +
- "(this step only requires a few minutes)");
- gui.InfoMessage (q, parent);
- string newFilename = multimedia.RemuxFile (mediaFile, parent);
- if (newFilename != null)
- mediaFile = multimedia.DiscoverFile (newFilename);
+ string msg = Catalog.GetString ("This file is not a supported
format, convert it with video conversion tool");
+ throw new Exception (msg);
+// string q = Catalog.GetString ("This file needs to be
converted into a more suitable format." +
+// "(this step only requires a few minutes)");
+// gui.InfoMessage (q, parent);
+// string newFilename = multimedia.RemuxFile (mediaFile, parent);
+// if (newFilename != null)
+// mediaFile = multimedia.DiscoverFile (newFilename);
}
} catch (Exception ex) {
gui.ErrorMessage (ex.Message, parent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]