git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
75813fc
)
Fixed frame rate output value.
author
Laurent Aimar
<fenrir@videolan.org>
Sun, 14 Dec 2008 15:37:09 +0000
(16:37 +0100)
committer
Laurent Aimar
<fenrir@videolan.org>
Sun, 14 Dec 2008 15:39:08 +0000
(16:39 +0100)
modules/codec/avcodec/video.c
patch
|
blob
|
history
diff --git
a/modules/codec/avcodec/video.c
b/modules/codec/avcodec/video.c
index
fffa754
..
fe44dd5
100644
(file)
--- a/
modules/codec/avcodec/video.c
+++ b/
modules/codec/avcodec/video.c
@@
-151,8
+151,8
@@
static inline picture_t *ffmpeg_NewPictBuf( decoder_t *p_dec,
}
}
- if( p_dec->fmt_
out
.video.i_frame_rate > 0 &&
- p_dec->fmt_
out
.video.i_frame_rate_base > 0 )
+ if( p_dec->fmt_
in
.video.i_frame_rate > 0 &&
+ p_dec->fmt_
in
.video.i_frame_rate_base > 0 )
{
p_dec->fmt_out.video.i_frame_rate =
p_dec->fmt_in.video.i_frame_rate;