[MPlayer-dev-eng] MSGTRs for demux_avi.c
Dominik 'Rathann' Mierzejewski
dominik at rangers.eu.org
Sun Nov 5 17:37:12 CET 2006
On Sunday, 05 November 2006 at 17:15, mail at kraymer.de wrote:
> Hey,
>
> I had a look into libmpdemux/demux_avi.c and extracted some messages to
> help_mp-en.h. This time I checked compilation, works fine.
> Index: help/help_mp-en.h
> ===================================================================
> --- help/help_mp-en.h (revision 20706)
> +++ help/help_mp-en.h (working copy)
> @@ -566,7 +566,11 @@
> #define MSGTR_TooManyVideoInBuffer "\nToo many video packets in the buffer: (%d in %d bytes).\n"
> #define MSGTR_MaybeNI "Maybe you are playing a non-interleaved stream/file or the codec failed?\n" \
> "For AVI files, try to force non-interleaved mode with the -ni option.\n"
> +#define MSGTR_WorkaroundingnBlockAlignHeaderBug "AVI: Workarounding CBR-MP3 nBlockAlign header bug!\n"
Ungrammatical, change to MSGTR_WorkAround... Working around...
> #define MSGTR_SwitchToNi "\nBadly interleaved AVI file detected - switching to -ni mode...\n"
> +#define MSGTR_InvalidAudioStreamNosound "AVI: invalid audio stream ID: %d - ignoring (nosound)\n"
> +#define MSGTR_InvalidAudioStreamUsingDefault "AVI: invalid video stream ID: %d - ignoring (using default)\n"
> +#define MSGTR_ON2AviFormat "ON2 AVI format"
> #define MSGTR_Detected_XXX_FileFormat "%s file format detected.\n"
> #define MSGTR_DetectedAudiofile "Audio file detected.\n"
> #define MSGTR_NotSystemStream "Not MPEG System Stream format... (maybe Transport Stream?)\n"
> Index: libmpdemux/demux_avi.c
> ===================================================================
> --- libmpdemux/demux_avi.c (revision 20687)
> +++ libmpdemux/demux_avi.c (working copy)
> @@ -54,7 +54,7 @@
> // workaround old mencoder's bug:
> if(sh->audio.dwSampleSize==1 && sh->audio.dwScale==1 &&
> (sh->wf->nBlockAlign==1152 || sh->wf->nBlockAlign==576)){
> - mp_msg(MSGT_DEMUX,MSGL_WARN,"AVI: Workarounding CBR-MP3 nBlockAlign header bug!\n");
> + mp_msg(MSGT_DEMUX,MSGL_WARN,MSGTR_WorkaroundingnBlockAlignHeaderBug);
Change that to MSGTR_WorkAroundBlock...
R.
--
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
More information about the MPlayer-dev-eng
mailing list