[vlc-devel] commit: rawaud: default FOURCC with local rather than low endianess ( Rémi Denis-Courmont )
Laurent Aimar
fenrir at via.ecp.fr
Thu May 21 00:13:02 CEST 2009
Hi,
On Wed, May 20, 2009, jpd at m2x.nl wrote:
> On Wed, May 20, 2009 18:53, git version control wrote:
> > #define FOURCC_TEXT N_("FOURCC code of raw input format")
> > #define FOURCC_LONGTEXT N_( \
> > - "FOURCC code of the raw input format. This is a four character string.
> > Default is s16l." )
> > + "FOURCC code of the raw input format. This is a four character string."
> > )
>
> > +#ifdef WORDS_BIGENDIAN
> > +# define FOURCC_DEFAULT "s16b"
> > +#else
> > +# define FOURCC_DEFAULT "s16l"
> > +#endif
>
> Would there be anything against doing the following?
>
> #define FOURCC_LONGTEXT N_( \
> "FOURCC code of the raw input format. This is a four character string." \
> "Default is" FOURCC_DEFAULT "." )
Sadly yes, it would make the translations dependant on the system ...
Defining two FOURCC_LONGTEXT (one for little and one for big endian) and
then using the right one with the idef should work but doubles the number
of strings to translate.
--
fenrir
More information about the vlc-devel
mailing list