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
b481254c
Commit
b481254c
authored
Jan 05, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use var_TriggerCallback as appropriate
parent
5df06313
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
modules/audio_output/auhal.c
modules/audio_output/auhal.c
+1
-1
modules/video_filter/opencv_example.cpp
modules/video_filter/opencv_example.cpp
+1
-1
src/libvlc.c
src/libvlc.c
+1
-1
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+2
-2
No files found.
modules/audio_output/auhal.c
View file @
b481254c
...
...
@@ -1411,7 +1411,7 @@ static OSStatus HardwareListener( AudioHardwarePropertyID inPropertyID,
{
/* something changed in the list of devices */
/* We trigger the audio-device's aout_ChannelsRestart callback */
var_
Change
(
p_aout
,
"audio-device"
,
VLC_VAR_TRIGGER_CALLBACKS
,
NULL
,
NULL
);
var_
TriggerCallback
(
p_aout
,
"audio-device"
);
var_Destroy
(
p_aout
,
"audio-device"
);
}
break
;
...
...
modules/video_filter/opencv_example.cpp
View file @
b481254c
...
...
@@ -228,7 +228,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
}
if
(
faces
&&
(
faces
->
total
>
0
))
//raise the video filter event
var_
Change
(
p_filter
->
p_libvlc
,
VIDEO_FILTER_EVENT_VARIABLE
,
VLC_VAR_TRIGGER_CALLBACKS
,
NULL
,
NULL
);
var_
TriggerCallback
(
p_filter
->
p_libvlc
,
VIDEO_FILTER_EVENT_VARIABLE
);
}
else
msg_Err
(
p_filter
,
"No cascade - is opencv-haarcascade-file valid?"
);
...
...
src/libvlc.c
View file @
b481254c
...
...
@@ -736,7 +736,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
var_Set
(
p_libvlc
,
"verbose"
,
val
);
}
var_AddCallback
(
p_libvlc
,
"verbose"
,
VerboseCallback
,
NULL
);
var_
Change
(
p_libvlc
,
"verbose"
,
VLC_VAR_TRIGGER_CALLBACKS
,
NULL
,
NULL
);
var_
TriggerCallback
(
p_libvlc
,
"verbose"
);
if
(
priv
->
b_color
)
priv
->
b_color
=
config_GetInt
(
p_libvlc
,
"color"
)
>
0
;
...
...
src/video_output/vout_intf.c
View file @
b481254c
...
...
@@ -330,7 +330,7 @@ void vout_IntfInit( vout_thread_t *p_vout )
var_AddCallback
(
p_vout
,
"crop"
,
CropCallback
,
NULL
);
var_Get
(
p_vout
,
"crop"
,
&
old_val
);
if
(
old_val
.
psz_string
&&
*
old_val
.
psz_string
)
var_
Change
(
p_vout
,
"crop"
,
VLC_VAR_TRIGGER_CALLBACKS
,
0
,
0
);
var_
TriggerCallback
(
p_vout
,
"crop"
);
free
(
old_val
.
psz_string
);
/* Monitor pixel aspect-ratio */
...
...
@@ -391,7 +391,7 @@ void vout_IntfInit( vout_thread_t *p_vout )
var_AddCallback
(
p_vout
,
"aspect-ratio"
,
AspectCallback
,
NULL
);
var_Get
(
p_vout
,
"aspect-ratio"
,
&
old_val
);
if
(
(
old_val
.
psz_string
&&
*
old_val
.
psz_string
)
||
b_force_par
)
var_
Change
(
p_vout
,
"aspect-ratio"
,
VLC_VAR_TRIGGER_CALLBACKS
,
0
,
0
);
var_
TriggerCallback
(
p_vout
,
"aspect-ratio"
);
free
(
old_val
.
psz_string
);
/* Initialize the dimensions of the video window */
...
...
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