[longomatch] MediaFile: add a property for the container type



commit 61f2da205a0f8fcfc3bc2621ef76ed57b52a241c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Mar 27 21:54:24 2013 +0100

    MediaFile: add a property for the container type

 LongoMatch.Core/Store/MediaFile.cs |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Core/Store/MediaFile.cs b/LongoMatch.Core/Store/MediaFile.cs
index a571f5e..1c097d5 100644
--- a/LongoMatch.Core/Store/MediaFile.cs
+++ b/LongoMatch.Core/Store/MediaFile.cs
@@ -35,6 +35,7 @@ namespace LongoMatch.Store
                ushort fps;
                bool hasAudio;
                bool hasVideo;
+               string container;
                string videoCodec;
                string audioCodec;
                uint videoHeight;
@@ -50,6 +51,7 @@ namespace LongoMatch.Store
                                 ushort fps,
                                 bool hasAudio,
                                 bool hasVideo,
+                                string container,
                                 string videoCodec,
                                 string audioCodec,
                                 uint videoWidth,
@@ -61,6 +63,7 @@ namespace LongoMatch.Store
                        this.length = length;
                        this.hasAudio = hasAudio;
                        this.hasVideo = hasVideo;
+                       this.container = container;
                        this.videoCodec = videoCodec;
                        this.audioCodec = audioCodec;
                        this.videoHeight = videoHeight;
@@ -109,6 +112,15 @@ namespace LongoMatch.Store
                                this.hasAudio = value;
                        }
                }
+               
+               public string Container {
+                       get {
+                               return this.container;
+                       }
+                       set {
+                               this.container = value;
+                       }
+               }
 
                public string VideoCodec {
                        get {


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