]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/transcode.c
subpicture_t now has a b_pausable attribute. When set to VLC_TRUE (default value...
[vlc] / modules / stream_out / transcode.c
index d16007c16b56b2278368c81fbf28bdea8a9ec104..89866cc3fe0c0b427f7189c50f7dbbc50f06aa0f 100644 (file)
@@ -2319,7 +2319,8 @@ static int transcode_video_process( sout_stream_t *p_stream,
         /* Check if we have a subpicture to overlay */
         if( p_sys->p_spu )
         {
-            p_subpic = spu_SortSubpictures( p_sys->p_spu, p_pic->date );
+            p_subpic = spu_SortSubpictures( p_sys->p_spu, p_pic->date,
+                       VLC_FALSE /* Fixme: check if stream is paused */ );
             /* TODO: get another pic */
         }
 
@@ -2884,7 +2885,7 @@ static int transcode_osd_process( sout_stream_t *p_stream,
     /* Check if we have a subpicture to send */
     if( p_sys->p_spu && in->i_dts > 0)
     {
-        p_subpic = spu_SortSubpictures( p_sys->p_spu, in->i_dts );
+        p_subpic = spu_SortSubpictures( p_sys->p_spu, in->i_dts, VLC_FALSE );
     }
     else
     {