<p dir="ltr">Please, do not send dirty patches.<br>
Send us again a clean version.</p>
<div class="gmail_quote">Le 4 mars 2014 08:26, "Subodh Shrestha" <<a href="mailto:forsubodh@gmail.com">forsubodh@gmail.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
modules/control/hotkeys.c | 10 ++++------<br>
modules/text_renderer/freetype.c | 9 ---------<br>
src/config/keys.c | 4 ----<br>
src/libvlc-module.c | 7 -------<br>
4 files changed, 4 insertions(+), 26 deletions(-)<br>
<br>
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c<br>
index 42a06e0..5f02b5c 100644<br>
--- a/modules/control/hotkeys.c<br>
+++ b/modules/control/hotkeys.c<br>
@@ -1051,10 +1051,10 @@ static int PutAction( intf_thread_t *p_intf, int i_action, filter_t *p_filter)<br>
if ( p_filter )<br>
{<br>
int rel_fontsize = var_InheritInteger( p_filter, "freetype-rel-fontsize");<br>
- msg_Err(p_filter, "Old Relative Fontsize:%i", rel_fontsize);<br>
+ msg_Dbg(p_filter, "Old Relative Fontsize:%i", rel_fontsize);<br>
var_Create( p_filter, "freetype-rel-fontsize", VLC_VAR_INTEGER);<br>
var_SetInteger( p_filter, "freetype-rel-fontsize", --rel_fontsize);<br>
- msg_Err(p_filter, "New Relative Fontsize:%i", rel_fontsize);<br>
+ msg_Dbg(p_filter, "New Relative Fontsize:%i", rel_fontsize);<br>
}<br>
break;<br>
<br>
@@ -1062,10 +1062,10 @@ static int PutAction( intf_thread_t *p_intf, int i_action, filter_t *p_filter)<br>
if( p_filter )<br>
{<br>
int rel_fontsize = var_InheritInteger( p_filter, "freetype-rel-fontsize");<br>
- msg_Err(p_filter, "Old Relative Fontsize:%i", rel_fontsize);<br>
+ msg_Dbg(p_filter, "Old Relative Fontsize:%i", rel_fontsize);<br>
var_Create( p_filter, "freetype-rel-fontsize", VLC_VAR_INTEGER);<br>
var_SetInteger( p_filter, "freetype-rel-fontsize", ++rel_fontsize);<br>
- msg_Err(p_filter, "New Relative Fontsize:%i", rel_fontsize);<br>
+ msg_Dbg(p_filter, "New Relative Fontsize:%i", rel_fontsize);<br>
}<br>
break;<br>
}<br>
@@ -1084,9 +1084,7 @@ static int ActionEvent( vlc_object_t *libvlc, char const *psz_var,<br>
vlc_value_t oldval, vlc_value_t newval, void *p_data )<br>
{<br>
intf_thread_t *p_intf = (intf_thread_t *)p_data;<br>
- //SS>><br>
filter_t *p_filter = (filter_t *)libvlc;<br>
- //SS<<<br>
<br>
(void)libvlc;<br>
(void)psz_var;<br>
diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c<br>
index 7938ebc..527f01d 100644<br>
--- a/modules/text_renderer/freetype.c<br>
+++ b/modules/text_renderer/freetype.c<br>
@@ -1624,8 +1624,6 @@ static int RenderCommon( filter_t *p_filter, subpicture_region_t *p_region_out,<br>
<br>
if( b_html )<br>
{<br>
- //SS<br>
- msg_Err(p_filter, "here");<br>
stream_t *p_sub = stream_MemoryNew( VLC_OBJECT(p_filter),<br>
(uint8_t *) p_region_in->psz_html,<br>
strlen( p_region_in->psz_html ),<br>
@@ -1667,11 +1665,6 @@ static int RenderCommon( filter_t *p_filter, subpicture_region_t *p_region_out,<br>
rv = VLC_EGENERIC;<br>
}<br>
}<br>
- //SS >><br>
- //msg_Err(p_filter, "test: %i", p_region_in->p_style->i_font_size);<br>
- //SetFontSize( p_filter, 10);<br>
- //p_sys->style.i_font_size = 60;<br>
- //SS <<<br>
if( !rv )<br>
{<br>
rv = ProcessNodes( p_filter,<br>
@@ -1686,8 +1679,6 @@ static int RenderCommon( filter_t *p_filter, subpicture_region_t *p_region_out,<br>
}<br>
else<br>
{<br>
- //SS<br>
- msg_Err(p_filter, "here2");<br>
text_style_t *p_style;<br>
if( p_region_in->p_style )<br>
p_style = CreateStyle( p_region_in->p_style->psz_fontname ? p_region_in->p_style->psz_fontname<br>
diff --git a/src/config/keys.c b/src/config/keys.c<br>
index 46407eb..8684101 100644<br>
--- a/src/config/keys.c<br>
+++ b/src/config/keys.c<br>
@@ -449,9 +449,6 @@ static void vlc_InitAction (vlc_object_t *obj, void **map,<br>
const char *confname, vlc_action_t action)<br>
{<br>
char *keys = var_InheritString (obj, confname);<br>
- //SS >><br>
- msg_Err( obj, "For action:%s key found %s", confname, keys );<br>
- //SS <<<br>
if (keys == NULL)<br>
return;<br>
<br>
@@ -478,7 +475,6 @@ static void vlc_InitAction (vlc_object_t *obj, void **map,<br>
struct vlc_actions *vlc_InitActions (libvlc_int_t *libvlc)<br>
{<br>
vlc_object_t *obj = VLC_OBJECT(libvlc);<br>
- msg_Err( libvlc, "init actions" );<br>
struct hotkey *keys;<br>
struct vlc_actions *as = malloc (sizeof (*as) + (ACTIONS_COUNT + 1) * sizeof (*keys));<br>
<br>
diff --git a/src/libvlc-module.c b/src/libvlc-module.c<br>
index ac7a682..96d2c07 100644<br>
--- a/src/libvlc-module.c<br>
+++ b/src/libvlc-module.c<br>
@@ -1431,13 +1431,11 @@ static const char *const mouse_wheel_texts[] =<br>
#define AUDI_DEVICE_CYCLE_KEY_TEXT N_("Cycle through audio devices")<br>
#define AUDI_DEVICE_CYCLE_KEY_LONGTEXT N_("Cycle through available audio devices")<br>
<br>
-//SS >><br>
#define FONTSIZE_UP_KEY_TEXT N_("Increase font size")<br>
#define FONTSIZE_UP_KEY_LONGTEXT N_("Increase font size using hotkey")<br>
<br>
#define FONTSIZE_DOWN_KEY_TEXT N_("Decrease font size")<br>
#define FONTSIZE_DOWN_KEY_LONGTEXT N_("Decrease font size using hotkey")<br>
-//SS<<<br>
/*<br>
* Quick usage guide for the configuration options:<br>
*<br>
@@ -2396,10 +2394,8 @@ vlc_module_begin ()<br>
/* Playlist clear */<br>
# define KEY_PLAY_CLEAR "Ctrl+w"<br>
<br>
-//SS >><br>
# define KEY_FONTSIZE_UP "Ctrl+a"<br>
# define KEY_FONTSIZE_DOWN "Ctrl+Shift+a"<br>
-//SS <<<br>
#endif<br>
<br>
add_key( "key-toggle-fullscreen", KEY_TOGGLE_FULLSCREEN, TOGGLE_FULLSCREEN_KEY_TEXT,<br>
@@ -2627,13 +2623,10 @@ vlc_module_begin ()<br>
add_key( "key-clear-playlist", KEY_PLAY_CLEAR,<br>
PLAY_CLEAR_KEY_TEXT, PLAY_CLEAR_KEY_LONGTEXT, true )<br>
<br>
- //SS >><br>
add_key( "key-fontsize-up", KEY_FONTSIZE_UP,<br>
FONTSIZE_UP_KEY_TEXT, FONTSIZE_UP_KEY_LONGTEXT, true)<br>
add_key( "key-fontsize-down", KEY_FONTSIZE_DOWN,<br>
FONTSIZE_DOWN_KEY_TEXT, FONTSIZE_DOWN_KEY_LONGTEXT, true)<br>
-<br>
- //SS <<<br>
<br>
add_string( "bookmark1", NULL,<br>
BOOKMARK1_TEXT, BOOKMARK_LONGTEXT, false )<br>
--<br>
1.7.9.5<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div>