Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
30046622
Commit
30046622
authored
Apr 27, 2002
by
Johan Bilien
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ALL : better FreeBSD detection for VCD input
parent
7eb66813
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
117 additions
and
100 deletions
+117
-100
configure
configure
+104
-90
configure.in
configure.in
+5
-5
include/defs.h.in
include/defs.h.in
+3
-0
plugins/vcd/cdrom_tools.c
plugins/vcd/cdrom_tools.c
+5
-5
No files found.
configure
View file @
30046622
This diff is collapsed.
Click to expand it.
configure.in
View file @
30046622
...
...
@@ -715,7 +715,7 @@ dnl
dnl VCD module
dnl
AC_ARG_ENABLE(vcd,
[ --enable-vcd VCD support for Linux and MacOS X (default enabled)])
[ --enable-vcd VCD support for Linux
, FreeBSD
and MacOS X (default enabled)])
if test x$enable_vcd != xno
then
...
...
@@ -723,10 +723,10 @@ then
PLUGINS="${PLUGINS} vcd"
])
if test "x${SYS}" = "xfreebsd4.5"
then
AC_EGREP_HEADER(ioc_toc_header ,sys/cdio.h,[
PLUGINS="${PLUGINS} vcd"
fi
AC_DEFINE(HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H, 1, For FreeBSD VCD support)
])
if test "x${SYS}" = "xbsdi"
then
...
...
include/defs.h.in
View file @
30046622
...
...
@@ -380,6 +380,9 @@
/* Define if your compiler groks C altivec extensions. */
#undef CAN_COMPILE_C_ALTIVEC
/* For FreeBSD VCD support */
#undef HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H
/* Indicate whether we should use SDL/SDL.h or SDL11/SDL.h */
#undef SDL_INCLUDE_FILE
...
...
plugins/vcd/cdrom_tools.c
View file @
30046622
...
...
@@ -2,7 +2,7 @@
* cdrom_tools.c: cdrom tools
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* $Id: cdrom_tools.c,v 1.
3 2002/04/26 23:32:23
jobi Exp $
* $Id: cdrom_tools.c,v 1.
4 2002/04/27 02:20:32
jobi Exp $
*
* Author: Johan Bilien <jobi@via.ecp.fr>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -49,7 +49,7 @@
# include <IOKit/storage/IOCDTypes.h>
# include <IOKit/storage/IOCDMedia.h>
# include <IOKit/storage/IOCDMediaBSDClient.h>
#elif defined(
SYS_FREEBSD4_5
)
#elif defined(
HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H
)
# include <sys/cdio.h>
# include <sys/cdrio.h>
#else
...
...
@@ -92,7 +92,7 @@ int ioctl_GetTrackCount( int i_fd, const char *psz_dev )
freeTOC
(
pTOC
);
#elif defined(
SYS_FREEBSD4_5
)
#elif defined(
HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H
)
struct
ioc_toc_header
tochdr
;
if
(
ioctl
(
i_fd
,
CDIOREADTOCHEADER
,
&
tochdr
)
==
-
1
)
...
...
@@ -181,7 +181,7 @@ int * ioctl_GetSectors( int i_fd, const char *psz_dev )
freeTOC
(
pTOC
);
#elif defined(
SYS_FREEBSD4_5
)
#elif defined(
HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H
)
struct
ioc_read_toc_entry
toc_entries
;
i_tracks
=
ioctl_GetTrackCount
(
i_fd
,
psz_dev
);
...
...
@@ -285,7 +285,7 @@ int ioctl_ReadSector( int i_fd, int i_sector, byte_t * p_buffer )
return
(
-
1
);
}
#elif defined(
SYS_FREEBSD4_5
)
#elif defined(
HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H
)
int
i_size
=
VCD_SECTOR_SIZE
;
...
...
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