vlc | branch: master | Steve Lhomme <[email protected]> | Mon Jul 10 16:20:13 
2017 +0200| [5f03dad116a4dfe192a925cc026aa22fcd03dedd] | committer: 
Jean-Baptiste Kempf

cvdsub: fix the codec ID on the packetizer output

All other decoders that also double as a packetizer do this.

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to