Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
3ca4c541
Commit
3ca4c541
authored
Dec 11, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decklink: fix warnings
parent
dd6a1ec3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
modules/access/decklink.cpp
modules/access/decklink.cpp
+3
-6
No files found.
modules/access/decklink.cpp
View file @
3ca4c541
...
@@ -151,7 +151,7 @@ public:
...
@@ -151,7 +151,7 @@ public:
vlc_atomic_set
(
&
m_ref_
,
1
);
vlc_atomic_set
(
&
m_ref_
,
1
);
}
}
virtual
HRESULT
STDMETHODCALLTYPE
QueryInterface
(
REFIID
iid
,
LPVOID
*
ppv
)
{
return
E_NOINTERFACE
;
}
virtual
HRESULT
STDMETHODCALLTYPE
QueryInterface
(
REFIID
,
LPVOID
*
)
{
return
E_NOINTERFACE
;
}
virtual
ULONG
STDMETHODCALLTYPE
AddRef
(
void
)
virtual
ULONG
STDMETHODCALLTYPE
AddRef
(
void
)
{
{
...
@@ -266,7 +266,6 @@ static int Open(vlc_object_t *p_this)
...
@@ -266,7 +266,6 @@ static int Open(vlc_object_t *p_this)
demux_t
*
demux
=
(
demux_t
*
)
p_this
;
demux_t
*
demux
=
(
demux_t
*
)
p_this
;
demux_sys_t
*
sys
;
demux_sys_t
*
sys
;
int
ret
=
VLC_EGENERIC
;
int
ret
=
VLC_EGENERIC
;
char
*
aspect
;
char
*
display_mode
=
NULL
;
char
*
display_mode
=
NULL
;
char
*
video_connection
=
NULL
;
char
*
video_connection
=
NULL
;
char
*
audio_connection
=
NULL
;
char
*
audio_connection
=
NULL
;
...
@@ -427,7 +426,7 @@ static int Open(vlc_object_t *p_this)
...
@@ -427,7 +426,7 @@ static int Open(vlc_object_t *p_this)
*/
*/
char
sz_display_mode_padded
[
5
];
char
sz_display_mode_padded
[
5
];
strcpy
(
sz_display_mode_padded
,
" "
);
strcpy
(
sz_display_mode_padded
,
" "
);
for
(
int
i
=
0
;
i
<
strlen
(
display_mode
);
++
i
)
for
(
unsigned
i
=
0
;
i
<
strlen
(
display_mode
);
++
i
)
sz_display_mode_padded
[
i
]
=
display_mode
[
i
];
sz_display_mode_padded
[
i
]
=
display_mode
[
i
];
BMDDisplayMode
wanted_mode_id
;
BMDDisplayMode
wanted_mode_id
;
...
@@ -490,7 +489,7 @@ static int Open(vlc_object_t *p_this)
...
@@ -490,7 +489,7 @@ static int Open(vlc_object_t *p_this)
msg_Dbg
(
demux
,
"Found mode '%s': %s (%dx%d, %.3f fps%s)"
,
msg_Dbg
(
demux
,
"Found mode '%s': %s (%dx%d, %.3f fps%s)"
,
sz_mode_id_text
,
mode_name
,
sz_mode_id_text
,
mode_name
,
display_mode
->
GetWidth
(),
display_mode
->
GetHeight
(),
(
int
)
display_mode
->
GetWidth
(),
(
int
)
display_mode
->
GetHeight
(),
double
(
time_scale
)
/
frame_duration
,
field_dominance
);
double
(
time_scale
)
/
frame_duration
,
field_dominance
);
if
(
wanted_mode_id
==
mode_id
)
if
(
wanted_mode_id
==
mode_id
)
...
@@ -651,6 +650,4 @@ static int Control(demux_t *demux, int query, va_list args)
...
@@ -651,6 +650,4 @@ static int Control(demux_t *demux, int query, va_list args)
default:
default:
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
return
VLC_EGENERIC
;
}
}
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