[vlc-commits] vout: decklink: don't fail on missing audio

Francois Cartegnie git at videolan.org
Thu Mar 24 13:55:40 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Mar 23 06:40:24 2016 -0400| [b9fac239def3074d355928ae1a184285cd644cc5] | committer: Francois Cartegnie

vout: decklink: don't fail on missing audio

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

 modules/video_output/decklink.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 829a086..27941a0 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -320,6 +320,7 @@ static struct decklink_sys_t *OpenDecklink(vout_display_t *vd)
     decklink_sys->users++;
 
     /* wait until aout is ready */
+    msg_Info(vd, "Waiting for DeckLink audio input module to start");
     while (decklink_sys->i_rate == -1)
         vlc_cond_wait(&decklink_sys->cond, &decklink_sys->lock);
 
@@ -457,8 +458,8 @@ static struct decklink_sys_t *OpenDecklink(vout_display_t *vd)
             bmdAudioSampleType16bitInteger,
             /*decklink_sys->i_channels*/ 2,
             bmdAudioOutputStreamTimestamped);
+        CHECK("Could not start audio output");
     }
-    CHECK("Could not start audio output");
 
     /* start */
     result = decklink_sys->p_output->StartScheduledPlayback(



More information about the vlc-commits mailing list