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
d5663484
Commit
d5663484
authored
Sep 22, 2008
by
Rafaël Carré
Committed by
Jean-Paul Saman
Nov 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix decoding when size not specified
Signed-off-by:
Jean-Paul Saman
<
jean-paul.saman@m2x.nl
>
parent
c9326836
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/codec/davinci/viddec.c
modules/codec/davinci/viddec.c
+3
-2
No files found.
modules/codec/davinci/viddec.c
View file @
d5663484
...
@@ -160,8 +160,9 @@ int OpenVideoDecoder( vlc_object_t *p_this )
...
@@ -160,8 +160,9 @@ int OpenVideoDecoder( vlc_object_t *p_this )
/* Create video decoder */
/* Create video decoder */
params
.
size
=
sizeof
(
VIDDEC_Params
);
params
.
size
=
sizeof
(
VIDDEC_Params
);
params
.
maxHeight
=
p_dec
->
fmt_in
.
video
.
i_height
?:
720
;
/* TODO change the params when HD codecs are available */
params
.
maxWidth
=
p_dec
->
fmt_in
.
video
.
i_width
?:
1280
;
params
.
maxHeight
=
p_dec
->
fmt_in
.
video
.
i_height
?:
576
/*720*/
;
params
.
maxWidth
=
p_dec
->
fmt_in
.
video
.
i_width
?:
720
/*1280*/
;
/* The application should set the parameters to 0 to use the algorithm's default values. */
/* The application should set the parameters to 0 to use the algorithm's default values. */
params
.
maxFrameRate
=
0
;
params
.
maxFrameRate
=
0
;
params
.
maxBitRate
=
0
;
params
.
maxBitRate
=
0
;
...
...
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