Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
b71fdec3
Commit
b71fdec3
authored
Nov 29, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* const and a few other casting fixes
parent
0ed4ebdf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+1
-1
src/control/libvlc_internal.h
src/control/libvlc_internal.h
+1
-1
src/video_output/video_output.c
src/video_output/video_output.c
+7
-7
No files found.
modules/access/mms/mmstu.c
View file @
b71fdec3
...
@@ -481,7 +481,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
...
@@ -481,7 +481,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
p_sys
->
i_handle_udp
=
net_ListenUDP1
(
p_access
,
p_sys
->
sz_bind_addr
,
p_sys
->
i_handle_udp
=
net_ListenUDP1
(
(
vlc_object_t
*
)
p_access
,
p_sys
->
sz_bind_addr
,
7000
);
7000
);
if
(
p_sys
->
i_handle_udp
<
0
)
if
(
p_sys
->
i_handle_udp
<
0
)
{
{
...
...
src/control/libvlc_internal.h
View file @
b71fdec3
...
@@ -34,7 +34,7 @@ extern "C" {
...
@@ -34,7 +34,7 @@ extern "C" {
/***************************************************************************
/***************************************************************************
* Internal creation and destruction functions
* Internal creation and destruction functions
***************************************************************************/
***************************************************************************/
libvlc_int_t
*
libvlc_InternalCreate
();
libvlc_int_t
*
libvlc_InternalCreate
(
void
);
int
libvlc_InternalInit
(
libvlc_int_t
*
,
int
,
char
*
ppsz_argv
[]
);
int
libvlc_InternalInit
(
libvlc_int_t
*
,
int
,
char
*
ppsz_argv
[]
);
int
libvlc_InternalCleanup
(
libvlc_int_t
*
);
int
libvlc_InternalCleanup
(
libvlc_int_t
*
);
int
libvlc_InternalDestroy
(
libvlc_int_t
*
,
vlc_bool_t
);
int
libvlc_InternalDestroy
(
libvlc_int_t
*
,
vlc_bool_t
);
...
...
src/video_output/video_output.c
View file @
b71fdec3
...
@@ -401,19 +401,19 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
...
@@ -401,19 +401,19 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
var_Create
(
p_vout
,
"deinterlace"
,
VLC_VAR_STRING
|
VLC_VAR_HASCHOICE
);
var_Create
(
p_vout
,
"deinterlace"
,
VLC_VAR_STRING
|
VLC_VAR_HASCHOICE
);
text
.
psz_string
=
_
(
"Deinterlace"
);
text
.
psz_string
=
_
(
"Deinterlace"
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_SETTEXT
,
&
text
,
NULL
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_SETTEXT
,
&
text
,
NULL
);
val
.
psz_string
=
""
;
text
.
psz_string
=
_
(
"Disable"
);
val
.
psz_string
=
(
char
*
)
""
;
text
.
psz_string
=
_
(
"Disable"
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
val
.
psz_string
=
"discard"
;
text
.
psz_string
=
_
(
"Discard"
);
val
.
psz_string
=
(
char
*
)
"discard"
;
text
.
psz_string
=
_
(
"Discard"
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
val
.
psz_string
=
"blend"
;
text
.
psz_string
=
_
(
"Blend"
);
val
.
psz_string
=
(
char
*
)
"blend"
;
text
.
psz_string
=
_
(
"Blend"
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
val
.
psz_string
=
"mean"
;
text
.
psz_string
=
_
(
"Mean"
);
val
.
psz_string
=
(
char
*
)
"mean"
;
text
.
psz_string
=
_
(
"Mean"
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
val
.
psz_string
=
"bob"
;
text
.
psz_string
=
_
(
"Bob"
);
val
.
psz_string
=
(
char
*
)
"bob"
;
text
.
psz_string
=
_
(
"Bob"
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
val
.
psz_string
=
"linear"
;
text
.
psz_string
=
_
(
"Linear"
);
val
.
psz_string
=
(
char
*
)
"linear"
;
text
.
psz_string
=
_
(
"Linear"
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
val
.
psz_string
=
"x"
;
text
.
psz_string
=
"X"
;
val
.
psz_string
=
(
char
*
)
"x"
;
text
.
psz_string
=
(
char
*
)
"X"
;
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
if
(
var_Get
(
p_vout
,
"deinterlace-mode"
,
&
val
)
==
VLC_SUCCESS
)
if
(
var_Get
(
p_vout
,
"deinterlace-mode"
,
&
val
)
==
VLC_SUCCESS
)
...
...
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