v4l2: Fix undefined reference error when libv4l2 is not used
[platform/upstream/gst-plugins-good.git] / ext / gdk_pixbuf / gstgdkpixbufsink.h
index 5708d49..964437a 100644 (file)
  *
  * You should have received a copy of the GNU Library General Public
  * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
  */
 
 #ifndef GST_GDK_PIXBUF_SINK_H
 #define GST_GDK_PIXBUF_SINK_H
 
 #include <gst/gst.h>
-
+#include <gst/video/video.h>
 #include <gst/video/gstvideosink.h>
 
 #include <gdk-pixbuf/gdk-pixbuf.h>
@@ -47,15 +47,15 @@ struct _GstGdkPixbufSink
   /*< private >*/
 
   /* current caps */
+  GstVideoInfo info;
   gint         width;
   gint         height;
-  gint         rowstride;
   gint         par_n;
   gint         par_d;
   gboolean     has_alpha;
 
   /* properties */
-  gboolean     send_messages;
+  gboolean     post_messages;
   GdkPixbuf  * last_pixbuf;
 };