[vlc-commits] RSS: small cosmetics change
Jean-Baptiste Kempf
git at videolan.org
Wed May 7 16:47:46 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed May 7 16:47:20 2014 +0200| [8604f74079787a9cecd2f2582bdf78d714b18d4b] | committer: Jean-Baptiste Kempf
RSS: small cosmetics change
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8604f74079787a9cecd2f2582bdf78d714b18d4b
---
modules/video_filter/rss.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/modules/video_filter/rss.c b/modules/video_filter/rss.c
index 2d28f16..9710990 100644
--- a/modules/video_filter/rss.c
+++ b/modules/video_filter/rss.c
@@ -220,7 +220,8 @@ vlc_module_begin ()
false )
add_integer( CFG_PREFIX "ttl", 1800, TTL_TEXT, TTL_LONGTEXT, false )
add_bool( CFG_PREFIX "images", true, IMAGE_TEXT, IMAGE_LONGTEXT, false )
- add_integer( CFG_PREFIX "title", default_title, TITLE_TEXT, TITLE_LONGTEXT, false )
+ add_integer( CFG_PREFIX "title", default_title, TITLE_TEXT, TITLE_LONGTEXT,
+ false )
change_integer_list( pi_title_modes, ppsz_title_modes )
set_description( N_("RSS and Atom feed display") )
@@ -294,7 +295,8 @@ static int CreateFilter( vlc_object_t *p_this )
if( p_sys->b_images && p_sys->p_style->i_font_size == -1 )
{
- msg_Warn( p_filter, "rss-size wasn't specified. Feed images will thus be displayed without being resized" );
+ msg_Warn( p_filter, "rss-size wasn't specified. Feed images will thus "
+ "be displayed without being resized" );
}
/* Parse the urls */
@@ -372,7 +374,8 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
}
if( p_sys->last_date
- + ( p_sys->i_cur_char == 0 && p_sys->i_cur_item == ( p_sys->i_title == scroll_title ? -1 : 0 ) ? 5 : 1 )
+ + ( p_sys->i_cur_char == 0 &&
+ p_sys->i_cur_item == ( p_sys->i_title == scroll_title ? -1 : 0 ) ? 5 : 1 )
/* ( ... ? 5 : 1 ) means "wait 5 times more for the 1st char" */
* p_sys->i_speed > date )
{
@@ -382,7 +385,10 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
p_sys->last_date = date;
p_sys->i_cur_char++;
- if( p_sys->i_cur_item == -1 ? p_sys->p_feeds[p_sys->i_cur_feed].psz_title[p_sys->i_cur_char] == 0 : p_sys->p_feeds[p_sys->i_cur_feed].p_items[p_sys->i_cur_item].psz_title[p_sys->i_cur_char] == 0 )
+
+ if( p_sys->i_cur_item == -1 ?
+ p_sys->p_feeds[p_sys->i_cur_feed].psz_title[p_sys->i_cur_char] == 0 :
+ p_sys->p_feeds[p_sys->i_cur_feed].p_items[p_sys->i_cur_item].psz_title[p_sys->i_cur_char] == 0 )
{
p_sys->i_cur_char = 0;
p_sys->i_cur_item++;
More information about the vlc-commits
mailing list