mpeg2dec: do not reset the whole video info when setting size
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 17 Jan 2014 10:46:50 +0000 (10:46 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 4 Apr 2014 09:58:50 +0000 (10:58 +0100)
commit6b887060b1d6eadf5ea47a17cb9dfd62050609b7
tree5c631356566ae0a1f66c1d4570a6991644f8c015
parentfffcbfc1277a4cc05670f7ae43e70736210ea17d
mpeg2dec: do not reset the whole video info when setting size

New changes to gstvideo will reset all the video info state
when calling _set_format, overwriting what was previously set
in the preceding code.

The comment says the following code is meant to preserve the
pre-crop size, so let's just keep the size and related data
 as this does not seem to break anything else (this is what
the _set_format call would have set before the change that
reset all data, except the colorimetry).
ext/mpeg2dec/gstmpeg2dec.c