Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Seungha Yang
gst-editing-services
Commits
6ccb806b
Commit
6ccb806b
authored
Mar 08, 2020
by
Seungha Yang
🐑
Browse files
build: Fix some msvc build warnings
warning C4133: 'function': incompatible types - from 'GESTrackType *' to 'guint *'
parent
1cc5221d
Pipeline
#117231
passed with stages
in 33 minutes and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ges/ges-structured-interface.c
View file @
6ccb806b
...
...
@@ -449,7 +449,7 @@ _ges_add_clip_from_struct (GESTimeline * timeline, GstStructure * structure,
if
(
track_types_str
)
{
if
(
!
get_flags_from_string
(
GES_TYPE_TRACK_TYPE
,
track_types_str
,
&
track_types
))
{
(
guint
*
)
&
track_types
))
{
*
error
=
g_error_new
(
GES_ERROR
,
0
,
"Invalid track types: %s"
,
track_types_str
);
...
...
tools/ges-launcher.c
View file @
6ccb806b
...
...
@@ -60,7 +60,8 @@ static gboolean
_parse_track_type
(
const
gchar
*
option_name
,
const
gchar
*
value
,
GESLauncherParsedOptions
*
opts
,
GError
**
error
)
{
if
(
!
get_flags_from_string
(
GES_TYPE_TRACK_TYPE
,
value
,
&
opts
->
track_types
))
if
(
!
get_flags_from_string
(
GES_TYPE_TRACK_TYPE
,
value
,
(
guint
*
)
&
opts
->
track_types
))
return
FALSE
;
return
TRUE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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