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
df89b213
Commit
df89b213
authored
Feb 17, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Qt4 interface to use the new postprocess vout variable.
parent
96b19872
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
28 deletions
+3
-28
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+3
-28
No files found.
modules/gui/qt4/menus.cpp
View file @
df89b213
...
...
@@ -208,31 +208,7 @@ static int VideoAutoMenuBuilder( vout_thread_t *p_object,
PUSH_VAR
(
"aspect-ratio"
);
PUSH_VAR
(
"crop"
);
PUSH_VAR
(
"deinterlace"
);
/* Special case for postproc */
// FIXME
if
(
p_object
)
{
/* p_object is the vout, so the decoder is our parent and the
* postproc filter one of the decoder's children */
vlc_object_t
*
p_dec
=
(
vlc_object_t
*
)
vlc_object_find
(
p_object
,
VLC_OBJECT_DECODER
,
FIND_PARENT
);
if
(
p_dec
)
{
vlc_object_t
*
p_pp
=
(
vlc_object_t
*
)
vlc_object_find_name
(
p_dec
,
"postproc"
,
FIND_CHILD
);
if
(
p_pp
)
{
vlc_object_t
*
p_object
=
p_pp
;
PUSH_VAR
(
"postproc-q"
);
vlc_object_release
(
p_pp
);
}
vlc_object_release
(
p_dec
);
}
}
PUSH_VAR
(
"postprocess"
);
return
VLC_SUCCESS
;
}
...
...
@@ -582,7 +558,7 @@ QMenu *QVLCMenu::VideoMenu( intf_thread_t *p_intf, QMenu *current )
ACT_ADDMENU
(
current
,
"aspect-ratio"
,
qtr
(
"&Aspect Ratio"
)
);
ACT_ADDMENU
(
current
,
"crop"
,
qtr
(
"&Crop"
)
);
ACT_ADDMENU
(
current
,
"deinterlace"
,
qtr
(
"&Deinterlace"
)
);
ACT_ADDMENU
(
current
,
"postproc
-q
"
,
qtr
(
"&Post processing"
)
);
ACT_ADDMENU
(
current
,
"postproc
ess
"
,
qtr
(
"&Post processing"
)
);
}
p_input
=
THEMIM
->
getInput
();
...
...
@@ -1125,8 +1101,7 @@ void QVLCMenu::UpdateItem( intf_thread_t *p_intf, QMenu *menu,
/* Check the type of the object variable */
/* What is the following HACK needed for? */
if
(
!
strcmp
(
psz_var
,
"audio-es"
)
||
!
strcmp
(
psz_var
,
"video-es"
)
||
!
strcmp
(
psz_var
,
"postproc-q"
)
)
||
!
strcmp
(
psz_var
,
"video-es"
)
)
i_type
=
VLC_VAR_INTEGER
|
VLC_VAR_HASCHOICE
;
else
i_type
=
var_Type
(
p_object
,
psz_var
);
...
...
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