[vlc-devel] [PATCH v3 1/2] Removed unused enum value FRAMEDROP_NONREF

Marc Aldorasi m101010a at gmail.com
Sun Sep 1 00:11:26 CEST 2019


---
 modules/codec/avcodec/video.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 2232b7a291..7166d70b33 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -82,7 +82,6 @@ typedef struct
     enum
     {
         FRAMEDROP_NONE,
-        FRAMEDROP_NONREF,
         FRAMEDROP_AGGRESSIVE_RECOVER,
     } framedrop;
     /* how many decoded frames are late */
@@ -1042,7 +1041,7 @@ static int DecodeBlock( decoder_t *p_dec, block_t **pp_block )
             p_block = filter_earlydropped_blocks( p_dec, p_block );
     }
 
-    if( !b_need_output_picture || p_sys->framedrop == FRAMEDROP_NONREF )
+    if( !b_need_output_picture )
     {
         p_context->skip_frame = __MAX( p_context->skip_frame, AVDISCARD_NONREF );
     }
-- 
2.22.0



More information about the vlc-devel mailing list