[vlc-commits] sout: sdi: fix build

Francois Cartegnie git at videolan.org
Fri Oct 18 16:28:41 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Oct 18 16:28:02 2019 +0200| [6345c794459970172395ff38a7115dbe72f3d25d] | committer: Francois Cartegnie

sout: sdi: fix build

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

 modules/stream_out/sdi/SDIStream.cpp | 3 ++-
 modules/stream_out/sdi/SDIStream.hpp | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/stream_out/sdi/SDIStream.cpp b/modules/stream_out/sdi/SDIStream.cpp
index 25c5aa8d0e..ef8e983603 100644
--- a/modules/stream_out/sdi/SDIStream.cpp
+++ b/modules/stream_out/sdi/SDIStream.cpp
@@ -480,7 +480,8 @@ void VideoDecodedStream::VideoDecCallback_queue_cc(decoder_t *p_dec, block_t *p_
     static_cast<VideoDecodedStream *>(p_owner->id)->QueueCC(p_block);
 }
 
-int VideoDecodedStream::VideoDecCallback_update_format(decoder_t *p_dec)
+int VideoDecodedStream::VideoDecCallback_update_format(decoder_t *p_dec,
+                                                       vlc_video_context *)
 {
     struct decoder_owner *p_owner;
     p_owner = container_of(p_dec, struct decoder_owner, dec);
diff --git a/modules/stream_out/sdi/SDIStream.hpp b/modules/stream_out/sdi/SDIStream.hpp
index 2e714646c6..21fcb2106e 100644
--- a/modules/stream_out/sdi/SDIStream.hpp
+++ b/modules/stream_out/sdi/SDIStream.hpp
@@ -166,7 +166,7 @@ namespace sdi_sout
             static void VideoDecCallback_queue(decoder_t *, picture_t *);
             static void VideoDecCallback_queue_cc( decoder_t *, block_t *,
                                                    const decoder_cc_desc_t * );
-            static int VideoDecCallback_update_format(decoder_t *);
+            static int VideoDecCallback_update_format(decoder_t *, vlc_video_context *);
             filter_chain_t * VideoFilterCreate(const es_format_t *);
             void Output(picture_t *);
             void QueueCC(block_t *);



More information about the vlc-commits mailing list