Showing the changes to libavdevice/decklink_enc.cpp (1 of 31 files). Show all
Unified · Split
| @@ -400,14 +400,14 @@ av_cold int ff_decklink_write_header(AVFormatContext *avctx) · 399 unmodified lines | ||
| 400 | 400 | return AVERROR_EXIT; |
| 401 | 401 | } |
| 402 | 402 | |
| 403 | − ret = ff_decklink_init_device(avctx, avctx->filename); | |
| 403 | + ret = ff_decklink_init_device(avctx, avctx->url); | |
| 404 | 404 | if (ret < 0) |
| 405 | 405 | return ret; |
| 406 | 406 | |
| 407 | 407 | /* Get output device. */ |
| 408 | 408 | if (ctx->dl->QueryInterface(IID_IDeckLinkOutput, (void **) &ctx->dlo) != S_OK) { |
| 409 | 409 | av_log(avctx, AV_LOG_ERROR, "Could not open output device from '%s'\n", |
| 410 | − avctx->filename); | |
| 410 | + avctx->url); | |
| 411 | 411 | ret = AVERROR(EIO); |
| 412 | 412 | goto error; |
| 413 | 413 | } |