[longomatch] Remux files to mp4 which is the one working now
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Remux files to mp4 which is the one working now
- Date: Wed, 24 Dec 2014 13:06:18 +0000 (UTC)
commit f4616144b74ba06323ae3468779f444cf9c49616
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Dec 24 14:05:52 2014 +0100
Remux files to mp4 which is the one working now
LongoMatch.GUI.Multimedia/Gui/Utils/Remuxer.cs | 2 +-
LongoMatch.GUI.Multimedia/MultimediaToolkit.cs | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/Utils/Remuxer.cs b/LongoMatch.GUI.Multimedia/Gui/Utils/Remuxer.cs
index e3f3dd6..e033cf7 100644
--- a/LongoMatch.GUI.Multimedia/Gui/Utils/Remuxer.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/Utils/Remuxer.cs
@@ -43,7 +43,7 @@ namespace LongoMatch.Video.Utils
Window parent;
public Remuxer (MediaFile inputFile, string outputFilepath = null,
- VideoMuxerType muxer = VideoMuxerType.Matroska)
+ VideoMuxerType muxer = VideoMuxerType.Mp4)
{
this.inputFile = inputFile;
this.muxer = muxer;
diff --git a/LongoMatch.GUI.Multimedia/MultimediaToolkit.cs b/LongoMatch.GUI.Multimedia/MultimediaToolkit.cs
index af1d421..d1ebf6c 100644
--- a/LongoMatch.GUI.Multimedia/MultimediaToolkit.cs
+++ b/LongoMatch.GUI.Multimedia/MultimediaToolkit.cs
@@ -31,11 +31,11 @@ namespace LongoMatch.Video
{
public string RemuxFile (MediaFile file, object window) {
string outputFile = Config.GUIToolkit.SaveFile (Catalog.GetString ("Output file"),
- Path.ChangeExtension (file.FilePath,
".mkv"),
+ Path.ChangeExtension (file.FilePath,
".mp4"),
Path.GetDirectoryName (file.FilePath),
- "Matroska (.mkv)", new string[] {
".mkv"});
- outputFile = Path.ChangeExtension (outputFile, ".mkv");
- Utils.Remuxer remuxer = new Utils.Remuxer (file, outputFile, VideoMuxerType.Matroska);
+ "MP4 (.mp4)", new string[] { ".mp4"});
+ outputFile = Path.ChangeExtension (outputFile, ".mp4");
+ Utils.Remuxer remuxer = new Utils.Remuxer (file, outputFile, VideoMuxerType.Mp4);
return remuxer.Remux (window as Gtk.Window);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]