diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-06 01:33:00 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-06 01:33:00 +0000 |
commit | 594b7874bd2b2088bbf75fa188e1aa23add1cfb6 (patch) | |
tree | 9356f9c5eccd95ca8f85e1eb9fe443675fb277db /src/video_out/video_out_xshm.c | |
parent | a098e19a0babfbc00307359e9d5f545177b52c7a (diff) | |
download | xine-lib-594b7874bd2b2088bbf75fa188e1aa23add1cfb6.tar.gz xine-lib-594b7874bd2b2088bbf75fa188e1aa23add1cfb6.tar.bz2 |
- update api version, adding new "copy_called" flag.
CVS patchset: 3434
CVS date: 2002/12/06 01:33:00
Diffstat (limited to 'src/video_out/video_out_xshm.c')
-rw-r--r-- | src/video_out/video_out_xshm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c index 699451138..638032fd4 100644 --- a/src/video_out/video_out_xshm.c +++ b/src/video_out/video_out_xshm.c @@ -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_xshm.c,v 1.96 2002/11/22 18:06:22 mroi Exp $ + * $Id: video_out_xshm.c,v 1.97 2002/12/06 01:33:01 miguelfreitas Exp $ * * video_out_xshm.c, X11 shared memory extension interface for xine * @@ -308,6 +308,8 @@ static void xshm_frame_copy (vo_frame_t *vo_img, uint8_t **src) { xshm_frame_t *frame = (xshm_frame_t *) vo_img ; /*xshm_driver_t *this = (xshm_driver_t *) vo_img->driver; */ + vo_img->copy_called = 1; + if ((char *) frame->rgb_dst + frame->stripe_inc > (char *) frame->image->data + frame->image->bytes_per_line * frame->image->height) { /* frame->rgb_dst can walk off the end of the frame's image data when @@ -1265,6 +1267,6 @@ static vo_info_t vo_info_xshm = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_OUT, 12, "xshm", XINE_VERSION_CODE, &vo_info_xshm, xshm_init_class }, + { PLUGIN_VIDEO_OUT, 13, "xshm", XINE_VERSION_CODE, &vo_info_xshm, xshm_init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |