diff options
| author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-05-16 15:32:03 +0000 |
|---|---|---|
| committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-05-16 15:32:03 +0000 |
| commit | 7123b57cd37715baec8db83e1eec5d100443cab5 (patch) | |
| tree | 8fccaeef9c55002d99a7612817033273df4dae39 /src/xine-engine | |
| parent | 00d21a2b2994e685bc7ae4eb19186ad9c01de359 (diff) | |
| download | xine-lib-7123b57cd37715baec8db83e1eec5d100443cab5.tar.gz xine-lib-7123b57cd37715baec8db83e1eec5d100443cab5.tar.bz2 | |
finished video window realted code removal
CVS patchset: 73
CVS date: 2001/05/16 15:32:03
Diffstat (limited to 'src/xine-engine')
| -rw-r--r-- | src/xine-engine/video_out.c | 39 | ||||
| -rw-r--r-- | src/xine-engine/xine.c | 88 |
2 files changed, 3 insertions, 124 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index c13fbf16d..b42660434 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.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.c,v 1.3 2001/05/03 22:20:45 f1rmb Exp $ + * $Id: video_out.c,v 1.4 2001/05/16 15:32:04 guenter Exp $ * */ @@ -28,6 +28,7 @@ #include <signal.h> #include <sys/time.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include "video_out.h" @@ -249,7 +250,6 @@ static void vo_open (vo_instance_t *this) { if (!this->video_loop_running) { this->video_loop_running = 1; - this->driver->set_logo_mode (this->driver, 0); pthread_create (&this->video_thread, NULL, video_out_loop, this) ; } else printf ("video_out: vo_open : warning! video thread already running\n"); @@ -292,8 +292,6 @@ static void vo_close (vo_instance_t *this) { this->video_loop_running = 0; pthread_join (this->video_thread, &p); } - - this->driver->set_logo_mode (this->driver, 1); } static void vo_free_img_buffers (vo_instance_t *this) { @@ -319,33 +317,6 @@ static void vo_exit (vo_instance_t *this) { } -static void *vo_get_window(vo_instance_t *this) { - return this->driver->get_window (this->driver); -} - -static uint32_t vo_get_capabilities (vo_instance_t *this) { - return this->driver->get_capabilities (this->driver); -} - -static int vo_get_property (vo_instance_t *this, int property) { - return this->driver->get_property (this->driver, property); -} - -static int vo_set_property (vo_instance_t *this, int property, - int value) { - return this->driver->set_property (this->driver, property, value); -} - -static void vo_get_property_min_max (vo_instance_t *this, - int property, - int *min, int *max) { - this->driver->get_property_min_max (this->driver, property, min, max); -} - -static void vo_handle_event (vo_instance_t *this, void *event) { - this->driver->handle_event (this->driver, event); -} - static void vo_frame_displayed (vo_frame_t *img) { pthread_mutex_lock (&img->mutex); @@ -445,16 +416,10 @@ vo_instance_t *vo_new_instance (vo_driver_t *driver, metronom_t *metronom) { this->driver = driver; this->metronom = metronom; - this->get_capabilities = vo_get_capabilities; this->open = vo_open; this->get_frame = vo_get_frame; this->close = vo_close; this->exit = vo_exit; - this->get_window = vo_get_window; - this->get_property = vo_get_property; - this->set_property = vo_set_property; - this->get_property_min_max = vo_get_property_min_max; - this->handle_event = vo_handle_event; this->num_frames_delivered = 0; this->num_frames_skipped = 0; diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 06586e223..20b9fe195 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.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: xine.c,v 1.15 2001/05/07 01:31:44 f1rmb Exp $ + * $Id: xine.c,v 1.16 2001/05/16 15:32:04 guenter Exp $ * * top-level xine functions * @@ -531,89 +531,3 @@ int xine_get_status(xine_t *this) { return this->status; } -uint32_t xine_get_window_capabilities(xine_t *this) { - - return (this->video_out->get_capabilities(this->video_out)); -} -/* - * - */ -void *xine_get_window_output(xine_t *this) { - - return (this->video_out->get_window(this->video_out)); -} - -/* - * - */ -int xine_get_window_property(xine_t *this, int property) { - - return (this->video_out->get_property(this->video_out, property)); -} - -/* - * - */ -int xine_set_window_property(xine_t *this, int property, int value) { - - return (this->video_out->set_property(this->video_out, property, value)); -} - -/* - * - */ -void xine_get_window_property_min_max(xine_t *this, - int property, int *min, int *max) { - - this->video_out->get_property_min_max(this->video_out, property, min, max); -} - -/* - * - */ -void xine_window_handle_event(xine_t *this, void *event) { - - this->video_out->handle_event(this->video_out, event); -} - -/* - * - */ -void xine_set_window_fullscreen(xine_t *this, int fullscreen) { - - xine_set_window_property(this, VO_PROP_FULLSCREEN, fullscreen); -} - -/* - * - */ -int xine_get_window_fullscreen(xine_t *this) { - - return (xine_get_window_property(this, VO_PROP_FULLSCREEN)); -} - -/* - * - */ -void xine_set_window_visible(xine_t *this, int visible) { - - xine_set_window_property(this, VO_PROP_WINDOW_VISIBLE, visible); -} - -/* - * - */ -int xine_get_window_visible(xine_t *this) { - - return (xine_get_window_property(this, VO_PROP_WINDOW_VISIBLE)); -} - -void xine_set_display_cursor(xine_t *this, int show) { - - xine_set_window_property(this, VO_PROP_CURSOR_VISIBLE, show); -} - -int xine_get_display_cursor(xine_t *this) { - - return (xine_get_window_property(this, VO_PROP_CURSOR_VISIBLE)); -} |
