theoradec: Fix decoding in the presence of GstVideoCropMeta
authorJan Schmidt <jan@centricular.com>
Sat, 31 Jan 2015 16:39:07 +0000 (03:39 +1100)
committerJan Schmidt <jan@centricular.com>
Thu, 12 Mar 2015 11:38:37 +0000 (22:38 +1100)
commit9a541157cf1c0c6ac19b6fc9f7b3d42d034f4e12
treeac962c39175393dc8b32d7a3e5bea261198d8a65
parent1942870257747290c0d64a09e1a0d25bd296f8c6
theoradec: Fix decoding in the presence of GstVideoCropMeta

Store the video info of the internal frame decode width/height
separate to the exposed (cropped) frame info, so that it can be
used for mapping the downstream allocated video frame buffer correctly
when using GstVideoCropMeta.

Fixes playback of files with sizes that aren't a multiple of 16-pixels
width or height.

https://bugzilla.gnome.org/show_bug.cgi?id=741030
ext/theora/gsttheoradec.c
ext/theora/gsttheoradec.h