Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
bbb46819
Commit
bbb46819
authored
Apr 17, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbus: Fix GetAspectRatio() crash and add note for SetVideoPosition().
parent
8b4543fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
modules/control/dbus.c
modules/control/dbus.c
+7
-2
No files found.
modules/control/dbus.c
View file @
bbb46819
...
...
@@ -1312,8 +1312,10 @@ DBUS_METHOD( SetVideoPosition )
p_vout
=
input_GetVout
(
p_input
);
if
(
p_vout
)
{
int
i_ret
;
int
i_ret
=
0
;
/* NOTE: this doesn't work when the video output is embedded
* in the main window. Use: vlc --no-embedded
*/
var_SetInteger
(
p_vout
,
"video-x"
,
i_x
);
var_SetInteger
(
p_vout
,
"video-y"
,
i_y
);
i_ret
=
vout_Control
(
p_vout
,
VOUT_SET_POSITION
,
i_x
,
i_y
);
...
...
@@ -1360,6 +1362,9 @@ DBUS_METHOD( GetAspectRatio )
}
pl_Release
(
(
vlc_object_t
*
)
p_this
);
if
(
!
psz_aspect
)
psz_aspect
=
strdup
(
"default"
);
ADD_STRING
(
&
psz_aspect
);
free
(
psz_aspect
);
...
...
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