[longomatch] Remux ASF files to matroska



commit 935435418016cfe7b9e5e85420c0b2e78c0a5b30
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Aug 7 15:24:19 2013 +0200

    Remux ASF files to matroska

 LongoMatch.GUI.Multimedia/Gui/Utils/Remuxer.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/Utils/Remuxer.cs b/LongoMatch.GUI.Multimedia/Gui/Utils/Remuxer.cs
index 176397d..6025b59 100644
--- a/LongoMatch.GUI.Multimedia/Gui/Utils/Remuxer.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/Utils/Remuxer.cs
@@ -23,6 +23,7 @@ using GLib;
 using Gtk;
 
 using LongoMatch.Interfaces.Multimedia;
+using LongoMatch.Multimedia.Utils;
 using LongoMatch.Common;
 using LongoMatch.Store;
 
@@ -45,6 +46,8 @@ namespace LongoMatch.Video.Utils
                                VideoMuxerType muxer = VideoMuxerType.Mp4)
                {
                        this.inputFile = inputFile;
+                       if (inputFile.Container == GStreamer.ASF)
+                               muxer = VideoMuxerType.Matroska;
                        this.muxer = muxer;
                        
                        if (outputFilepath != null) {


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