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
beec7a39
Commit
beec7a39
authored
Jun 24, 2008
by
Antoine Cellerier
Committed by
Jean-Paul Saman
Nov 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slight fix in VLC to XDM chroma conversion code.
Signed-off-by:
Jean-Paul Saman
<
jean-paul.saman@m2x.nl
>
parent
354bc77a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
modules/codec/davinci/davinci.c
modules/codec/davinci/davinci.c
+1
-1
modules/codec/davinci/viddec.c
modules/codec/davinci/viddec.c
+6
-2
modules/codec/davinci/videnc.c
modules/codec/davinci/videnc.c
+1
-1
No files found.
modules/codec/davinci/davinci.c
View file @
beec7a39
...
...
@@ -268,6 +268,6 @@ XDAS_Int32 VlcChromaToXdm( vlc_fourcc_t i_chroma )
#endif
default:
return
0
;
return
XDM_CHROMA_NA
;
}
}
modules/codec/davinci/viddec.c
View file @
beec7a39
...
...
@@ -152,8 +152,12 @@ int OpenVideoDecoder( vlc_object_t *p_this )
params
.
maxBitRate
=
0
;
/* in bits per second */
params
.
dataEndianness
=
XDM_BYTE
;
//LE_32;
params
.
forceChromaFormat
=
VlcChromaToXdm
(
i_chroma
);
/* Or do we want to output directly to XDM_YUV_422ILE as that's what the
* frame buffer likes? */
if
(
params
.
forceChromaFormat
==
XDM_CHROMA_NA
)
{
msg_Err
(
p_dec
,
"Unsupported output chroma (%4.4s)."
,
(
const
char
*
)
&
i_chroma
);
goto
error
;
}
p_sys
->
d
=
VIDDEC_create
(
p_sys
->
e
,
(
String
)
psz_codec
,
&
params
);
if
(
!
p_sys
->
d
)
...
...
modules/codec/davinci/videnc.c
View file @
beec7a39
...
...
@@ -148,7 +148,7 @@ int OpenVideoEncoder( vlc_object_t *p_this )
params
.
dataEndianness
=
XDM_BYTE
;
params
.
maxInterFrameInterval
=
p_enc
->
i_iframes
;
/* FIXME? */
params
.
inputChromaFormat
=
VlcChromaToXdm
(
p_enc
->
fmt_in
.
video
.
i_chroma
);
if
(
!
params
.
inputChromaFormat
)
if
(
params
.
inputChromaFormat
==
XDM_CHROMA_NA
)
{
msg_Err
(
p_enc
,
"Unsupported input chroma (%4.4s)."
,
(
const
char
*
)
&
p_enc
->
fmt_in
.
video
.
i_chroma
);
...
...
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