Update of /cvsroot/gtkpod/gtkpod/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25463/src
Modified Files: file.c Log Message: Handle .m4v and .mp4 as mp4 files when adding. Index: file.c =================================================================== RCS file: /cvsroot/gtkpod/gtkpod/src/file.c,v retrieving revision 1.147 retrieving revision 1.148 diff -u -d -r1.147 -r1.148 --- file.c 19 Nov 2005 05:32:10 -0000 1.147 +++ file.c 19 Nov 2005 07:53:34 -0000 1.148 @@ -1,4 +1,4 @@ -/* Time-stamp: <2005-11-19 13:49:30 jcs> +/* Time-stamp: <2005-11-19 16:34:28 jcs> | | Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net> | Part of the gtkpod project. @@ -909,6 +909,12 @@ break; case FILE_TYPE_M4V: case FILE_TYPE_MP4: + /* I don't know if .m4v and .mp4 can simply be handled like + this. Let's see if someone complains. */ + nti = mp4_get_file_info (name); + /* Set unk208 to video */ + track->unk208 = 0x00000002; + break; case FILE_TYPE_MOV: case FILE_TYPE_MPG: /* for now treat all the same */ ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2