comparison mplayer.c @ 10596:14695e4f37fc

"when I run "mplayer -slave <audiofile> " then, while playing, I send the following command "loadfile <anyfile>" I get a crash ... " Report and patch by ROSEN Jeremy
author albeu
date Wed, 13 Aug 2003 17:03:36 +0000
parents 57bdcdb061d7
children a4fb8d7831de
comparison
equal deleted inserted replaced
10595:522afd56703c 10596:14695e4f37fc
3352 #endif 3352 #endif
3353 3353
3354 3354
3355 //================= Update OSD ==================== 3355 //================= Update OSD ====================
3356 #ifdef USE_OSD 3356 #ifdef USE_OSD
3357 if(osd_level>=1){ 3357 if(osd_level>=1 && sh_video){
3358 int pts=sh_video->pts; 3358 int pts=sh_video->pts;
3359 char osd_text_tmp[64]; 3359 char osd_text_tmp[64];
3360 if(pts==osd_last_pts-1) ++pts; else osd_last_pts=pts; 3360 if(pts==osd_last_pts-1) ++pts; else osd_last_pts=pts;
3361 vo_osd_text=osd_text_buffer; 3361 vo_osd_text=osd_text_buffer;
3362 #ifdef USE_DVDNAV 3362 #ifdef USE_DVDNAV