[vlc-devel] [PATCH 2/4] vlc_block: remove BLOCK_FLAG_END_OF_FRAME

Francois Cartegnie fcvlcdev at free.fr
Wed Apr 12 17:07:43 CEST 2017


---
 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 9b9aa14..5c2633d 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 1651ada..24e0b30 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 )
-- 
2.9.3



More information about the vlc-devel mailing list