[MPlayer-dev-eng] [PATCH] multi language part 2/2

Ötvös Attila dc at chello.hu
Sat Dec 13 10:54:21 CET 2008


Hi Onur Küçük!
Ezzel a dátummal: Saturday 13 December 2008 01:32:35 Onur Küçük ezt írta:
> On Tue, 9 Dec 2008 15:10:02 +0100
>
>  Build fails when enable-radio is selected (same for v4l2)
>
> stream/stream_radio.c:54:2: warning: #warning "V4L is deprecated and will
> be removed in future" In file included from stream/stream_radio.c:65:
> ./help_mp.h:40215:88: warning: backslash and newline separated by space

This patch remove spaces in end of line (144):

help/help-mp_tr.h (line 142-145):
#define MSGTR_Exit_SIGSEGV_SIGFPE \<--end of line
"- Mplayer CPU/FPU/RAM'in hatalı kullanımı nedeniyle çöktü.\n"\<--end of line
" Mplayer'ı --enable-debug seçeneğiyle yeniden derleyiniz. Bir 'gdb' backtrace 
ve\n"\  <--end of line
" disassembly oluşturunuz. Ayrıntılar için 
DOCS/HTML/en/bugreports_what.html#bugreports_crash\n"<--end of line

corr-help_mp-tr.h.patch

> stream/stream_radio.c:405: error: initializer element is not constant
> stream/stream_radio.c:405: error: (near initialization for
> 'radio_driver_v4l2.info') stream/stream_radio.c:536: error: initializer
> element is not constant stream/stream_radio.c:536: error: (near
> initialization for 'radio_driver_v4l.info')
>
>  at the MSGTR of here
>
>  /* v4l driver info structure */
> static const radio_driver_t radio_driver_v4l={
>     "v4l",
>     MSGTR_RADIO_DriverV4L,
>     init_frac_v4l,
>     set_volume_v4l,
>     get_volume_v4l,
>     set_frequency_v4l,
>     get_frequency_v4l
> };

This patch used static messages:

MSGTR_RADIO_DriverV4L -> MSGTR_STATIC_RADIO_DriverV4L

corr-sream-stream_radio.c

Best regard.
Attila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corr-help_mp-tr.h.patch
Type: text/x-diff
Size: 650 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081213/4e1bb99c/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corr-stream-stream_radio.c.patch
Type: text/x-diff
Size: 898 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081213/4e1bb99c/attachment-0001.patch>


More information about the MPlayer-dev-eng mailing list