ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Aleksey Novodvorsky <a.e.nvdv@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] mplayer -vo gl
Date: Sun, 9 Jan 2011 00:57:07 +0300
Message-ID: <AANLkTinNdJsgzoL9SY-QfTxpsuyAErNfowAGV8-PvsmJ@mail.gmail.com> (raw)
In-Reply-To: <20110108214525.GA2479@utvuk.ender.rk>

9 января 2011 г. 0:45 пользователь Afanasov Dmitry <ender@altlinux.org> написал:
> On Sat, Jan 08, 2011 at 11:55:13PM +0300, Aleksey Novodvorsky wrote:
>> 8 января 2011 г. 23:50 пользователь Vasily Tereshko <tvv@end.kiev.ua> написал:
>> >  07.01.2011 23:16, Afanasov Dmitry пишет:
>> >> к слову, попробуйте команду:
>> >> $ LANG=C mplayer -msglevel vo=7 -vo gl <file>
>> >>
>> > Я долго смеялся, но с LANG=C  показывает :)
>> > А без - нет.
>> > diff между логами с LANG=ru_RU.UTF-8 и LANG=C в выводе всех чисел с
>> > точкой ( вместо запятой ) и строчками
>>
>> То есть достаточно, скорее всего, LC_NUMERIC=C. Это можно патчем оформить.
> именно, LC_NUMERIC, а точнее вместо ',' нужен '.'. причина - строки с %e
> (1018-1021) в snprintf в файле libvo/gl_common.c, а также альтовый nls
> патч.
>
> snprintf для плавающей точки выдает локализованный десятичный разделитель,
> русский разделитель opengl'ю не нравится. видимо надо либо выключать наш
> nls (конкретней - убирать вызов setlocale(LC_ALL, "")),

Не надо. Надо просто после  вызвать setlocale (LC_NUMERIC, "C")

Rgrds, Алексей

  reply	other threads:[~2011-01-08 21:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 20:04 [sisyphus] radeon xorg Игорь Андросов
2011-01-07 20:37 ` Vasily Tereshko
2011-01-07 21:00   ` Afanasov Dmitry
2011-01-07 21:16     ` [sisyphus] mplayer -vo gl Afanasov Dmitry
2011-01-08 20:50       ` Vasily Tereshko
2011-01-08 20:55         ` Aleksey Novodvorsky
2011-01-08 21:45         ` Afanasov Dmitry
2011-01-08 21:57           ` Aleksey Novodvorsky [this message]
2011-01-08 22:01             ` Afanasov Dmitry
2011-01-10 14:13         ` Afanasov Dmitry
2011-01-08 20:58     ` [sisyphus] radeon xorg Vasily Tereshko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinNdJsgzoL9SY-QfTxpsuyAErNfowAGV8-PvsmJ@mail.gmail.com \
    --to=a.e.nvdv@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git