vlc | branch: master | Francois Cartegnie <[email protected]> | Thu Sep 10 
14:03:01 2015 +0200| [e23bf58cf6d099f9c64176b91ea0636ddd275dc5] | committer: 
Francois Cartegnie

codec: subs: apply default styles to regions on update

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e23bf58cf6d099f9c64176b91ea0636ddd275dc5
---

 modules/codec/substext.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/substext.h b/modules/codec/substext.h
index 160cb2c..ed34d58 100644
--- a/modules/codec/substext.h
+++ b/modules/codec/substext.h
@@ -114,7 +114,7 @@ static void SubpictureTextUpdate(subpicture_t *subpic,
     }
 
     /* Add missing default style, if any, to all segments */
-    for ( text_segment_t* p_segment = sys->p_segments; p_segment; p_segment = 
p_segment->p_next )
+    for ( text_segment_t* p_segment = r->p_text; p_segment; p_segment = 
p_segment->p_next )
     {
         /* Add decoder defaults */
         if( p_segment->style )

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to