From 41fbcee1f557c3ddbfefc79b2b1b4719c6442265 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 12 Aug 2012 18:40:21 +0200 Subject: 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. --- mp_core.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'mp_core.h') diff --git a/mp_core.h b/mp_core.h index 466bbfdf04..6d19426295 100644 --- a/mp_core.h +++ b/mp_core.h @@ -214,12 +214,6 @@ typedef struct MPContext { struct screenshot_ctx *screenshot_ctx; -#ifdef CONFIG_DVDNAV - struct mp_image *nav_smpi; ///< last decoded dvdnav video image - unsigned char *nav_buffer; ///< last read dvdnav video frame - unsigned char *nav_start; ///< pointer to last read video buffer - int nav_in_size; ///< last read size -#endif } MPContext; -- cgit v1.2.3