]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/decklink_enc.cpp
Merge commit 'c438899a706422b8362a13714580e988be4d638b'
[ffmpeg] / libavdevice / decklink_enc.cpp
index 89b03f2bd56487c8a41c8841ffb8fdce4edafd2c..28ab928cd50cd92099b41723085267c48793dde2 100644 (file)
@@ -400,14 +400,14 @@ av_cold int ff_decklink_write_header(AVFormatContext *avctx)
         return AVERROR_EXIT;
     }
 
-    ret = ff_decklink_init_device(avctx, avctx->filename);
+    ret = ff_decklink_init_device(avctx, avctx->url);
     if (ret < 0)
         return ret;
 
     /* Get output device. */
     if (ctx->dl->QueryInterface(IID_IDeckLinkOutput, (void **) &ctx->dlo) != S_OK) {
         av_log(avctx, AV_LOG_ERROR, "Could not open output device from '%s'\n",
-               avctx->filename);
+               avctx->url);
         ret = AVERROR(EIO);
         goto error;
     }