]> git.sesse.net Git - vlc/blobdiff - modules/access/decklink.cpp
Use var_InheritString for --decklink-video-connection.
[vlc] / modules / access / decklink.cpp
index 6685c5364f7765524d0efa51bff207b5ed45c670..a8f3a71dc12b3bb6627135c629385e5fa10af9bf 100644 (file)
@@ -354,7 +354,7 @@ static int Open( vlc_object_t *p_this )
         goto finish;
     }
 
-    psz_video_connection = var_CreateGetNonEmptyString( p_demux, "decklink-video-connection" );
+    psz_video_connection = var_InheritString( p_demux, "decklink-video-connection" );
     if( psz_video_connection )
     {
         BMDVideoConnection conn;