[vlc-commits] cvdsub: fix the codec ID on the packetizer output
Steve Lhomme
git at videolan.org
Wed Jul 12 12:23:28 CEST 2017
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | 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 <jb at videolan.org>
> 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;
More information about the vlc-commits
mailing list