Commit e23bf58c authored by Francois Cartegnie's avatar Francois Cartegnie

codec: subs: apply default styles to regions on update

parent ea7b1992
...@@ -114,7 +114,7 @@ static void SubpictureTextUpdate(subpicture_t *subpic, ...@@ -114,7 +114,7 @@ static void SubpictureTextUpdate(subpicture_t *subpic,
} }
/* Add missing default style, if any, to all segments */ /* 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 */ /* Add decoder defaults */
if( p_segment->style ) if( p_segment->style )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment