Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
d323c4ee
Commit
d323c4ee
authored
Jun 25, 2009
by
Frederic Crozat
Committed by
Rémi Denis-Courmont
Jun 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix format security warnings (fixes: #2857)
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
ee472de4
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
121 additions
and
121 deletions
+121
-121
modules/access/dvb/access.c
modules/access/dvb/access.c
+1
-1
modules/access/dvdnav.c
modules/access/dvdnav.c
+1
-1
modules/access/mtp.c
modules/access/mtp.c
+1
-1
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+1
-1
modules/codec/avcodec/encoder.c
modules/codec/avcodec/encoder.c
+2
-2
modules/control/hotkeys.c
modules/control/hotkeys.c
+13
-13
modules/control/rc.c
modules/control/rc.c
+95
-95
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+1
-1
modules/demux/live555.cpp
modules/demux/live555.cpp
+1
-1
modules/gui/skins2/commands/cmd_quit.cpp
modules/gui/skins2/commands/cmd_quit.cpp
+1
-1
modules/misc/audioscrobbler.c
modules/misc/audioscrobbler.c
+2
-2
modules/video_filter/crop.c
modules/video_filter/crop.c
+2
-2
No files found.
modules/access/dvb/access.c
View file @
d323c4ee
...
...
@@ -937,7 +937,7 @@ static int ParseMRL( access_t *p_access )
{
msg_Err
(
p_access
,
"the DVB input old syntax is deprecated, use vlc "
"-p dvb to see an explanation of the new syntax"
);
dialog_FatalWait
(
p_access
,
_
(
"Input syntax is deprecated"
),
dialog_FatalWait
(
p_access
,
_
(
"Input syntax is deprecated"
),
"%s"
,
_
(
"The given syntax is deprecated. Run
\"
vlc -p dvb
\"
to see an "
\
"explanation of the new syntax."
)
);
free
(
psz_dup
);
...
...
modules/access/dvdnav.c
View file @
d323c4ee
...
...
@@ -314,7 +314,7 @@ static int Open( vlc_object_t *p_this )
if
(
dvdnav_title_play
(
p_sys
->
dvdnav
,
1
)
!=
DVDNAV_STATUS_OK
)
{
msg_Err
(
p_demux
,
"cannot set title (can't decrypt DVD?)"
);
dialog_Fatal
(
p_demux
,
_
(
"Playback failure"
),
dialog_Fatal
(
p_demux
,
_
(
"Playback failure"
),
"%s"
,
_
(
"VLC cannot set the DVD's title. It possibly "
"cannot decrypt the entire disc."
)
);
dvdnav_close
(
p_sys
->
dvdnav
);
...
...
modules/access/mtp.c
View file @
d323c4ee
...
...
@@ -215,7 +215,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
default:
msg_Err
(
p_access
,
"read failed (%m)"
);
dialog_Fatal
(
p_access
,
_
(
"File reading failed"
),
dialog_Fatal
(
p_access
,
_
(
"File reading failed"
),
"%s"
,
_
(
"VLC could not read the file."
)
);
p_access
->
info
.
b_eof
=
true
;
return
0
;
...
...
modules/audio_output/alsa.c
View file @
d323c4ee
...
...
@@ -323,7 +323,7 @@ static int Open( vlc_object_t *p_this )
if
(
(
psz_device
=
config_GetPsz
(
p_aout
,
"alsa-audio-device"
))
==
NULL
)
{
msg_Err
(
p_aout
,
"no audio device given (maybe
\"
default
\"
?)"
);
dialog_Fatal
(
p_aout
,
_
(
"No Audio Device"
),
dialog_Fatal
(
p_aout
,
_
(
"No Audio Device"
),
"%s"
,
_
(
"No audio device name was given. You might want to "
\
"enter
\"
default
\"
."
)
);
free
(
p_sys
);
...
...
modules/codec/avcodec/encoder.c
View file @
d323c4ee
...
...
@@ -678,7 +678,7 @@ int OpenEncoder( vlc_object_t *p_this )
msg_Err
(
p_enc
,
"cannot open encoder"
);
dialog_Fatal
(
p_enc
,
_
(
"Streaming / Transcoding failed"
),
_
(
"VLC could not open the encoder."
)
);
"%s"
,
_
(
"VLC could not open the encoder."
)
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
...
...
@@ -687,7 +687,7 @@ int OpenEncoder( vlc_object_t *p_this )
{
msg_Err
(
p_enc
,
"cannot open encoder"
);
dialog_Fatal
(
p_enc
,
_
(
"Streaming / Transcoding failed"
),
_
(
"VLC could not open the encoder."
)
);
"%s"
,
_
(
"VLC could not open the encoder."
)
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
...
...
modules/control/hotkeys.c
View file @
d323c4ee
...
...
@@ -206,7 +206,7 @@ static void Run( intf_thread_t *p_intf )
libvlc_Quit
(
p_intf
->
p_libvlc
);
ClearChannels
(
p_intf
,
p_vout
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Quit"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Quit"
)
);
goto
cleanup_and_continue
;
}
/* Volume and audio actions */
...
...
@@ -582,7 +582,7 @@ static void Run( intf_thread_t *p_intf )
{
var_SetFloat
(
p_vout
,
"scale"
,
1
.
0
);
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Zooming reset"
)
);
"%s"
,
_
(
"Zooming reset"
)
);
}
else
{
...
...
@@ -590,10 +590,10 @@ static void Run( intf_thread_t *p_intf )
var_SetBool
(
p_vout
,
"autoscale"
,
b_autoscale
);
if
(
b_autoscale
)
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Scaled to screen"
)
);
"%s"
,
_
(
"Scaled to screen"
)
);
else
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Original Size"
)
);
"%s"
,
_
(
"Original Size"
)
);
}
}
else
if
(
i_action
==
ACTIONID_SCALE_UP
&&
p_vout
)
...
...
@@ -692,12 +692,12 @@ static void Run( intf_thread_t *p_intf )
else
if
(
i_action
==
ACTIONID_NEXT
)
{
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Next"
)
);
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
"%s"
,
_
(
"Next"
)
);
playlist_Next
(
p_playlist
);
}
else
if
(
i_action
==
ACTIONID_PREV
)
{
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
"%s"
,
_
(
"Previous"
)
);
playlist_Prev
(
p_playlist
);
}
...
...
@@ -709,25 +709,25 @@ static void Run( intf_thread_t *p_intf )
{
var_SetVoid
(
p_input
,
"frame-next"
);
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Next frame"
)
);
"%s"
,
_
(
"Next frame"
)
);
}
else
if
(
i_action
==
ACTIONID_FASTER
)
{
var_SetVoid
(
p_input
,
"rate-faster"
);
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Faster"
)
);
"%s"
,
_
(
"Faster"
)
);
}
else
if
(
i_action
==
ACTIONID_SLOWER
)
{
var_SetVoid
(
p_input
,
"rate-slower"
);
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Slower"
)
);
"%s"
,
_
(
"Slower"
)
);
}
else
if
(
i_action
==
ACTIONID_RATE_NORMAL
)
{
var_SetInteger
(
p_input
,
"rate"
,
INPUT_RATE_DEFAULT
);
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"1.00x"
)
);
"%s"
,
_
(
"1.00x"
)
);
}
else
if
(
i_action
==
ACTIONID_RATE_FASTER_FINE
||
i_action
==
ACTIONID_RATE_SLOWER_FINE
)
...
...
@@ -754,7 +754,7 @@ static void Run( intf_thread_t *p_intf )
char
psz_msg
[
7
+
1
];
snprintf
(
psz_msg
,
sizeof
(
psz_msg
),
_
(
"%.2fx"
),
(
double
)
INPUT_RATE_DEFAULT
/
i_rate
);
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
psz_msg
);
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
"%s"
,
psz_msg
);
}
else
if
(
i_action
==
ACTIONID_POSITION
&&
b_seekable
)
{
...
...
@@ -870,9 +870,9 @@ static void Run( intf_thread_t *p_intf )
const
bool
b_record
=
!
var_GetBool
(
p_input
,
"record"
);
if
(
b_record
)
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Recording"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Recording"
)
);
else
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Recording done"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Recording done"
)
);
var_SetBool
(
p_input
,
"record"
,
b_record
);
}
}
...
...
modules/control/rc.c
View file @
d323c4ee
...
...
@@ -340,7 +340,7 @@ static int Activate( vlc_object_t *p_this )
CONSOLE_INTRO_MSG
;
#endif
msg_rc
(
_
(
"Remote control interface initialized. Type `help' for help."
)
);
msg_rc
(
"%s"
,
_
(
"Remote control interface initialized. Type `help' for help."
)
);
return
VLC_SUCCESS
;
}
...
...
@@ -847,98 +847,98 @@ static void Run( intf_thread_t *p_intf )
static
void
Help
(
intf_thread_t
*
p_intf
,
bool
b_longhelp
)
{
msg_rc
(
_
(
"+----[ Remote control commands ]"
));
msg_rc
(
"%s"
,
_
(
"+----[ Remote control commands ]"
));
msg_rc
(
"| "
);
msg_rc
(
_
(
"| add XYZ . . . . . . . . . . . . add XYZ to playlist"
));
msg_rc
(
_
(
"| enqueue XYZ . . . . . . . . . queue XYZ to playlist"
));
msg_rc
(
_
(
"| playlist . . . . . show items currently in playlist"
));
msg_rc
(
_
(
"| play . . . . . . . . . . . . . . . . . . play stream"
));
msg_rc
(
_
(
"| stop . . . . . . . . . . . . . . . . . . stop stream"
));
msg_rc
(
_
(
"| next . . . . . . . . . . . . . . next playlist item"
));
msg_rc
(
_
(
"| prev . . . . . . . . . . . . previous playlist item"
));
msg_rc
(
_
(
"| goto . . . . . . . . . . . . . . goto item at index"
));
msg_rc
(
_
(
"| repeat [on|off] . . . . toggle playlist item repeat"
));
msg_rc
(
_
(
"| loop [on|off] . . . . . . . . . toggle playlist loop"
));
msg_rc
(
_
(
"| random [on|off] . . . . . . . toggle random jumping"
));
msg_rc
(
_
(
"| clear . . . . . . . . . . . . . . clear the playlist"
));
msg_rc
(
_
(
"| status . . . . . . . . . . . current playlist status"
));
msg_rc
(
_
(
"| title [X] . . . . . . set/get title in current item"
));
msg_rc
(
_
(
"| title_n . . . . . . . . next title in current item"
));
msg_rc
(
_
(
"| title_p . . . . . . previous title in current item"
));
msg_rc
(
_
(
"| chapter [X] . . . . set/get chapter in current item"
));
msg_rc
(
_
(
"| chapter_n . . . . . . next chapter in current item"
));
msg_rc
(
_
(
"| chapter_p . . . . previous chapter in current item"
));
msg_rc
(
"%s"
,
_
(
"| add XYZ . . . . . . . . . . . . add XYZ to playlist"
));
msg_rc
(
"%s"
,
_
(
"| enqueue XYZ . . . . . . . . . queue XYZ to playlist"
));
msg_rc
(
"%s"
,
_
(
"| playlist . . . . . show items currently in playlist"
));
msg_rc
(
"%s"
,
_
(
"| play . . . . . . . . . . . . . . . . . . play stream"
));
msg_rc
(
"%s"
,
_
(
"| stop . . . . . . . . . . . . . . . . . . stop stream"
));
msg_rc
(
"%s"
,
_
(
"| next . . . . . . . . . . . . . . next playlist item"
));
msg_rc
(
"%s"
,
_
(
"| prev . . . . . . . . . . . . previous playlist item"
));
msg_rc
(
"%s"
,
_
(
"| goto . . . . . . . . . . . . . . goto item at index"
));
msg_rc
(
"%s"
,
_
(
"| repeat [on|off] . . . . toggle playlist item repeat"
));
msg_rc
(
"%s"
,
_
(
"| loop [on|off] . . . . . . . . . toggle playlist loop"
));
msg_rc
(
"%s"
,
_
(
"| random [on|off] . . . . . . . toggle random jumping"
));
msg_rc
(
"%s"
,
_
(
"| clear . . . . . . . . . . . . . . clear the playlist"
));
msg_rc
(
"%s"
,
_
(
"| status . . . . . . . . . . . current playlist status"
));
msg_rc
(
"%s"
,
_
(
"| title [X] . . . . . . set/get title in current item"
));
msg_rc
(
"%s"
,
_
(
"| title_n . . . . . . . . next title in current item"
));
msg_rc
(
"%s"
,
_
(
"| title_p . . . . . . previous title in current item"
));
msg_rc
(
"%s"
,
_
(
"| chapter [X] . . . . set/get chapter in current item"
));
msg_rc
(
"%s"
,
_
(
"| chapter_n . . . . . . next chapter in current item"
));
msg_rc
(
"%s"
,
_
(
"| chapter_p . . . . previous chapter in current item"
));
msg_rc
(
"| "
);
msg_rc
(
_
(
"| seek X . . . seek in seconds, for instance `seek 12'"
));
msg_rc
(
_
(
"| pause . . . . . . . . . . . . . . . . toggle pause"
));
msg_rc
(
_
(
"| fastforward . . . . . . . . . set to maximum rate"
));
msg_rc
(
_
(
"| rewind . . . . . . . . . . . . set to minimum rate"
));
msg_rc
(
_
(
"| faster . . . . . . . . . . faster playing of stream"
));
msg_rc
(
_
(
"| slower . . . . . . . . . . slower playing of stream"
));
msg_rc
(
_
(
"| normal . . . . . . . . . . normal playing of stream"
));
msg_rc
(
_
(
"| f [on|off] . . . . . . . . . . . . toggle fullscreen"
));
msg_rc
(
_
(
"| info . . . . . information about the current stream"
));
msg_rc
(
_
(
"| stats . . . . . . . . show statistical information"
));
msg_rc
(
_
(
"| get_time . . seconds elapsed since stream's beginning"
));
msg_rc
(
_
(
"| is_playing . . . . 1 if a stream plays, 0 otherwise"
));
msg_rc
(
_
(
"| get_title . . . . . the title of the current stream"
));
msg_rc
(
_
(
"| get_length . . . . the length of the current stream"
));
msg_rc
(
"%s"
,
_
(
"| seek X . . . seek in seconds, for instance `seek 12'"
));
msg_rc
(
"%s"
,
_
(
"| pause . . . . . . . . . . . . . . . . toggle pause"
));
msg_rc
(
"%s"
,
_
(
"| fastforward . . . . . . . . . set to maximum rate"
));
msg_rc
(
"%s"
,
_
(
"| rewind . . . . . . . . . . . . set to minimum rate"
));
msg_rc
(
"%s"
,
_
(
"| faster . . . . . . . . . . faster playing of stream"
));
msg_rc
(
"%s"
,
_
(
"| slower . . . . . . . . . . slower playing of stream"
));
msg_rc
(
"%s"
,
_
(
"| normal . . . . . . . . . . normal playing of stream"
));
msg_rc
(
"%s"
,
_
(
"| f [on|off] . . . . . . . . . . . . toggle fullscreen"
));
msg_rc
(
"%s"
,
_
(
"| info . . . . . information about the current stream"
));
msg_rc
(
"%s"
,
_
(
"| stats . . . . . . . . show statistical information"
));
msg_rc
(
"%s"
,
_
(
"| get_time . . seconds elapsed since stream's beginning"
));
msg_rc
(
"%s"
,
_
(
"| is_playing . . . . 1 if a stream plays, 0 otherwise"
));
msg_rc
(
"%s"
,
_
(
"| get_title . . . . . the title of the current stream"
));
msg_rc
(
"%s"
,
_
(
"| get_length . . . . the length of the current stream"
));
msg_rc
(
"| "
);
msg_rc
(
_
(
"| volume [X] . . . . . . . . . . set/get audio volume"
));
msg_rc
(
_
(
"| volup [X] . . . . . . . raise audio volume X steps"
));
msg_rc
(
_
(
"| voldown [X] . . . . . . lower audio volume X steps"
));
msg_rc
(
_
(
"| adev [X] . . . . . . . . . . . set/get audio device"
));
msg_rc
(
_
(
"| achan [X]. . . . . . . . . . set/get audio channels"
));
msg_rc
(
_
(
"| atrack [X] . . . . . . . . . . . set/get audio track"
));
msg_rc
(
_
(
"| vtrack [X] . . . . . . . . . . . set/get video track"
));
msg_rc
(
_
(
"| vratio [X] . . . . . . . set/get video aspect ratio"
));
msg_rc
(
_
(
"| vcrop [X] . . . . . . . . . . . set/get video crop"
));
msg_rc
(
_
(
"| vzoom [X] . . . . . . . . . . . set/get video zoom"
));
msg_rc
(
_
(
"| snapshot . . . . . . . . . . . . take video snapshot"
));
msg_rc
(
_
(
"| strack [X] . . . . . . . . . set/get subtitles track"
));
msg_rc
(
_
(
"| key [hotkey name] . . . . . . simulate hotkey press"
));
msg_rc
(
_
(
"| menu . . [on|off|up|down|left|right|select] use menu"
));
msg_rc
(
"%s"
,
_
(
"| volume [X] . . . . . . . . . . set/get audio volume"
));
msg_rc
(
"%s"
,
_
(
"| volup [X] . . . . . . . raise audio volume X steps"
));
msg_rc
(
"%s"
,
_
(
"| voldown [X] . . . . . . lower audio volume X steps"
));
msg_rc
(
"%s"
,
_
(
"| adev [X] . . . . . . . . . . . set/get audio device"
));
msg_rc
(
"%s"
,
_
(
"| achan [X]. . . . . . . . . . set/get audio channels"
));
msg_rc
(
"%s"
,
_
(
"| atrack [X] . . . . . . . . . . . set/get audio track"
));
msg_rc
(
"%s"
,
_
(
"| vtrack [X] . . . . . . . . . . . set/get video track"
));
msg_rc
(
"%s"
,
_
(
"| vratio [X] . . . . . . . set/get video aspect ratio"
));
msg_rc
(
"%s"
,
_
(
"| vcrop [X] . . . . . . . . . . . set/get video crop"
));
msg_rc
(
"%s"
,
_
(
"| vzoom [X] . . . . . . . . . . . set/get video zoom"
));
msg_rc
(
"%s"
,
_
(
"| snapshot . . . . . . . . . . . . take video snapshot"
));
msg_rc
(
"%s"
,
_
(
"| strack [X] . . . . . . . . . set/get subtitles track"
));
msg_rc
(
"%s"
,
_
(
"| key [hotkey name] . . . . . . simulate hotkey press"
));
msg_rc
(
"%s"
,
_
(
"| menu . . [on|off|up|down|left|right|select] use menu"
));
msg_rc
(
"| "
);
if
(
b_longhelp
)
{
msg_rc
(
_
(
"| @name marq-marquee STRING . . overlay STRING in video"
));
msg_rc
(
_
(
"| @name marq-x X . . . . . . . . . . . .offset from left"
));
msg_rc
(
_
(
"| @name marq-y Y . . . . . . . . . . . . offset from top"
));
msg_rc
(
_
(
"| @name marq-position #. . . .relative position control"
));
msg_rc
(
_
(
"| @name marq-color # . . . . . . . . . . font color, RGB"
));
msg_rc
(
_
(
"| @name marq-opacity # . . . . . . . . . . . . . opacity"
));
msg_rc
(
_
(
"| @name marq-timeout T. . . . . . . . . . timeout, in ms"
));
msg_rc
(
_
(
"| @name marq-size # . . . . . . . . font size, in pixels"
));
msg_rc
(
"%s"
,
_
(
"| @name marq-marquee STRING . . overlay STRING in video"
));
msg_rc
(
"%s"
,
_
(
"| @name marq-x X . . . . . . . . . . . .offset from left"
));
msg_rc
(
"%s"
,
_
(
"| @name marq-y Y . . . . . . . . . . . . offset from top"
));
msg_rc
(
"%s"
,
_
(
"| @name marq-position #. . . .relative position control"
));
msg_rc
(
"%s"
,
_
(
"| @name marq-color # . . . . . . . . . . font color, RGB"
));
msg_rc
(
"%s"
,
_
(
"| @name marq-opacity # . . . . . . . . . . . . . opacity"
));
msg_rc
(
"%s"
,
_
(
"| @name marq-timeout T. . . . . . . . . . timeout, in ms"
));
msg_rc
(
"%s"
,
_
(
"| @name marq-size # . . . . . . . . font size, in pixels"
));
msg_rc
(
"| "
);
msg_rc
(
_
(
"| @name logo-file STRING . . .the overlay file path/name"
));
msg_rc
(
_
(
"| @name logo-x X . . . . . . . . . . . .offset from left"
));
msg_rc
(
_
(
"| @name logo-y Y . . . . . . . . . . . . offset from top"
));
msg_rc
(
_
(
"| @name logo-position #. . . . . . . . relative position"
));
msg_rc
(
_
(
"| @name logo-transparency #. . . . . . . . .transparency"
));
msg_rc
(
"%s"
,
_
(
"| @name logo-file STRING . . .the overlay file path/name"
));
msg_rc
(
"%s"
,
_
(
"| @name logo-x X . . . . . . . . . . . .offset from left"
));
msg_rc
(
"%s"
,
_
(
"| @name logo-y Y . . . . . . . . . . . . offset from top"
));
msg_rc
(
"%s"
,
_
(
"| @name logo-position #. . . . . . . . relative position"
));
msg_rc
(
"%s"
,
_
(
"| @name logo-transparency #. . . . . . . . .transparency"
));
msg_rc
(
"| "
);
msg_rc
(
_
(
"| @name mosaic-alpha # . . . . . . . . . . . . . . alpha"
));
msg_rc
(
_
(
"| @name mosaic-height #. . . . . . . . . . . . . .height"
));
msg_rc
(
_
(
"| @name mosaic-width # . . . . . . . . . . . . . . width"
));
msg_rc
(
_
(
"| @name mosaic-xoffset # . . . .top left corner position"
));
msg_rc
(
_
(
"| @name mosaic-yoffset # . . . .top left corner position"
));
msg_rc
(
_
(
"| @name mosaic-offsets x,y(,x,y)*. . . . list of offsets"
));
msg_rc
(
_
(
"| @name mosaic-align 0..2,4..6,8..10. . .mosaic alignment"
));
msg_rc
(
_
(
"| @name mosaic-vborder # . . . . . . . . vertical border"
));
msg_rc
(
_
(
"| @name mosaic-hborder # . . . . . . . horizontal border"
));
msg_rc
(
_
(
"| @name mosaic-position {0=auto,1=fixed} . . . .position"
));
msg_rc
(
_
(
"| @name mosaic-rows #. . . . . . . . . . .number of rows"
));
msg_rc
(
_
(
"| @name mosaic-cols #. . . . . . . . . . .number of cols"
));
msg_rc
(
_
(
"| @name mosaic-order id(,id)* . . . . order of pictures "
));
msg_rc
(
_
(
"| @name mosaic-keep-aspect-ratio {0,1} . . .aspect ratio"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-alpha # . . . . . . . . . . . . . . alpha"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-height #. . . . . . . . . . . . . .height"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-width # . . . . . . . . . . . . . . width"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-xoffset # . . . .top left corner position"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-yoffset # . . . .top left corner position"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-offsets x,y(,x,y)*. . . . list of offsets"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-align 0..2,4..6,8..10. . .mosaic alignment"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-vborder # . . . . . . . . vertical border"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-hborder # . . . . . . . horizontal border"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-position {0=auto,1=fixed} . . . .position"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-rows #. . . . . . . . . . .number of rows"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-cols #. . . . . . . . . . .number of cols"
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-order id(,id)* . . . . order of pictures "
));
msg_rc
(
"%s"
,
_
(
"| @name mosaic-keep-aspect-ratio {0,1} . . .aspect ratio"
));
msg_rc
(
"| "
);
}
msg_rc
(
_
(
"| help . . . . . . . . . . . . . . . this help message"
));
msg_rc
(
_
(
"| longhelp . . . . . . . . . . . a longer help message"
));
msg_rc
(
_
(
"| logout . . . . . . . exit (if in socket connection)"
));
msg_rc
(
_
(
"| quit . . . . . . . . . . . . . . . . . . . quit vlc"
));
msg_rc
(
"%s"
,
_
(
"| help . . . . . . . . . . . . . . . this help message"
));
msg_rc
(
"%s"
,
_
(
"| longhelp . . . . . . . . . . . a longer help message"
));
msg_rc
(
"%s"
,
_
(
"| logout . . . . . . . exit (if in socket connection)"
));
msg_rc
(
"%s"
,
_
(
"| quit . . . . . . . . . . . . . . . . . . . quit vlc"
));
msg_rc
(
"| "
);
msg_rc
(
_
(
"+----[ end of help ]"
));
msg_rc
(
"%s"
,
_
(
"+----[ end of help ]"
));
}
/********************************************************************
...
...
@@ -1051,7 +1051,7 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
if
(
(
val
.
i_int
==
PAUSE_S
)
&&
(
strcmp
(
psz_cmd
,
"pause"
)
!=
0
)
)
{
msg_rc
(
_
(
"Press menu select or pause to continue."
)
);
msg_rc
(
"%s"
,
_
(
"Press menu select or pause to continue."
)
);
vlc_object_release
(
p_input
);
return
VLC_EGENERIC
;
}
...
...
@@ -1315,7 +1315,7 @@ static int Playlist( vlc_object_t *p_this, char const *psz_cmd,
if
(
val
.
i_int
==
PAUSE_S
)
{
msg_rc
(
_
(
"Type 'menu select' or 'pause' to continue."
)
);
msg_rc
(
"%s"
,
_
(
"Type 'menu select' or 'pause' to continue."
)
);
pl_Release
(
p_this
);
return
VLC_EGENERIC
;
}
...
...
@@ -1408,7 +1408,7 @@ static int Playlist( vlc_object_t *p_this, char const *psz_cmd,
int
i_size
=
p_playlist
->
items
.
i_size
/
2
;
if
(
i_pos
<=
0
)
msg_rc
(
_
(
"Error: `goto' needs an argument greater than zero."
)
);
msg_rc
(
"%s"
,
_
(
"Error: `goto' needs an argument greater than zero."
)
);
else
if
(
i_pos
<=
i_size
)
{
playlist_item_t
*
p_item
,
*
p_parent
;
...
...
@@ -1570,7 +1570,7 @@ static int Volume( vlc_object_t *p_this, char const *psz_cmd,
var_Get
(
p_input
,
"state"
,
&
val
);
if
(
val
.
i_int
==
PAUSE_S
)
{
msg_rc
(
_
(
"Type 'menu select' or 'pause' to continue."
)
);
msg_rc
(
"%s"
,
_
(
"Type 'menu select' or 'pause' to continue."
)
);
vlc_object_release
(
p_input
);
return
VLC_EGENERIC
;
}
...
...
@@ -1641,7 +1641,7 @@ static int VolumeMove( vlc_object_t *p_this, char const *psz_cmd,
var_Get
(
p_input
,
"state"
,
&
val
);
if
(
val
.
i_int
==
PAUSE_S
)
{
msg_rc
(
_
(
"Type 'menu select' or 'pause' to continue."
)
);
msg_rc
(
"%s"
,
_
(
"Type 'menu select' or 'pause' to continue."
)
);
vlc_object_release
(
p_input
);
return
VLC_EGENERIC
;
}
...
...
@@ -1826,7 +1826,7 @@ static int AudioConfig( vlc_object_t *p_this, char const *psz_cmd,
var_Get
(
p_input
,
"state"
,
&
val
);
if
(
val
.
i_int
==
PAUSE_S
)
{
msg_rc
(
_
(
"Type 'menu select' or 'pause' to continue."
)
);
msg_rc
(
"%s"
,
_
(
"Type 'menu select' or 'pause' to continue."
)
);
vlc_object_release
(
p_input
);
return
VLC_EGENERIC
;
}
...
...
@@ -1911,7 +1911,7 @@ static int Menu( vlc_object_t *p_this, char const *psz_cmd,
if
(
!*
newval
.
psz_string
)
{
msg_rc
(
_
(
"Please provide one of the following parameters:"
)
);
msg_rc
(
"%s"
,
_
(
"Please provide one of the following parameters:"
)
);
msg_rc
(
"[on|off|up|down|left|right|select]"
);
return
VLC_EGENERIC
;
}
...
...
@@ -1927,7 +1927,7 @@ static int Menu( vlc_object_t *p_this, char const *psz_cmd,
if
(
(
val
.
i_int
==
PAUSE_S
)
&&
(
strcmp
(
newval
.
psz_string
,
"select"
)
!=
0
)
)
{
msg_rc
(
_
(
"Type 'menu select' or 'pause' to continue."
)
);
msg_rc
(
"%s"
,
_
(
"Type 'menu select' or 'pause' to continue."
)
);
pl_Release
(
p_this
);
return
VLC_EGENERIC
;
}
...
...
@@ -1954,7 +1954,7 @@ static int Menu( vlc_object_t *p_this, char const *psz_cmd,
osd_MenuActivate
(
p_this
);
else
{
msg_rc
(
_
(
"Please provide one of the following parameters:"
)
);
msg_rc
(
"%s"
,
_
(
"Please provide one of the following parameters:"
)
);
msg_rc
(
"[on|off|up|down|left|right|select]"
);
i_error
=
VLC_EGENERIC
;
}
...
...
@@ -1986,7 +1986,7 @@ static int Statistics ( vlc_object_t *p_this, char const *psz_cmd,
*/
else
{
msg_rc
(
_
(
"Unknown command!"
)
);
msg_rc
(
"%s"
,
_
(
"Unknown command!"
)
);
}
vlc_object_release
(
p_input
);
...
...
@@ -2002,7 +2002,7 @@ static int updateStatistics( intf_thread_t *p_intf, input_item_t *p_item )
msg_rc
(
"+----[ begin of statistical info ]"
);
/* Input */
msg_rc
(
_
(
"+-[Incoming]"
));
msg_rc
(
"%s"
,
_
(
"+-[Incoming]"
));
msg_rc
(
_
(
"| input bytes read : %8.0f kB"
),
(
float
)(
p_item
->
p_stats
->
i_read_bytes
)
/
1000
);
msg_rc
(
_
(
"| input bitrate : %6.0f kb/s"
),
...
...
@@ -2013,7 +2013,7 @@ static int updateStatistics( intf_thread_t *p_intf, input_item_t *p_item )
(
float
)(
p_item
->
p_stats
->
f_demux_bitrate
)
*
8000
);
msg_rc
(
"|"
);
/* Video */
msg_rc
(
_
(
"+-[Video Decoding]"
));
msg_rc
(
"%s"
,
_
(
"+-[Video Decoding]"
));
msg_rc
(
_
(
"| video decoded : %5i"
),
p_item
->
p_stats
->
i_decoded_video
);
msg_rc
(
_
(
"| frames displayed : %5i"
),
...
...
@@ -2022,7 +2022,7 @@ static int updateStatistics( intf_thread_t *p_intf, input_item_t *p_item )
p_item
->
p_stats
->
i_lost_pictures
);
msg_rc
(
"|"
);
/* Audio*/
msg_rc
(
_
(
"+-[Audio Decoding]"
));
msg_rc
(
"%s"
,
_
(
"+-[Audio Decoding]"
));
msg_rc
(
_
(
"| audio decoded : %5i"
),
p_item
->
p_stats
->
i_decoded_audio
);
msg_rc
(
_
(
"| buffers played : %5i"
),
...
...
@@ -2031,7 +2031,7 @@ static int updateStatistics( intf_thread_t *p_intf, input_item_t *p_item )
p_item
->
p_stats
->
i_lost_abuffers
);
msg_rc
(
"|"
);
/* Sout */
msg_rc
(
_
(
"+-[Streaming]"
));
msg_rc
(
"%s"
,
_
(
"+-[Streaming]"
));
msg_rc
(
_
(
"| packets sent : %5i"
),
p_item
->
p_stats
->
i_sent_packets
);
msg_rc
(
_
(
"| bytes sent : %8.0f kB"
),
(
float
)(
p_item
->
p_stats
->
i_sent_bytes
)
/
1000
);
...
...
modules/demux/asf/asf.c
View file @
d323c4ee
...
...
@@ -175,7 +175,7 @@ static int Demux( demux_t *p_demux )
if
(
DemuxInit
(
p_demux
)
)
{
msg_Err
(
p_demux
,
"failed to load the new header"
);
dialog_Fatal
(
p_demux
,
_
(
"Could not demux ASF stream"
),
dialog_Fatal
(
p_demux
,
_
(
"Could not demux ASF stream"
),
"%s"
,
_
(
"VLC failed to load the ASF header."
)
);
return
0
;
}
...
...
modules/demux/live555.cpp
View file @
d323c4ee
...
...
@@ -619,7 +619,7 @@ describe:
free
(
psz_user
);
free
(
psz_pwd
);
dialog_Login
(
p_demux
,
&
psz_user
,
&
psz_pwd
,
_
(
"RTSP authentication"
),
_
(
"RTSP authentication"
),
"%s"
,
_
(
"Please enter a valid login name and a password."
)
);
if
(
psz_user
!=
NULL
&&
psz_pwd
!=
NULL
)
{
...
...
modules/gui/skins2/commands/cmd_quit.cpp
View file @
d323c4ee
...
...
@@ -37,7 +37,7 @@
void
CmdQuit
::
execute
()
{
// Stop the playlist
vout_OSDMessage
(
getIntf
(),
DEFAULT_CHAN
,
_
(
"Quit"
)
);
vout_OSDMessage
(
getIntf
(),
DEFAULT_CHAN
,
"%s"
,
_
(
"Quit"
)
);
// Get the instance of OSFactory
OSFactory
*
pOsFactory
=
OSFactory
::
instance
(
getIntf
()
);
...
...
modules/misc/audioscrobbler.c
View file @
d323c4ee
...
...
@@ -295,7 +295,7 @@ static void Run( intf_thread_t *p_intf )
/* username not set */
dialog_Fatal
(
p_intf
,
_
(
"Last.fm username not set"
),
_
(
"Please set a username or disable the "
"%s"
,
_
(
"Please set a username or disable the "
"audioscrobbler plugin, and restart VLC.
\n
"
"Visit http://www.last.fm/join/ to get an account."
)
);
...
...
@@ -832,7 +832,7 @@ static int Handshake( intf_thread_t *p_this )
/* authentication failed, bad username/password combination */
dialog_Fatal
(
p_this
,
_
(
"last.fm: Authentication failed"
),
_
(
"last.fm username or password is incorrect. "
"%s"
,
_
(
"last.fm username or password is incorrect. "
"Please verify your settings and relaunch VLC."
)
);
return
VLC_AUDIOSCROBBLER_EFATAL
;
}
...
...
modules/video_filter/crop.c
View file @
d323c4ee
...
...
@@ -371,7 +371,7 @@ static int Init( vout_thread_t *p_vout )
if
(
p_vout
->
p_sys
->
p_vout
==
NULL
)
{
msg_Err
(
p_vout
,
"failed to create vout"
);
dialog_Fatal
(
p_vout
,
_
(
"Cropping failed"
),
dialog_Fatal
(
p_vout
,
_
(
"Cropping failed"
),
"%s"
,
_
(
"VLC could not open the video output module."
)
);
return
VLC_EGENERIC
;
}
...
...
@@ -463,7 +463,7 @@ static int Manage( vout_thread_t *p_vout )
if
(
p_vout
->
p_sys
->
p_vout
==
NULL
)
{
msg_Err
(
p_vout
,
"failed to create vout"
);
dialog_Fatal
(
p_vout
,
_
(
"Cropping failed"
),
dialog_Fatal
(
p_vout
,
_
(
"Cropping failed"
),
"%s"
,
_
(
"VLC could not open the video output module."
)
);
return
VLC_EGENERIC
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment