mfc: fix left crop change test

It was testing a noop

Coverity 1139643
This commit is contained in:
Vincent Penquerc'h 2014-04-09 11:04:32 +01:00
parent 25d4ca70c9
commit b4d62ce210

View file

@ -784,7 +784,7 @@ gst_mfc_dec_dequeue_output (GstMFCDec * self)
if (!state || self->width != width || self->height != height ||
self->src_stride[0] != src_ystride
|| self->src_stride[1] != src_uvstride
|| self->crop_left != self->crop_left || self->crop_top != crop_top
|| self->crop_left != crop_left || self->crop_top != crop_top
|| self->crop_width != crop_width || self->crop_height != crop_height) {
self->width = width;
self->height = height;