Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
3f50c72a
Commit
3f50c72a
authored
Jan 09, 2011
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly reset pictures created for vout filters.
parent
e2ec60ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/video_output/video_output.c
src/video_output/video_output.c
+3
-1
No files found.
src/video_output/video_output.c
View file @
3f50c72a
...
...
@@ -662,8 +662,10 @@ static picture_t *VoutVideoFilterInteractiveNewPicture(filter_t *filter)
vout_thread_t
*
vout
=
(
vout_thread_t
*
)
filter
->
p_owner
;
picture_t
*
picture
=
picture_pool_Get
(
vout
->
p
->
private_pool
);
if
(
picture
)
if
(
picture
)
{
picture_Reset
(
picture
);
VideoFormatCopyCropAr
(
&
picture
->
format
,
&
filter
->
fmt_out
.
video
);
}
return
picture
;
}
static
picture_t
*
VoutVideoFilterStaticNewPicture
(
filter_t
*
filter
)
...
...
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