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
7962ffa3
Commit
7962ffa3
authored
Jul 23, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics.
parent
66e451b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
src/control/media.c
src/control/media.c
+3
-11
src/control/media_player.c
src/control/media_player.c
+2
-2
No files found.
src/control/media.c
View file @
7962ffa3
...
...
@@ -352,11 +352,11 @@ libvlc_media_t * libvlc_media_new_as_node(
**************************************************************************/
void
libvlc_media_add_option
(
libvlc_media_t
*
p_md
,
const
char
*
p
p
sz_option
,
const
char
*
psz_option
,
libvlc_exception_t
*
p_e
)
{
VLC_UNUSED
(
p_e
);
input_item_AddOption
(
p_md
->
p_input_item
,
p
p
sz_option
,
input_item_AddOption
(
p_md
->
p_input_item
,
psz_option
,
VLC_INPUT_OPTION_UNIQUE
|
VLC_INPUT_OPTION_TRUSTED
);
}
...
...
@@ -598,13 +598,5 @@ libvlc_media_get_user_data( libvlc_media_t * p_md,
libvlc_exception_t
*
p_e
)
{
VLC_UNUSED
(
p_e
);
if
(
p_md
)
{
return
p_md
->
p_user_data
;
}
else
{
return
NULL
;
}
return
p_md
?
p_md
->
p_user_data
:
NULL
;
}
src/control/media_player.c
View file @
7962ffa3
...
...
@@ -595,13 +595,13 @@ void libvlc_media_player_play( libvlc_media_player_t *p_mi,
var_Set
(
p_input_thread
,
"drawable-hwnd"
,
val
);
}
var_Create
(
p_input_thread
,
"drawable-nsobject"
,
VLC_VAR_ADDRESS
);
var_Create
(
p_input_thread
,
"drawable-nsobject"
,
VLC_VAR_ADDRESS
);
if
(
p_mi
->
drawable
.
nsobject
!=
NULL
)
{
vlc_value_t
val
=
{
.
p_address
=
p_mi
->
drawable
.
nsobject
};
var_Set
(
p_input_thread
,
"drawable-nsobject"
,
val
);
}
var_AddCallback
(
p_input_thread
,
"can-seek"
,
input_seekable_changed
,
p_mi
);
var_AddCallback
(
p_input_thread
,
"can-pause"
,
input_pausable_changed
,
p_mi
);
var_AddCallback
(
p_input_thread
,
"intf-event"
,
input_event_changed
,
p_mi
);
...
...
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