[MPlayer-cvslog] r35108 - trunk/libvo/video_out.c

reimar subversion at mplayerhq.hu
Mon Aug 20 20:55:00 CEST 2012


Author: reimar
Date: Mon Aug 20 20:54:59 2012
New Revision: 35108

Log:
Fix detection of -vo pgm/md5 even when suboptions are used.

Modified:
   trunk/libvo/video_out.c

Modified: trunk/libvo/video_out.c
==============================================================================
--- trunk/libvo/video_out.c	Sat Aug 18 21:51:58 2012	(r35107)
+++ trunk/libvo/video_out.c	Mon Aug 20 20:54:59 2012	(r35108)
@@ -318,14 +318,14 @@ const vo_functions_t* init_best_video_ou
       while(vo_list[0][0]){
         char* vo=strdup(vo_list[0]);
 	vo_subdevice=strchr(vo,':');
-	if (!strcmp(vo, "pgm"))
-	    mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_VO_PGM_HasBeenReplaced);
-	if (!strcmp(vo, "md5"))
-	    mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_VO_MD5_HasBeenReplaced);
 	if(vo_subdevice){
 	    vo_subdevice[0]=0;
 	    ++vo_subdevice;
 	}
+	if (!strcmp(vo, "pgm"))
+	    mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_VO_PGM_HasBeenReplaced);
+	if (!strcmp(vo, "md5"))
+	    mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_VO_MD5_HasBeenReplaced);
 	for(i=0;video_out_drivers[i];i++){
 	    const vo_functions_t* video_driver=video_out_drivers[i];
 	    const vo_info_t *info = video_driver->info;


More information about the MPlayer-cvslog mailing list