[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.104,1.105
Arpi of Ize
arpi at mplayerhq.hu
Tue Aug 6 23:21:16 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv24525
Modified Files:
demuxer.c
Log Message:
detection reordered. note: raw DV detection should be more reliable.
Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- demuxer.c 5 Aug 2002 17:21:35 -0000 1.104
+++ demuxer.c 6 Aug 2002 21:21:14 -0000 1.105
@@ -576,6 +576,15 @@
}
#endif
+//=============== Try to open as multi file: =================
+if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_MF)
+ if ( mf_support ){
+ demuxer=new_demuxer(stream,DEMUXER_TYPE_MF,audio_id,video_id,dvdsub_id);
+ file_format=DEMUXER_TYPE_MF;
+ mp_msg( MSGT_DEMUXER,MSGL_INFO,"[demuxer] mf support.\n" );
+ }
+}
+
//=============== Try to open as AVI file: =================
if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_AVI){
demuxer=new_demuxer(stream,DEMUXER_TYPE_AVI,audio_id,video_id,dvdsub_id);
@@ -808,17 +817,6 @@
free_demuxer(demuxer);
}
#endif
-//=============== Try to open as multi file: =================
-if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_MF){
- demuxer=new_demuxer(stream,DEMUXER_TYPE_MF,audio_id,video_id,dvdsub_id);
- {
- if ( mf_support )
- {
- file_format=DEMUXER_TYPE_MF;
- mp_msg( MSGT_DEMUXER,MSGL_INFO,"[demuxer] mf support.\n" );
- }
- }
-}
//=============== Try to open as audio file: =================
if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_AUDIO){
demuxer=new_demuxer(stream,DEMUXER_TYPE_AUDIO,audio_id,video_id,dvdsub_id);
@@ -834,7 +832,6 @@
if(file_format==DEMUXER_TYPE_RTP) {
demuxer=new_demuxer(stream,DEMUXER_TYPE_RTP,audio_id,video_id,dvdsub_id);
}
-
//=============== Unknown, exiting... ===========================
if(file_format==DEMUXER_TYPE_UNKNOWN || demuxer == NULL){
mp_msg(MSGT_DEMUXER,MSGL_ERR,MSGTR_FormatNotRecognized);
More information about the MPlayer-cvslog
mailing list