Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
88937154
Commit
88937154
authored
Oct 23, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed vout-filter change support in qt4.
parent
35e5c857
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+14
-13
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
88937154
...
...
@@ -278,21 +278,14 @@ void ExtVideo::ChangeVFiltersString( const char *psz_name, bool b_add )
char
*
psz_parser
,
*
psz_string
;
const
char
*
psz_filter_type
;
/* FIXME temporary hack */
const
char
*
psz_module_name
=
psz_name
;
if
(
!
strcmp
(
psz_name
,
"wall"
)
||
!
strcmp
(
psz_name
,
"panoramix"
)
||
!
strcmp
(
psz_name
,
"clone"
)
)
psz_module_name
=
"video_filter_wrapper"
;
module_t
*
p_obj
=
module_find
(
psz_module_name
);
module_t
*
p_obj
=
module_find
(
psz_name
);
if
(
!
p_obj
)
{
msg_Err
(
p_intf
,
"Unable to find filter module
\"
%s
\"
."
,
psz_name
);
return
;
}
if
(
module_provides
(
p_obj
,
"video
fil
ter"
)
)
if
(
module_provides
(
p_obj
,
"video
split
ter"
)
)
{
psz_filter_type
=
"vout-filter"
;
}
...
...
@@ -367,11 +360,19 @@ void ExtVideo::ChangeVFiltersString( const char *psz_name, bool b_add )
config_PutPsz
(
p_intf
,
psz_filter_type
,
psz_string
);
/* Try to set on the fly */
p_vout
=
THEMIM
->
getVout
();
if
(
p_vout
)
if
(
!
strcmp
(
psz_filter_type
,
"vout-filter"
)
)
{
var_SetString
(
p_vout
,
psz_filter_type
,
psz_string
);
vlc_object_release
(
p_vout
);
playlist_t
*
p_playlist
=
pl_Get
(
p_intf
);
var_SetString
(
p_playlist
,
psz_filter_type
,
psz_string
);
}
else
{
p_vout
=
THEMIM
->
getVout
();
if
(
p_vout
)
{
var_SetString
(
p_vout
,
psz_filter_type
,
psz_string
);
vlc_object_release
(
p_vout
);
}
}
free
(
psz_string
);
...
...
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