[MPlayer-dev-eng] [PATCH] printf --> mp_msg transition (mplayer.c)

Diego Biurrun diego at biurrun.de
Thu Oct 7 15:23:42 CEST 2004


The Wanderer writes:
> Diego Biurrun wrote:
> 
> > Editing patches in emacs should also work, it has a nice patch mode,
> > I've often done this to split up patches.
> 
> I have yet to get to the point where I can actually use emacs; even the
> comparatively minimal interface familiarity needed for getting into and
> navigating its tutorial/help/internal-documentation mode is more
> complication than I've been able to handle. I'd like to use it, but that
> hump is one I have just not yet managed to get over.

Type M-x help-with-tutorial, you should have mastered the basics half
an hour after that.

> > I'm in the dark here.  Maybe you have some sticky or something tags
> > on parts of your WD, these are known to cause obscure problems now
> > and then.  Try "cvs update -dPA" to reset them.
> 
> I always use that anyway - I have a nice little "update_cvs" file in the
> root of every CVS source tree on my machine, with whatever flags I need
> to get the latest version from that repository, to save myself from
> having to remember what to use where (or for that matter from typing it
> all out every time); '-dPA' is there in all of them. So it looks like
> we're both quite confused.

You could also add the options to your ~/.cvsrc, here's mine:

cvs -q -z3
diff -u
update -dPA

> I'm currently going through codecs-cfg.c and removing printfs; I'm not
> entirely certain that it really should be changed (because the things
> printed seem designed to be written directly into a file, implying that
> they don't get printed on the console anyway), but it wasn't mentioned
> when I asked about which files shouldn't be transitioned, so because it
> does already include mp_msg.h I'm going ahead with it anyway. I am,
> however, uncertain as to what messages should and should not be moved
> for translation - it would help (though not much) if I at least knew
> what the code in that file actually is used for. Many of them seem to be
> translation-appropriate, but... something seems different here.

codec-cfg is used to create the codecs-status.html document from the
template DOCS/tech/codecs-in.html and etc/codecs.conf.  I think it
does some more things as well that I cannot remember off the top of my
head.  Somehow I doubt this is worth translating or spending much time
on, so I suggest you tackle other areas first before this one.

Diego




More information about the MPlayer-dev-eng mailing list