mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 18:36:09 +00:00
qt/mov detection first
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2879 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
70943bcb65
commit
923580762e
@ -405,6 +405,14 @@ if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_ASF){
|
||||
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;
|
||||
@ -450,14 +458,6 @@ if(file_format==DEMUXER_TYPE_MPEG_ES){ // little hack, see above!
|
||||
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: =================
|
||||
if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_VIVO){
|
||||
demuxer=new_demuxer(stream,DEMUXER_TYPE_VIVO,audio_id,video_id,dvdsub_id);
|
||||
|
Loading…
Reference in New Issue
Block a user