Mercurial > mplayer.hg
comparison libvo/vo_zr.c @ 10594:57bdcdb061d7
Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
author | alex |
---|---|
date | Wed, 13 Aug 2003 16:29:32 +0000 |
parents | 2e9b7465d242 |
children | 3136605e6cab |
comparison
equal
deleted
inserted
replaced
10593:27711ab2889f | 10594:57bdcdb061d7 |
---|---|
23 #include "config.h" | 23 #include "config.h" |
24 | 24 |
25 #include "video_out.h" | 25 #include "video_out.h" |
26 #include "video_out_internal.h" | 26 #include "video_out_internal.h" |
27 #include "../mp_msg.h" | 27 #include "../mp_msg.h" |
28 #include "../cfgparser.h" | 28 #include "../m_option.h" |
29 #include "fastmemcpy.h" | 29 #include "fastmemcpy.h" |
30 | 30 |
31 #include "jpeg_enc.h" | 31 #include "jpeg_enc.h" |
32 | 32 |
33 static vo_info_t info = | 33 static vo_info_t info = |
642 } | 642 } |
643 | 643 |
644 | 644 |
645 /* copied and adapted from vo_aa_parseoption */ | 645 /* copied and adapted from vo_aa_parseoption */ |
646 int | 646 int |
647 vo_zr_parseoption(struct config * conf, char *opt, char *param){ | 647 vo_zr_parseoption(m_option_t* conf, char *opt, char *param){ |
648 /* got an option starting with zr */ | 648 /* got an option starting with zr */ |
649 zr_info_t *zr = &zr_info[zr_parsing]; | 649 zr_info_t *zr = &zr_info[zr_parsing]; |
650 int i; | 650 int i; |
651 /* do WE need it ?, always */ | 651 /* do WE need it ?, always */ |
652 if (!strcasecmp(opt, "zrdev")) { | 652 if (!strcasecmp(opt, "zrdev")) { |
778 | 778 |
779 } | 779 } |
780 return ERR_NOT_AN_OPTION; | 780 return ERR_NOT_AN_OPTION; |
781 } | 781 } |
782 | 782 |
783 void vo_zr_revertoption(config_t* opt,char* param) { | 783 void vo_zr_revertoption(m_option_t* opt,char* param) { |
784 | 784 |
785 zr_info_t *zr = &zr_info[1]; | 785 zr_info_t *zr = &zr_info[1]; |
786 zr_count = 1; | 786 zr_count = 1; |
787 zr_parsing = 0; | 787 zr_parsing = 0; |
788 | 788 |