diff libvo/vo_mng.c @ 36517:5d3f93051de9

Remove empty draw_slice and draw_frame stubs. Long term, draw_frame should be removed completely.
author reimar
date Sat, 18 Jan 2014 21:39:07 +0000
parents cc3071a7c057
children
line wrap: on
line diff
--- a/libvo/vo_mng.c	Sat Jan 18 20:41:46 2014 +0000
+++ b/libvo/vo_mng.c	Sat Jan 18 21:39:07 2014 +0000
@@ -38,6 +38,7 @@
 #include <libmng.h>
 
 #include "video_out.h"
+#define NO_DRAW_FRAME
 #include "video_out_internal.h"
 #include "mp_msg.h"
 #include "subopt-helper.h"
@@ -514,18 +515,6 @@
 }
 
 /**
- * @brief put frame data onto canvas (not supported)
- * @return always 1 to indicate error
- */
-static int draw_frame(uint8_t *src[])
-{
-    /* draw_frame() not supported
-     * VFCAP_ACCEPT_STRIDE is set for format
-     * so draw_slice() will be called instead of this function */
-    return 1;
-}
-
-/**
  * @brief deinitialize MNG vo module
  */
 static void uninit(void)