[vlc-commits] livehttp: split from PAT/PMT that precedes keyframes instead of keyframe

Ilkka Ollakka git at videolan.org
Tue Jan 22 19:48:05 CET 2013


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Jan 22 18:09:42 2013 +0200| [b30df008883c6aab16e9340a300f094f5b37db6a] | committer: Ilkka Ollakka

livehttp: split from PAT/PMT that precedes keyframes instead of keyframe

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

 modules/access_output/livehttp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access_output/livehttp.c b/modules/access_output/livehttp.c
index bca522b..8323b52 100644
--- a/modules/access_output/livehttp.c
+++ b/modules/access_output/livehttp.c
@@ -423,7 +423,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer )
 
     while( p_buffer )
     {
-        if ( p_sys->i_handle >= 0 && ( p_sys->b_splitanywhere || ( p_buffer->i_flags & BLOCK_FLAG_TYPE_I ) ) && ( p_buffer->i_dts-p_sys->i_opendts ) > p_sys->i_seglenm )
+        if ( p_sys->i_handle >= 0 && ( p_sys->b_splitanywhere || ( p_buffer->i_flags & BLOCK_FLAG_HEADER ) ) && ( p_buffer->i_dts-p_sys->i_opendts ) > p_sys->i_seglenm )
         {
             closeCurrentSegment( p_access, p_sys, false );
         }



More information about the vlc-commits mailing list