提交 7e042912 编写于 作者: M Michael Niedermayer

fix rawvideo

Originally committed as revision 7899 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 7c4fd7eb
...@@ -1866,6 +1866,10 @@ static int decode_thread(void *arg) ...@@ -1866,6 +1866,10 @@ static int decode_thread(void *arg)
ap->initial_pause = 1; /* we force a pause when starting an RTSP ap->initial_pause = 1; /* we force a pause when starting an RTSP
stream */ stream */
ap->width = screen_width;
ap->height= screen_height;
ap->time_base= (AVRational){1, 25};
err = av_open_input_file(&ic, is->filename, is->iformat, 0, ap); err = av_open_input_file(&ic, is->filename, is->iformat, 0, ap);
if (err < 0) { if (err < 0) {
print_error(is->filename, err); print_error(is->filename, err);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册