From af85be8db56a088a7689baf9f4d1d67c2ee0decf Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 31 May 2003 18:33:28 +0000 Subject: update video out api to allow better frame management (explicit locking) img->displayed is obsolete now, drivers should use img->free. CVS patchset: 4994 CVS date: 2003/05/31 18:33:28 --- src/video_out/video_out_none.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/video_out/video_out_none.c') diff --git a/src/video_out/video_out_none.c b/src/video_out/video_out_none.c index c94c0e8e3..2cb01977b 100644 --- a/src/video_out/video_out_none.c +++ b/src/video_out/video_out_none.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_none.c,v 1.13 2003/03/04 10:30:29 mroi Exp $ + * $Id: video_out_none.c,v 1.14 2003/05/31 18:33:31 miguelfreitas Exp $ * * Was originally part of toxine frontend. * ...but has now been adapted to xine coding style standards ;) @@ -169,7 +169,7 @@ static void none_display_frame(vo_driver_t *vo_driver, vo_frame_t *vo_frame) { /* none_driver_t *driver = (none_driver_t *)vo_driver; */ none_frame_t *frame = (none_frame_t *)vo_frame; - frame->vo_frame.displayed(&frame->vo_frame); + frame->vo_frame.free(&frame->vo_frame); } static int none_get_property(vo_driver_t *vo_driver, int property) { @@ -302,6 +302,6 @@ static vo_info_t vo_info_none = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_OUT, 14, "none", XINE_VERSION_CODE, &vo_info_none, init_class }, + { PLUGIN_VIDEO_OUT, 15, "none", XINE_VERSION_CODE, &vo_info_none, init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; -- cgit v1.2.3