1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00

"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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10597 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2003-08-13 17:03:36 +00:00
parent 1c4586e8f9
commit 978dd0fc27

View File

@ -3354,7 +3354,7 @@ if(rel_seek_secs || abs_seek_pos){
//================= Update OSD ====================
#ifdef USE_OSD
if(osd_level>=1){
if(osd_level>=1 && sh_video){
int pts=sh_video->pts;
char osd_text_tmp[64];
if(pts==osd_last_pts-1) ++pts; else osd_last_pts=pts;