summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-12 18:40:21 +0200
committerwm4 <wm4@nowhere>2012-08-16 17:17:49 +0200
commit41fbcee1f557c3ddbfefc79b2b1b4719c6442265 (patch)
tree6c15b7631ad817a68207d2d04e4969ec0e128a8a /stream/stream_dvdnav.h
parentaebfbbf2bdda8e18beef90c16da97bd335f7d3b0 (diff)
downloadmpv-41fbcee1f557c3ddbfefc79b2b1b4719c6442265.tar.bz2
mpv-41fbcee1f557c3ddbfefc79b2b1b4719c6442265.tar.xz
Remove dvdnav support (DVD menus)
When the internal mplayer MPEG demuxer was removed (commit 1fde09db), the default demuxer when using dvdnav was set to libavformat. Now it turns out that this doesn't work with libavformat. It will terminate playback right after the audio runs out (instead of looping it like the video, or whatever it's supposed to do). I'm not sure what exactly the problem is, but since 1. even mplayer-svn can't handle DVD menus directly (missing highlights), 2. DVD menus are essentially worthless, and 3. I don't directly watch DVDs, don't bother with it and remove it. For basic playback, there's still libdvdread support. Also, use pkg-config for libdvdread, and drop support for in-tree libdvdread. Remove support for in-tree libdvdcss as well.
Diffstat (limited to 'stream/stream_dvdnav.h')
-rw-r--r--stream/stream_dvdnav.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/stream/stream_dvdnav.h b/stream/stream_dvdnav.h
deleted file mode 100644
index f8f50a0123..0000000000
--- a/stream/stream_dvdnav.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * This file is part of MPlayer.
- *
- * MPlayer 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.
- *
- * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef MPLAYER_STREAM_DVDNAV_H
-#define MPLAYER_STREAM_DVDNAV_H
-
-#include <stdint.h>
-#include "stream.h"
-
-typedef struct {
- uint16_t sx, sy;
- uint16_t ex, ey;
- uint32_t palette;
-} nav_highlight_t;
-
-int mp_dvdnav_number_of_subs(stream_t *stream);
-int mp_dvdnav_aid_from_audio_num(stream_t *stream, int audio_num);
-int mp_dvdnav_aid_from_lang(stream_t *stream, char **language);
-int mp_dvdnav_sid_from_lang(stream_t *stream, char **language);
-void mp_dvdnav_handle_input(stream_t *stream, int cmd, int *button);
-void mp_dvdnav_update_mouse_pos(stream_t *stream, int32_t x, int32_t y, int* button);
-void mp_dvdnav_get_highlight (stream_t *stream, nav_highlight_t *hl);
-unsigned int *mp_dvdnav_get_spu_clut(stream_t *stream);
-void mp_dvdnav_switch_title(stream_t *stream, int title);
-int mp_dvdnav_is_eof (stream_t *stream);
-int mp_dvdnav_skip_still (stream_t *stream);
-int mp_dvdnav_skip_wait (stream_t *stream);
-void mp_dvdnav_read_wait (stream_t *stream, int mode, int automode);
-int mp_dvdnav_cell_has_changed (stream_t *stream, int clear);
-int mp_dvdnav_audio_has_changed (stream_t *stream, int clear);
-int mp_dvdnav_spu_has_changed (stream_t *stream, int clear);
-int mp_dvdnav_stream_has_changed (stream_t *stream);
-
-#endif /* MPLAYER_STREAM_DVDNAV_H */