[vlc-commits] vlc_block: remove BLOCK_FLAG_END_OF_FRAME

Francois Cartegnie git at videolan.org
Thu Apr 27 16:32:39 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr 12 17:07:43 2017 +0200| [23fad61d0702ea88eea58b387cb974447cce1b87] | committer: Francois Cartegnie

vlc_block: remove BLOCK_FLAG_END_OF_FRAME

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

 include/vlc_block.h        | 2 --
 modules/access/live555.cpp | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/include/vlc_block.h b/include/vlc_block.h
index 9b9aa14a57..5c2633d353 100644
--- a/include/vlc_block.h
+++ b/include/vlc_block.h
@@ -75,8 +75,6 @@
 #define BLOCK_FLAG_TYPE_PB       0x0010
 /** Warn that this block is a header one */
 #define BLOCK_FLAG_HEADER        0x0020
-/** This is the last block of the frame */
-#define BLOCK_FLAG_END_OF_FRAME  0x0040
 /** This block contains the last part of a sequence  */
 #define BLOCK_FLAG_END_OF_SEQUENCE 0x0100
 /** This block contains a clock reference */
diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index 76349d49ab..c54fe3894f 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -1983,9 +1983,6 @@ static void StreamRead( void *p_private, unsigned int i_size,
         {
             memcpy( p_block->p_buffer, &header, 4 );
             memcpy( p_block->p_buffer + 4, tk->p_buffer, i_size );
-
-            if( tk->sub->rtpSource()->curPacketMarkerBit() )
-                p_block->i_flags |= BLOCK_FLAG_END_OF_FRAME;
         }
     }
     else if( tk->fmt.i_codec == VLC_CODEC_H264 || tk->fmt.i_codec == VLC_CODEC_HEVC )



More information about the vlc-commits mailing list