summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.c
diff options
context:
space:
mode:
authorivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-29 01:46:30 +0000
committerivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-29 01:46:30 +0000
commit8cffc7853ad6d1f4bfc9a255b210a1d356157ae3 (patch)
tree5efbb4eac19e7388bd397cda21b2a1e96ac23b06 /libvo/video_out.c
parenteed3dfc7407b07cf10d819cfba891e590488f560 (diff)
downloadmpv-8cffc7853ad6d1f4bfc9a255b210a1d356157ae3.tar.bz2
mpv-8cffc7853ad6d1f4bfc9a255b210a1d356157ae3.tar.xz
Removal of vo_pgm and vo_md5, because they have been replaced by vo_pnm
and vo_md5sum. If one tries to use the old video output drivers, a message is printed to direct them to the new drivers. Manual page is updated (or is this called downdated? :-) ). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13508 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r--libvo/video_out.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 446823aa86..44dcbd07cb 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -76,8 +76,6 @@ extern vo_functions_t video_out_null;
extern vo_functions_t video_out_zr;
extern vo_functions_t video_out_zr2;
extern vo_functions_t video_out_bl;
-extern vo_functions_t video_out_pgm;
-extern vo_functions_t video_out_md5;
extern vo_functions_t video_out_syncfb;
extern vo_functions_t video_out_fbdev;
extern vo_functions_t video_out_fbdev2;
@@ -217,8 +215,6 @@ vo_functions_t* video_out_drivers[] =
#endif
&video_out_null,
// &video_out_odivx,
- &video_out_pgm,
- &video_out_md5,
&video_out_mpegpes,
&video_out_yuv4mpeg,
#ifdef HAVE_VESA
@@ -264,6 +260,10 @@ vo_functions_t* init_best_video_out(char** vo_list){
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;