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
36e88eb4
Commit
36e88eb4
authored
Dec 30, 2001
by
Stéphane Borel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*Some fixes for dvdread plugin.
It compiles but doesn't work yet.
parent
cc0f0bb6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
114 additions
and
78 deletions
+114
-78
extras/libdvdread/Makefile
extras/libdvdread/Makefile
+28
-38
plugins/dvdread/dvdread.c
plugins/dvdread/dvdread.c
+7
-7
plugins/dvdread/input_dvdread.c
plugins/dvdread/input_dvdread.c
+79
-33
No files found.
extras/libdvdread/Makefile
View file @
36e88eb4
...
...
@@ -16,33 +16,22 @@ ALL_SOFLAGS := $(SOFLAGS)$(MAJOR_SO)
SOFLAGS
:=
endif
#
# C headers directories
#
CFLAGS
:=
-I
../../include
-I
../../extras
$(CFLAGS)
#
# Objects
#
OBJ_C
=
dvdread.o dvd_udf.o nav_print.o nav_read.o ifo_print.o ifo_read.o
ALL_OBJ
=
$(OBJ_C)
$(OBJ_LIBDVDREAD)
PLUGIN_OBJ
=
$(OBJ_C)
$(OBJ_LIBDVDREAD)
BUILTIN_OBJ
=
$(OBJ_C:%.o=DVDREAD_%.o)
ALL_OBJ
=
$(PLUGIN_OBJ)
$(BUILTIN_OBJ)
$(OBJ_C)
:
%.o: .dep/%.d
$(OBJ_C)
:
%.o: %.c
$(CC)
$(CFLAGS)
$(CFLAGS_LIBDVDREAD)
$(PCFLAGS)
-c
-o
$@
$<
$(BUILTIN_OBJ)
:
DVDREAD_%.o: .dep/%.d
$(BUILTIN_OBJ)
:
DVDREAD_%.o: %.c
$(CC)
$(CFLAGS)
$(CFLAGS_LIBDVDREAD)
$(PCFLAGS)
-c
-o
$@
$<
../../lib/$(FULL_SO)
:
$(OBJ_C) $(OBJ_LIBDVDREAD)
$(CC)
$(PCFLAGS)
$(ALL_SOFLAGS)
-o
$@
$^
$(PLCFLAGS)
$(LIB_LIBDVDREAD)
rm
-f
../../lib/
$(BASE_SO)
&&
ln
-s
$(FULL_SO)
../../lib/
$(BASE_SO)
rm
-f
../../lib/
$(MAJOR_SO)
&&
ln
-s
$(FULL_SO)
../../lib/
$(MAJOR_SO)
../../lib/$(BASE_A)
:
libdvdcss $(BUILTIN_OBJ) $(OBJ_LIBDVDREAD)
ar r
$@
$(BUILTIN_OBJ)
$(RANLIB)
$@
#
# Standard dependencies
#
C_DEP
:=
$
(
ALL_OBJ:%.o
=
.dep/%.d
)
#
# Virtual targets
...
...
@@ -54,22 +43,23 @@ clean:
rm
-f
*
.o
rm
-rf
.dep
libdvdcss
:
@
cd
../../
&&
$(MAKE)
libdvdcss
FORCE
:
#install:
# mkdir -p $(DESTDIR)$(includedir)/videolan
# $(INSTALL) -m 644 videolan/dvdcss.h $(DESTDIR)$(includedir)/videolan
# mkdir -p $(DESTDIR)$(libdir)
# -$(INSTALL) -m 644 ../../lib/$(BASE_A) $(DESTDIR)$(libdir)
# -$(INSTALL) -m 644 ../../lib/$(FULL_SO) $(DESTDIR)$(libdir)
# rm -f $(DESTDIR)$(libdir)/$(BASE_SO) && ln -s $(FULL_SO) $(DESTDIR)$(libdir)/$(BASE_SO)
# rm -f $(DESTDIR)$(libdir)/$(MAJOR_SO) && ln -s $(FULL_SO) $(DESTDIR)$(libdir)/$(MAJOR_SO)
#
#uninstall:
# rm -f $(DESTDIR)$(includedir)/videolan/dvdcss.h
# rm -f $(DESTDIR)$(libdir)/$(BASE_A)
# rm -f $(DESTDIR)$(libdir)/$(BASE_SO)
# rm -f $(DESTDIR)$(libdir)/$(MAJOR_SO)
# rm -f $(DESTDIR)$(libdir)/$(FULL_SO)
$(ALL_OBJ)
:
%.o: ../../Makefile.dep Makefile
$(C_DEP)
:
%.d: FORCE
@
$(MAKE)
-s
--no-print-directory
-f
../../Makefile.dep
$@
$(OBJ_C)
:
%.o: .dep/%.d
$(OBJ_C)
:
%.o: %.c
$(CC)
$(CFLAGS)
$(CFLAGS_LIBDVDREAD)
$(PCFLAGS)
-c
-o
$@
$<
../../lib/$(FULL_SO)
:
$(OBJ_C) $(OBJ_LIBDVDREAD)
$(CC)
$(PCFLAGS)
$(ALL_SOFLAGS)
-o
$@
$^
$(PLCFLAGS)
$(LIB_LIBDVDREAD)
rm
-f
../../lib/
$(BASE_SO)
&&
ln
-s
$(FULL_SO)
../../lib/
$(BASE_SO)
rm
-f
../../lib/
$(MAJOR_SO)
&&
ln
-s
$(FULL_SO)
../../lib/
$(MAJOR_SO)
../../lib/$(BASE_A)
:
$(OBJ_C) $(OBJ_LIBDVDREAD)
ar r
$@
$^
$(RANLIB)
$@
plugins/dvdread/dvdread.c
View file @
36e88eb4
...
...
@@ -2,7 +2,7 @@
* dvdread.c : DvdRead input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: dvdread.c,v 1.
4 2001/12/30 07:09:55 sam
Exp $
* $Id: dvdread.c,v 1.
5 2001/12/30 22:10:26 stef
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -52,18 +52,18 @@ static void UnprobeLibDVDCSS( void );
* Build configuration tree.
*****************************************************************************/
MODULE_CONFIG_START
ADD_WINDOW
(
"Configuration for DVD module"
)
ADD_COMMENT
(
"foobar !"
)
MODULE_CONFIG_STOP
MODULE_INIT_START
p_module
->
i_capabilities
=
MODULE_CAPABILITY_NULL
|
MODULE_CAPABILITY_INPUT
;
#ifdef GOD_DAMN_DMCA
p_module
->
psz_longname
=
"DVD input module, uses libdvdcss if present"
;
SET_DESCRIPTION
(
"DVDRead input module, uses libdvdcss if present"
)
ADD_CAPABILITY
(
INPUT
,
70
)
#else
p_module
->
psz_longname
=
"DVD input module, linked with libdvdcss"
;
SET_DESCRIPTION
(
"DVDRead input module, linked with libdvdcss"
)
ADD_CAPABILITY
(
INPUT
,
80
)
#endif
ADD_SHORTCUT
(
"dvdread"
)
MODULE_INIT_STOP
MODULE_ACTIVATE_START
...
...
plugins/dvdread/input_dvdread.c
View file @
36e88eb4
This diff is collapsed.
Click to expand it.
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