geometrictransform: Prevent access to the transform map when it is null
authorThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 20 Mar 2012 23:07:11 +0000 (20:07 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 20 Mar 2012 23:11:30 +0000 (20:11 -0300)
commit7dd5b2002abf516ebdf92696c57a9a7692c166e9
tree34c22e510b34880e83220e60b1dee057f654eaf0
parent74471813eb616d4fa0edaab5c7d71ab303f6ef8c
geometrictransform: Prevent access to the transform map when it is null

Check if the map doesn't exist when receiving a new caps and create
a new one. This prevents that the transform functions try to access
the map when it doesn't exist.
gst/geometrictransform/gstgeometrictransform.c