eglglessink: Fix crash at element instantiation

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2012-10-10 12:42:47 -03:00 committed by Sebastian Dröge
parent af009b7de7
commit a317f6936c

View File

@ -222,9 +222,9 @@ struct _GstEglGlesBuffer
*/ */
struct _GstEglGlesSink struct _GstEglGlesSink
{ {
GstVideoSink videosink; /* Element hook */
int par_n, par_d; /* Aspect ratio from caps */ int par_n, par_d; /* Aspect ratio from caps */
GstVideoSink videosink; /* Element hook */
GstVideoFormat format; GstVideoFormat format;
GstVideoRectangle display_region; GstVideoRectangle display_region;
GstCaps *sinkcaps; GstCaps *sinkcaps;