[grilo-plugins/0.1.x] apple-trailers: set mime-type



commit a68da37a138c6dfa4af73bec94a628988f79f3a0
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Wed Sep 7 20:08:22 2011 +0200

    apple-trailers: set mime-type
    
    Mime-type is set to "video/mp4".
    
    From the webpage, seems the .mov files have this mimetype.
    
    And .m4v has usually this mimetype too.
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/media/apple-trailers/grl-apple-trailers.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/media/apple-trailers/grl-apple-trailers.c b/src/media/apple-trailers/grl-apple-trailers.c
index 949f188..9977094 100644
--- a/src/media/apple-trailers/grl-apple-trailers.c
+++ b/src/media/apple-trailers/grl-apple-trailers.c
@@ -361,6 +361,8 @@ build_media_from_movie (xmlNodePtr node, gboolean xlarge)
   grl_media_set_certificate (media, movie_rating);
   grl_media_set_studio (media, movie_studio);
 
+  grl_media_set_mime (media, "video/mp4");
+
   /* FIXME: Translation */
   grl_media_set_license (media, movie_copyright);
 



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