From 478c8ba2992782b0860ea38d87552ab0108f1050 Mon Sep 17 00:00:00 2001 From: Julien Moutte Date: Fri, 4 Nov 2005 18:28:56 +0000 Subject: ext/directfb/dfbvideosink.*: Now does clipping when surface is too small, handles upstream elements that are not call... Original commit message from CVS: 2005-11-04 Julien MOUTTE * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_surface_create), (gst_dfbvideosink_surface_destroy), (gst_dfbvideosink_get_best_vmode), (gst_dfbvideosink_getcaps), (gst_dfbvideosink_center_rect), (gst_dfbvideosink_show_frame), (gst_dfbvideosink_buffer_alloc): * ext/directfb/dfbvideosink.h: Now does clipping when surface is too small, handles upstream elements that are not calling gst_pad_alloc_buffer, fixes a lot of bugs. --- ext/directfb/dfbvideosink.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/directfb/dfbvideosink.h') diff --git a/ext/directfb/dfbvideosink.h b/ext/directfb/dfbvideosink.h index a485175c..42509775 100644 --- a/ext/directfb/dfbvideosink.h +++ b/ext/directfb/dfbvideosink.h @@ -50,6 +50,8 @@ struct _GstDfbSurface { gint width; gint height; + gboolean locked; + DFBSurfacePixelFormat pixel_format; GstDfbVideoSink *dfbvideosink; -- cgit v1.2.1