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
be47b399
Commit
be47b399
authored
Aug 13, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: restart filter when options can't be applied
Close #5168
parent
775d5757
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+9
-8
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
be47b399
...
...
@@ -567,14 +567,6 @@ void ExtVideo::updateFilterOptions()
b_is_command
=
(
i_type
&
VLC_VAR_ISCOMMAND
);
}
if
(
!
b_is_command
)
{
msg_Warn
(
p_intf
,
"Module %s's %s variable isn't a command. You'll need to restart the filter to take change into account."
,
qtu
(
module
),
qtu
(
option
)
);
/* FIXME: restart automatically somewhere near the end of this function */
}
/* Try to cast to all the widgets we're likely to encounter. Only
* one of the casts is expected to work. */
QSlider
*
slider
=
qobject_cast
<
QSlider
*>
(
sender
()
);
...
...
@@ -637,6 +629,15 @@ void ExtVideo::updateFilterOptions()
qtu
(
option
),
i_type
);
if
(
!
b_is_command
)
{
msg_Warn
(
p_intf
,
"Module %s's %s variable isn't a command. Brute-restarting the filter."
,
qtu
(
module
),
qtu
(
option
)
);
ChangeVFiltersString
(
p_intf
,
qtu
(
module
),
false
);
ChangeVFiltersString
(
p_intf
,
qtu
(
module
),
true
);
}
if
(
p_obj
)
vlc_object_release
(
p_obj
);
}
...
...
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