Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f3e22e32
Commit
f3e22e32
authored
Mar 14, 2019
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avdevice/decklink_common: properly check DoesSupportVideoMode result when trying VANC flag
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
e036b8dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
decklink_common.cpp
libavdevice/decklink_common.cpp
+1
-1
No files found.
libavdevice/decklink_common.cpp
View file @
f3e22e32
...
@@ -256,7 +256,7 @@ int ff_decklink_set_format(AVFormatContext *avctx,
...
@@ -256,7 +256,7 @@ int ff_decklink_set_format(AVFormatContext *avctx,
}
else
{
}
else
{
if
(
!
ctx
->
supports_vanc
||
ctx
->
dlo
->
DoesSupportVideoMode
(
ctx
->
bmd_mode
,
ctx
->
raw_format
,
if
(
!
ctx
->
supports_vanc
||
ctx
->
dlo
->
DoesSupportVideoMode
(
ctx
->
bmd_mode
,
ctx
->
raw_format
,
bmdVideoOutputVANC
,
bmdVideoOutputVANC
,
&
support
,
NULL
)
!=
S_OK
)
{
&
support
,
NULL
)
!=
S_OK
||
support
!=
bmdDisplayModeSupported
)
{
/* Try without VANC enabled */
/* Try without VANC enabled */
if
(
ctx
->
dlo
->
DoesSupportVideoMode
(
ctx
->
bmd_mode
,
ctx
->
raw_format
,
if
(
ctx
->
dlo
->
DoesSupportVideoMode
(
ctx
->
bmd_mode
,
ctx
->
raw_format
,
bmdVideoOutputFlagDefault
,
bmdVideoOutputFlagDefault
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment