Commit 93a3f58b authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Jean-Baptiste Kempf

vpx: update video resolution if it changes mid-stream.

Fixes playback of e.g. vp90-2-05-resize.ivf in conformance collection.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 1a7fbb33
......@@ -216,8 +216,8 @@ static int Decode(decoder_t *dec, block_t *block)
video_format_t *v = &dec->;
if (img->d_w != v->i_visible_width || img->d_h != v->i_visible_height) {
v->i_visible_width = img->d_w;
v->i_visible_height = img->d_h;
v->i_visible_width = dec-> = img->d_w;
v->i_visible_height = dec-> = img->d_h;
if( !dec-> || !dec-> )
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