Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
7ccf7f7e
Commit
7ccf7f7e
authored
Mar 04, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DVDnav: require 4.2.1
Ref #6649
parent
02b2b799
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
23 deletions
+1
-23
configure.ac
configure.ac
+1
-14
modules/access/dvdnav.c
modules/access/dvdnav.c
+0
-9
No files found.
configure.ac
View file @
7ccf7f7e
...
...
@@ -1674,20 +1674,7 @@ PKG_ENABLE_MODULES_VLC([DVDREAD], [], [dvdread], [dvdread input module], [auto])
dnl
dnl libdvdnav plugin
dnl
AC_ARG_ENABLE(dvdnav,
[AS_HELP_STRING([--disable-dvdnav],
[disable DVD navigation with libdvdnav (default auto)])])
AS_IF([test "${enable_dvdnav}" != "no"], [
PKG_CHECK_MODULES(DVDNAV, dvdnav, [
VLC_ADD_PLUGIN([dvdnav])
AC_CHECK_LIB(dvdnav, dvdnav_get_video_resolution,
AC_DEFINE(HAVE_DVDNAV_GET_VIDEO_RESOLUTION, 1, [Define if you have dvdnav_get_video_resolution.]),
[], [${LIBS_dvdnav}])
AC_CHECK_LIB(dvdnav, dvdnav_describe_title_chapters,
AC_DEFINE(HAVE_DVDNAV_DESCRIBE_TITLE_CHAPTERS, 1, [Define if you have dvdnav_describe_title_chapters.]),
[], [${LIBS_dvdnav}])],
[AC_MSG_WARN([${DVDNAV_PKG_ERRORS}.])])
])
PKG_ENABLE_MODULES_VLC([DVDNAV], [], [dvdnav >= 4.2.1], [DVD with navigation input module (dvdnav)], [auto])
dnl
dnl Blu-ray Disc Support with libbluray
...
...
modules/access/dvdnav.c
View file @
7ccf7f7e
...
...
@@ -793,7 +793,6 @@ static int Demux( demux_t *p_demux )
tk
->
b_seen
=
false
;
}
#if defined(HAVE_DVDNAV_GET_VIDEO_RESOLUTION)
uint32_t
i_width
,
i_height
;
if
(
dvdnav_get_video_resolution
(
p_sys
->
dvdnav
,
&
i_width
,
&
i_height
)
)
...
...
@@ -813,7 +812,6 @@ static int Demux( demux_t *p_demux )
p_sys
->
sar
.
i_den
=
0
;
break
;
}
#endif
if
(
dvdnav_current_title_info
(
p_sys
->
dvdnav
,
&
i_title
,
&
i_part
)
==
DVDNAV_STATUS_OK
)
...
...
@@ -1045,7 +1043,6 @@ static void DemuxTitles( demux_t *p_demux )
uint64_t
i_title_length
;
uint64_t
*
p_chapters_time
;
#if defined(HAVE_DVDNAV_DESCRIBE_TITLE_CHAPTERS)
i_chapters
=
dvdnav_describe_title_chapters
(
p_sys
->
dvdnav
,
i
,
&
p_chapters_time
,
&
i_title_length
);
...
...
@@ -1054,12 +1051,6 @@ static void DemuxTitles( demux_t *p_demux )
i_title_length
=
0
;
p_chapters_time
=
NULL
;
}
#else
if
(
dvdnav_get_number_of_parts
(
p_sys
->
dvdnav
,
i
,
&
i_chapters
)
!=
DVDNAV_STATUS_OK
)
i_chapters
=
0
;
i_title_length
=
0
;
p_chapters_time
=
NULL
;
#endif
t
=
vlc_input_title_New
();
t
->
i_length
=
i_title_length
*
1000
/
90
;
for
(
int
j
=
0
;
j
<
__MAX
(
i_chapters
,
1
);
j
++
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment