git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10719 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-08-29 21:42:51 +00:00
parent 8d79536625
commit c81e374ce1
5 changed files with 6 additions and 8 deletions

View File

@ -285,7 +285,7 @@ int cfg_write( void )
fprintf( f,"%s = \"%s\"\n",gui_opts[i].name, v); fprintf( f,"%s = \"%s\"\n",gui_opts[i].name, v);
free(v); free(v);
} else if((int)v == -1) } else if((int)v == -1)
mp_msg(MSGT_GPLAYER,MSGL_WARN,"Unable to save the %s option\n"); mp_msg(MSGT_GPLAYER,MSGL_WARN,"Unable to save the '%s' option\n", gui_opts[i].name);
} }
fclose( f ); fclose( f );
} }

View File

@ -33,8 +33,6 @@
#include "aspect.h" #include "aspect.h"
#include "mp_msg.h" #include "mp_msg.h"
#include "../mplayer.h" /* exit_player() */
#ifdef HAVE_NEW_GUI #ifdef HAVE_NEW_GUI
#include "../Gui/interface.h" #include "../Gui/interface.h"
#endif #endif
@ -424,11 +422,11 @@ static uint32_t preinit(const char *arg)
break; break;
} }
if(!video_out_drivers[i]) { if(!video_out_drivers[i]) {
mp_msg(MSGT_VO, MSGL_ERR, "VO XOverlay: Subdriver %s not found\n"); mp_msg(MSGT_VO, MSGL_ERR, "VO XOverlay: Subdriver %s not found\n", arg);
return 1; return 1;
} }
if(video_out_drivers[i]->control(VOCTRL_XOVERLAY_SUPPORT,NULL) != VO_TRUE) { if(video_out_drivers[i]->control(VOCTRL_XOVERLAY_SUPPORT,NULL) != VO_TRUE) {
mp_msg(MSGT_VO, MSGL_ERR, "VO XOverlay: %s doesn't support XOverlay\n"); mp_msg(MSGT_VO, MSGL_ERR, "VO XOverlay: %s doesn't support XOverlay\n", arg);
return 1; return 1;
} }
// X11 init // X11 init

View File

@ -175,7 +175,7 @@ int zoran_getcap(zr_info_t *zr) {
} }
if (ioctl(zr->vdes, VIDIOCGCAP, &zr->vc) < 0) { if (ioctl(zr->vdes, VIDIOCGCAP, &zr->vc) < 0) {
mp_msg(MSGT_VO, MSGL_ERR, "zr: error getting video capabilities from %s\n"); mp_msg(MSGT_VO, MSGL_ERR, "zr: error getting video capabilities from %s\n", dev);
return 1; return 1;
} }
mp_msg(MSGT_VO, MSGL_V, "zr: MJPEG card reports maxwidth=%d, maxheight=%d\n", zr->vc.maxwidth, zr->vc.maxheight); mp_msg(MSGT_VO, MSGL_V, "zr: MJPEG card reports maxwidth=%d, maxheight=%d\n", zr->vc.maxwidth, zr->vc.maxheight);

View File

@ -24,7 +24,7 @@ m_struct_alloc(m_struct_t* st) {
void* r; void* r;
if(!st->defaults) { if(!st->defaults) {
mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Struct %s need defaults\n"); mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Struct %s needs defaults\n",st->name);
return NULL; return NULL;
} }
// Check the struct fields // Check the struct fields

View File

@ -3572,7 +3572,7 @@ if(vo_config_count && vo_spudec) {
len = vobsub_get_packet(vo_vobsub,sh_video->pts+sub_delay+next_frame_time,(void**)&packet,&timestamp); len = vobsub_get_packet(vo_vobsub,sh_video->pts+sub_delay+next_frame_time,(void**)&packet,&timestamp);
if(len > 0) { if(len > 0) {
timestamp -= (sh_video->pts + sub_delay - sh_video->timer)*90000; timestamp -= (sh_video->pts + sub_delay - sh_video->timer)*90000;
mp_dbg(MSGT_CPLAYER,MSGL_V,"\rVOB sub: len=%d v_pts=%5.3f v_timer=%5.3f sub=%5.3f ts=%d \n",len,sh_video->pts,sh_video->timer,timestamp / 90000.0); mp_dbg(MSGT_CPLAYER,MSGL_V,"\rVOB sub: len=%d v_pts=%5.3f v_timer=%5.3f sub=%5.3f ts=%d \n",len,sh_video->pts,sh_video->timer,timestamp / 90000.0,timestamp);
} }
} }
} else { } else {