Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
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