]> git.sesse.net Git - vlc/commitdiff
Use var_InheritString for --decklink-video-connection.
authorSteinar H. Gunderson <steinar+vlc@gunderson.no>
Sat, 2 Oct 2010 19:05:31 +0000 (21:05 +0200)
committerSteinar H. Gunderson <steinar+vlc@gunderson.no>
Sat, 2 Oct 2010 19:05:31 +0000 (21:05 +0200)
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;