History

avdevice: migrate to AVFormatContext->url

Marton Balint committed 8 years ago

Commit 4bb04091 parent 25a2d2631 files · +59 −57Browse files

Showing the changes to libavdevice/decklink_enc.cpp (1 of 31 files). Show all

Unified · Split

libavdevice/decklink_enc.cpp+2−2
@@ -400,14 +400,14 @@ av_cold int ff_decklink_write_header(AVFormatContext *avctx) · 399 unmodified lines
400 return AVERROR_EXIT;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 if (ret < 0)404 if (ret < 0)
405 return ret;405 return ret;
406 406
407 /* Get output device. */407 /* Get output device. */
408 if (ctx->dl->QueryInterface(IID_IDeckLinkOutput, (void **) &ctx->dlo) != S_OK) {408 if (ctx->dl->QueryInterface(IID_IDeckLinkOutput, (void **) &ctx->dlo) != S_OK) {
409 av_log(avctx, AV_LOG_ERROR, "Could not open output device from '%s'\n",409 av_log(avctx, AV_LOG_ERROR, "Could not open output device from '%s'\n",
410 avctx->filename);410 avctx->url);
411 ret = AVERROR(EIO);411 ret = AVERROR(EIO);
412 goto error;412 goto error;
413 }413 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t