aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-02-09 13:24:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-02-09 13:24:08 +0000
commit7e0429129c897f92b6fbed2d3952e3362c90a3b0 (patch)
treeb7afe045955b3fded0e5e166a4cbe1f5c2992489
parent7c4fd7eb0c8d05041a879c5ad69319d6161a6bd8 (diff)
downloadffmpeg-7e0429129c897f92b6fbed2d3952e3362c90a3b0.tar.gz
fix rawvideo
Originally committed as revision 7899 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffplay.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index feaae38bc1..644ae71eb3 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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);