comparison mplayer.c @ 7805:f71bc57c4da9

Fixed two typos noticed by Sycotic Smith (I think).
author diego
date Sat, 19 Oct 2002 20:26:04 +0000
parents 913e9b1f390f
children d6c29d863f15
comparison
equal deleted inserted replaced
7804:3735b7f5904c 7805:f71bc57c4da9
1008 case 1: ds=d_audio;break; 1008 case 1: ds=d_audio;break;
1009 case 2: ds=d_video;break; 1009 case 2: ds=d_video;break;
1010 case 3: ds=d_dvdsub;break; 1010 case 3: ds=d_dvdsub;break;
1011 } 1011 }
1012 if(!ds){ 1012 if(!ds){
1013 mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_DumpSelectedSteramMissing); 1013 mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_DumpSelectedStreamMissing);
1014 exit_player(MSGTR_Exit_error); 1014 exit_player(MSGTR_Exit_error);
1015 } 1015 }
1016 // disable other streams: 1016 // disable other streams:
1017 if(d_audio && d_audio!=ds) {ds_free_packs(d_audio); d_audio->id=-2; } 1017 if(d_audio && d_audio!=ds) {ds_free_packs(d_audio); d_audio->id=-2; }
1018 if(d_video && d_video!=ds) {ds_free_packs(d_video); d_video->id=-2; } 1018 if(d_video && d_video!=ds) {ds_free_packs(d_video); d_video->id=-2; }
1040 1040
1041 if(sh_video){ 1041 if(sh_video){
1042 1042
1043 current_module="video_read_properties"; 1043 current_module="video_read_properties";
1044 if(!video_read_properties(sh_video)) { 1044 if(!video_read_properties(sh_video)) {
1045 mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CannotReadVideoPropertiers); 1045 mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CannotReadVideoProperties);
1046 sh_video=d_video->sh=NULL; 1046 sh_video=d_video->sh=NULL;
1047 } else { 1047 } else {
1048 mp_msg(MSGT_CPLAYER,MSGL_V,"[V] filefmt:%d fourcc:0x%X size:%dx%d fps:%5.2f ftime:=%6.4f\n", 1048 mp_msg(MSGT_CPLAYER,MSGL_V,"[V] filefmt:%d fourcc:0x%X size:%dx%d fps:%5.2f ftime:=%6.4f\n",
1049 demuxer->file_format,sh_video->format, sh_video->disp_w,sh_video->disp_h, 1049 demuxer->file_format,sh_video->format, sh_video->disp_w,sh_video->disp_h,
1050 sh_video->fps,sh_video->frametime 1050 sh_video->fps,sh_video->frametime