Commit 20b04b9b authored by michael's avatar michael

fix rawvideo


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7899 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fd297b1f
......@@ -1866,6 +1866,10 @@ static int decode_thread(void *arg)
ap->initial_pause = 1; /* we force a pause when starting an RTSP
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);
if (err < 0) {
print_error(is->filename, err);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment