changeset 1768:63db543aae94

set current_module for OSD
author arpi
date Thu, 30 Aug 2001 11:54:27 +0000
parents 7f65437a67ba
children bd8c6c1b91ce
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Aug 30 11:17:56 2001 +0000
+++ b/mplayer.c	Thu Aug 30 11:54:27 2001 +0000
@@ -1232,9 +1232,12 @@
 //------------------------ frame decoded. --------------------
 //------------------------ add OSD to frame contents ---------
 #ifndef USE_LIBVO2
+    current_module="draw_osd";
     video_out->draw_osd();
 #endif
 
+    current_module="av_sync";
+
     // Increase video timers:
     sh_video->num_frames+=frame_time;
     ++sh_video->num_frames_decoded;