[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.42,1.43
Arpi of Ize
arpi at mplayer.dev.hu
Tue Nov 13 22:10:53 CET 2001
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv6902
Modified Files:
demuxer.c
Log Message:
qt/mov detection first
Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- demuxer.c 11 Nov 2001 15:45:23 -0000 1.42
+++ demuxer.c 13 Nov 2001 21:10:51 -0000 1.43
@@ -405,6 +405,14 @@
file_format=DEMUXER_TYPE_ASF;
}
}
+//=============== Try to open as MOV file: =================
+if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_MOV){
+ demuxer=new_demuxer(stream,DEMUXER_TYPE_MOV,audio_id,video_id,dvdsub_id);
+ if(mov_check_file(demuxer)){
+ mp_msg(MSGT_DEMUXER,MSGL_INFO,MSGTR_DetectedQTMOVfile);
+ file_format=DEMUXER_TYPE_MOV;
+ }
+}
//=============== Try to open as MPEG-PS file: =================
if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_MPEG_PS){
int pes=1;
@@ -448,14 +456,6 @@
file_format=DEMUXER_TYPE_UNKNOWN;
} else {
mp_msg(MSGT_DEMUXER,MSGL_INFO,MSGTR_DetectedMPEGESfile);
- }
-}
-//=============== Try to open as MOV file: =================
-if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_MOV){
- demuxer=new_demuxer(stream,DEMUXER_TYPE_MOV,audio_id,video_id,dvdsub_id);
- if(mov_check_file(demuxer)){
- mp_msg(MSGT_DEMUXER,MSGL_INFO,MSGTR_DetectedQTMOVfile);
- file_format=DEMUXER_TYPE_MOV;
}
}
//=============== Try to open as VIVO file: =================
More information about the MPlayer-cvslog
mailing list