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
aaef11b8
Commit
aaef11b8
authored
Oct 26, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Swscale: init the pf_video_filter after possible fails
parent
de52f56a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/video_chroma/swscale.c
modules/video_chroma/swscale.c
+3
-2
No files found.
modules/video_chroma/swscale.c
View file @
aaef11b8
...
...
@@ -152,8 +152,6 @@ static int OpenScaler( vlc_object_t *p_this )
&
p_filter
->
fmt_out
.
video
,
0
)
)
return
VLC_EGENERIC
;
/* */
p_filter
->
pf_video_filter
=
Filter
;
/* Allocate the memory needed to store the decoder's structure */
if
(
(
p_filter
->
p_sys
=
p_sys
=
calloc
(
1
,
sizeof
(
filter_sys_t
))
)
==
NULL
)
return
VLC_ENOMEM
;
...
...
@@ -191,6 +189,9 @@ static int OpenScaler( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
/* */
p_filter
->
pf_video_filter
=
Filter
;
msg_Dbg
(
p_filter
,
"%ix%i (%ix%i) chroma: %4.4s -> %ix%i (%ix%i) chroma: %4.4s with scaling using %s"
,
p_filter
->
fmt_in
.
video
.
i_visible_width
,
p_filter
->
fmt_in
.
video
.
i_visible_height
,
p_filter
->
fmt_in
.
video
.
i_width
,
p_filter
->
fmt_in
.
video
.
i_height
,
...
...
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