Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
222b5fac
Commit
222b5fac
authored
May 01, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed "stats" decoder output format.
parent
a000d218
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
modules/misc/stats/decoder.c
modules/misc/stats/decoder.c
+6
-5
No files found.
modules/misc/stats/decoder.c
View file @
222b5fac
...
...
@@ -53,6 +53,12 @@ int OpenDecoder ( vlc_object_t *p_this )
p_dec
->
pf_decode_audio
=
NULL
;
p_dec
->
pf_decode_sub
=
NULL
;
/* */
es_format_Init
(
&
p_dec
->
fmt_out
,
VIDEO_ES
,
VLC_FOURCC
(
'I'
,
'4'
,
'2'
,
'0'
)
);
p_dec
->
fmt_out
.
video
.
i_width
=
100
;
p_dec
->
fmt_out
.
video
.
i_height
=
100
;
p_dec
->
fmt_out
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
;
return
VLC_SUCCESS
;
}
...
...
@@ -67,11 +73,6 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
if
(
!
pp_block
||
!*
pp_block
)
return
NULL
;
p_block
=
*
pp_block
;
p_dec
->
fmt_out
.
video
.
i_width
=
100
;
p_dec
->
fmt_out
.
video
.
i_height
=
100
;
p_dec
->
fmt_out
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
;
p_dec
->
fmt_out
.
i_codec
=
VLC_FOURCC
(
'I'
,
'4'
,
'2'
,
'0'
);
p_pic
=
decoder_NewPicture
(
p_dec
);
if
(
p_block
->
i_buffer
==
kBufferSize
)
...
...
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