ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Afanasov Dmitry <ender@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] mplayer -vo gl
Date: Sun, 9 Jan 2011 00:45:28 +0300
Message-ID: <20110108214525.GA2479@utvuk.ender.rk> (raw)
In-Reply-To: <AANLkTim8KuH5DWywgHLt8wcxh+1100_QUVYthdTJPOrM@mail.gmail.com> <4D28CE21.4050608@end.kiev.ua>

[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]

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, "")), либо оборачивать
какую-то часть gl'ного кода в вызовами setlocale).

On Sat, Jan 08, 2011 at 10:50:41PM +0200, Vasily Tereshko wrote:
> За пинок в нужном направлении - спасибо, сам бы я такое не придумал. :)
пинком в нужном направлении послужило гугление строки "Error compiling
fragment program, make sure your card supports", объяснением - следующая
ссылка на первой станице:
http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg45248.html

;)

-- 
 С уважением
 Афанасов Дмитрий

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2011-01-08 21:45 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 [this message]
2011-01-08 21:57           ` Aleksey Novodvorsky
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=20110108214525.GA2479@utvuk.ender.rk \
    --to=ender@altlinux.org \
    --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