commit 4b4b89da8ce67293d20756811d93fcaa96c38498
Author: Christophe Fergeau <cferg...@mandriva.com>
Date:   Fri Mar 12 13:59:38 2010 +0100

    tag .mov files as video files
    
    iPods can play .mov files in addition to .m4v files, so mark these files
    as video.
    
    Patch from Erik Staats from the songbird project.

 src/itdb_track.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/itdb_track.c b/src/itdb_track.c
index 6c3ac56..52a9fd4 100644
--- a/src/itdb_track.c
+++ b/src/itdb_track.c
@@ -71,6 +71,7 @@ static void itdb_track_set_defaults (Itdb_Track *tr)
     gchar *audible_subdesc[] = {"Audible", "audible", "Book", "book", NULL};
     gchar *wav_desc[] = {"WAV", "wav", NULL};
     gchar *m4v_desc[] = {"M4V", "MP4", "MP4V", "m4v", "mp4", "mp4v", NULL};
+    gchar *mov_desc[] = {"MOV", "mov", NULL};
 
     g_return_if_fail (tr);
     g_return_if_fail (tr->itdb);
@@ -153,7 +154,8 @@ static void itdb_track_set_defaults (Itdb_Track *tr)
         */
        if (tr->mediatype == 0)
        {
-           if (haystack (tr->filetype, m4v_desc))
+           if (haystack (tr->filetype, m4v_desc)
+                || haystack (tr->filetype, mov_desc))
            {
                /* set type to video (0x00000002) */
                tr->mediatype = 0x00000002;

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to