[vlc-commits] decklink: use the proper FourCC for VLC_CODEC_EIA608_1

Steve Lhomme git at videolan.org
Sat Jul 8 18:39:48 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Fri Jul  7 08:55:39 2017 +0200| [7d05ec47c2f71f088922802f7f4c11f5d50e7008] | committer: Jean-Baptiste Kempf

decklink: use the proper FourCC for VLC_CODEC_EIA608_1

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/access/decklink.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/decklink.cpp b/modules/access/decklink.cpp
index a0a1a62851..0cbbdac3a0 100644
--- a/modules/access/decklink.cpp
+++ b/modules/access/decklink.cpp
@@ -313,7 +313,7 @@ HRESULT DeckLinkCaptureDelegate::VideoInputFrameArrived(IDeckLinkVideoInputFrame
                     if (!sys->cc_es) {
                         es_format_t fmt;
 
-                        es_format_Init( &fmt, SPU_ES, VLC_FOURCC('c', 'c', '1' , ' ') );
+                        es_format_Init( &fmt, SPU_ES, VLC_CODEC_EIA608_1 );
                         fmt.psz_description = strdup(N_("Closed captions 1"));
                         if (fmt.psz_description) {
                             sys->cc_es = es_out_Add(demux_->out, &fmt);



More information about the vlc-commits mailing list