summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/xine.h.in44
-rw-r--r--src/xine-engine/Makefile.am2
-rw-r--r--src/xine-engine/tvmode.c65
3 files changed, 1 insertions, 110 deletions
diff --git a/include/xine.h.in b/include/xine.h.in
index d342dec0a..1d54035fe 100644
--- a/include/xine.h.in
+++ b/include/xine.h.in
@@ -2087,50 +2087,6 @@ void xine_osd_set_palette (xine_osd_t *self,
*/
void xine_osd_free (xine_osd_t *self) XINE_PROTECTED;
-
-#ifndef XINE_DISABLE_DEPRECATED_FEATURES
-
-/*********************************************************************
- * TV-mode API, to make it possible to use nvtvd to view movies *
- *********************************************************************/
-
-/* These functions are just dummies to maintain API compatibility.
- * You should use libnvtvsimple in your frontend instead. */
-
-typedef enum {
- XINE_TVSYSTEM_PAL = 0,
- XINE_TVSYSTEM_NTSC
-} xine_tvsystem;
-
-/* connect to nvtvd server and save current TV and X settings */
-int xine_tvmode_init (xine_t *self) XINE_PROTECTED;
-
-/* Turn tvmode on/off (1/0)*/
-int xine_tvmode_use(xine_t *self, int use_tvmode) XINE_PROTECTED;
-
-/* Set which tv system to use: XINE_TVSYSTEM_PAL or XINE_TVSYSTEM_NTSC */
-void xine_tvmode_set_tvsystem(xine_t *self, xine_tvsystem system) XINE_PROTECTED;
-
-/* try to change TV state if enabled
- * type select 'regular' (0) or 'TV' (1) state
- * width frame width the mode should match best or 0 if unknown
- * height frame height the mode should match best or 0 if unknown
- * fps frame rate the mode should match best or 0 if unknown
- * returns: finally selected state
- */
-int xine_tvmode_switch (xine_t *self, int type, int width, int height, double fps) XINE_PROTECTED;
-
-/* adapt (maximum) output size to visible area if necessary and return pixel
- * aspect and real frame rate if available
- */
-void xine_tvmode_size (xine_t *self, int *width, int *height,
- double *pixelratio, double *fps) XINE_PROTECTED;
-
-/* restore old TV and X settings and close nvtvd connection */
-void xine_tvmode_exit (xine_t *self) XINE_PROTECTED;
-
-#endif
-
#ifdef __cplusplus
}
#endif
diff --git a/src/xine-engine/Makefile.am b/src/xine-engine/Makefile.am
index 36c48a3c9..b90bd0ee9 100644
--- a/src/xine-engine/Makefile.am
+++ b/src/xine-engine/Makefile.am
@@ -28,7 +28,7 @@ libxine_la_SOURCES = xine.c metronom.c configfile.c buffer.c \
load_plugins.c video_decoder.c buffer_types.c \
audio_decoder.c video_out.c audio_out.c resample.c events.c \
video_overlay.c osd.c spu.c scratch.c demux.c vo_scale.c \
- xine_interface.c post.c tvmode.c broadcaster.c io_helper.c \
+ xine_interface.c post.c broadcaster.c io_helper.c \
input_rip.c input_cache.c info_helper.c refcounter.c \
alphablend.c
diff --git a/src/xine-engine/tvmode.c b/src/xine-engine/tvmode.c
deleted file mode 100644
index 099bdb808..000000000
--- a/src/xine-engine/tvmode.c
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright (C) 2000-2003 the xine project
- *
- * This file is part of xine, a free video player.
- *
- * xine is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * xine is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
- *
- * tvmode - TV output selection
- *
- * Currently uses nvtvd (Dirk Thierbach <dthierbach@gmx.de>)
- * for setting TV mode
- * xine support hacked in by Matthias Hopf <mat@mshopf.de>
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
-
-#include "xine_internal.h"
-#include "xineutils.h"
-
-/* nvtv support is deprecated (and will be removed)
- * these dummy functions are only here to prevent serious breakage
- * until front ends are updated.
- */
-
-int xine_tvmode_switch (xine_t *this, int type, int width, int height, double fps) {
- /* not supported: return regular mode */
- return 0;
-}
-
-void xine_tvmode_size (xine_t *this, int *width, int *height,
- double *pixelratio, double *fps) {
-}
-
-int xine_tvmode_init (xine_t *this) {
- return 0;
-}
-
-void xine_tvmode_exit (xine_t *this) {
-}
-
-void xine_tvmode_set_tvsystem(xine_t *self, xine_tvsystem system) {
-}
-
-int xine_tvmode_use(xine_t *self, int use_tvmode) {
- return 0;
-}