summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r--src/xine-engine/video_out.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h
index 03c68a7ca..2f14a5e9c 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.17 2001/08/17 15:54:31 ehasenle Exp $
+ * $Id: video_out.h,v 1.18 2001/09/12 19:50:41 guenter Exp $
*
*
* xine version of video_out.h
@@ -64,6 +64,10 @@ struct vo_frame_s {
uint8_t *base[3];
int nType; /* I, B or P frame */
+ /* additional information to be able to duplicate frames: */
+ int width, height;
+ int ratio, format, duration;
+
int bDisplayLock, bDecoderLock, bDriverLock;
pthread_mutex_t mutex; /* so the various locks will be serialized */
@@ -124,6 +128,8 @@ struct vo_instance_s {
uint32_t height, int ratio_code,
int format, uint32_t duration,
int flags);
+
+ vo_frame_t* (*get_last_frame) (vo_instance_t *this);
/* overlay stuff */
void (*register_ovl_src) (vo_instance_t *this, ovl_src_t *ovl_src);
@@ -144,6 +150,8 @@ struct vo_instance_s {
img_buf_fifo_t *free_img_buf_queue;
img_buf_fifo_t *display_img_buf_queue;
+ vo_frame_t *last_frame;
+
int video_loop_running;
pthread_t video_thread;