[vlc-devel] [PATCH 22/25] cvdsub: fix the codec ID on the	packetizer output
    Steve Lhomme 
    robux4 at videolabs.io
       
    Mon Jul 10 16:52:26 CEST 2017
    
    
  
All other decoders that also double as a packetizer do this.
---
 modules/codec/cvdsub.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/modules/codec/cvdsub.c b/modules/codec/cvdsub.c
index e8c14c6ba5..4a1aeacb4c 100644
--- a/modules/codec/cvdsub.c
+++ b/modules/codec/cvdsub.c
@@ -139,6 +139,7 @@ static int PacketizerOpen( vlc_object_t *p_this )
 
     if( DecoderOpen( p_this ) != VLC_SUCCESS ) return VLC_EGENERIC;
 
+    p_dec->fmt_out.i_codec = VLC_CODEC_CVD;
     p_dec->p_sys->b_packetizer = true;
 
     return VLC_SUCCESS;
-- 
2.12.1
    
    
More information about the vlc-devel
mailing list