Originally committed as revision 25759 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -230,6 +230,9 @@ static AVFilterBufferRef *get_video_buffer(AVFilterLink *inlink, int perms, int |
| 230 | 230 |
h + (pad->h - pad->in_h)); |
| 231 | 231 |
int plane; |
| 232 | 232 |
|
| 233 |
+ picref->video->w = w; |
|
| 234 |
+ picref->video->h = h; |
|
| 235 |
+ |
|
| 233 | 236 |
for (plane = 0; plane < 4 && picref->data[plane]; plane++) {
|
| 234 | 237 |
int hsub = (plane == 1 || plane == 2) ? pad->hsub : 0; |
| 235 | 238 |
int vsub = (plane == 1 || plane == 2) ? pad->vsub : 0; |