summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-03-21 16:21:01 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-03-21 16:21:01 +0000
commit891fb0a646780b715e4f8d53b49e4615917a13e8 (patch)
treeef2c1525f9d4567bb6083fc305f3b3fc65a9e27b /src/xine-engine/video_out.h
parentbe7a8b70ff25d405dbaa8fc082fc9349f65bf26b (diff)
downloadxine-lib-891fb0a646780b715e4f8d53b49e4615917a13e8.tar.gz
xine-lib-891fb0a646780b715e4f8d53b49e4615917a13e8.tar.bz2
- only draw still frame/logo if needed
- fix syncfb driver CVS patchset: 1605 CVS date: 2002/03/21 16:21:01
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r--src/xine-engine/video_out.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h
index 78147f1c2..58fc2c397 100644
--- a/src/xine-engine/video_out.h
+++ b/src/xine-engine/video_out.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out.h,v 1.50 2002/03/14 13:57:15 miguelfreitas Exp $
+ * $Id: video_out.h,v 1.51 2002/03/21 16:21:02 miguelfreitas Exp $
*
*
* xine version of video_out.h
@@ -259,7 +259,7 @@ struct vo_instance_s {
* from generic vo functions.
*/
-#define VIDEO_OUT_DRIVER_IFACE_VERSION 4
+#define VIDEO_OUT_DRIVER_IFACE_VERSION 5
struct vo_driver_s {
@@ -307,6 +307,12 @@ struct vo_driver_s {
void *data);
void (*exit) (vo_driver_t *this);
+
+ /* check if a redraw is needed (due to resize)
+ * this is only used for still frames, normal video playback
+ * must call that inside display_frame() function.
+ */
+ int (*redraw_needed) (vo_driver_t *this);
};
@@ -354,6 +360,8 @@ struct video_overlay_instance_s {
void (*flush_events) (video_overlay_instance_t *this_gen );
+ int (*redraw_needed) (video_overlay_instance_t *this_gen, int64_t vpts );
+
void (*multiple_overlay_blend) (video_overlay_instance_t *this_gen, int64_t vpts,
vo_driver_t *output, vo_frame_t *vo_img, int enabled);
};