[FFmpeg-devel] [PATCH 4/5] avfilter/src_movie: Fix direct use of r_frame_rate
Michael Niedermayer
michael at niedermayer.cc
Wed Jun 29 21:36:42 CEST 2016
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavfilter/src_movie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c
index 23dcb7b..0c4ef63 100644
--- a/libavfilter/src_movie.c
+++ b/libavfilter/src_movie.c
@@ -394,7 +394,7 @@ static int movie_config_output_props(AVFilterLink *outlink)
case AVMEDIA_TYPE_VIDEO:
outlink->w = c->width;
outlink->h = c->height;
- outlink->frame_rate = st->st->r_frame_rate;
+ outlink->frame_rate = av_stream_get_r_frame_rate(st->st);
break;
case AVMEDIA_TYPE_AUDIO:
break;
--
1.7.9.5
More information about the ffmpeg-devel
mailing list