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
171934ab
Commit
171934ab
authored
Jul 21, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a memory leak in aspect-ratio/crop/zoom/deinterlace hotkeys.
parent
24e7b2dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/control/hotkeys.c
modules/control/hotkeys.c
+8
-0
No files found.
modules/control/hotkeys.c
View file @
171934ab
...
...
@@ -568,6 +568,8 @@ static void Run( intf_thread_t *p_intf )
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Aspect ratio: %s"
),
text_list
.
p_list
->
p_values
[
i
].
psz_string
);
var_Change
(
p_vout
,
"aspect-ratio"
,
VLC_VAR_FREELIST
,
&
val_list
,
&
text_list
);
}
free
(
val
.
psz_string
);
}
...
...
@@ -594,6 +596,8 @@ static void Run( intf_thread_t *p_intf )
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Crop: %s"
),
text_list
.
p_list
->
p_values
[
i
].
psz_string
);
var_Change
(
p_vout
,
"crop"
,
VLC_VAR_FREELIST
,
&
val_list
,
&
text_list
);
}
free
(
val
.
psz_string
);
}
...
...
@@ -620,6 +624,8 @@ static void Run( intf_thread_t *p_intf )
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Deinterlace mode: %s"
),
text_list
.
p_list
->
p_values
[
i
].
psz_string
);
var_Change
(
p_vout
,
"deinterlace"
,
VLC_VAR_FREELIST
,
&
val_list
,
&
text_list
);
}
free
(
val
.
psz_string
);
}
...
...
@@ -650,6 +656,8 @@ static void Run( intf_thread_t *p_intf )
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Zoom mode: %s"
),
text_list
.
p_list
->
p_values
[
i
].
var
.
psz_name
);
var_Change
(
p_vout
,
"zoom"
,
VLC_VAR_FREELIST
,
&
val_list
,
&
text_list
);
}
}
else
if
(
i_action
==
ACTIONID_CROP_TOP
&&
p_vout
)
...
...
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