Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a1f5d9f4
Commit
a1f5d9f4
authored
Dec 11, 2003
by
Rocky Bernstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch over to using "cd-audio" and "vcd" configuration variables.
parent
cbbcad97
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
20 deletions
+12
-20
modules/access/cdda/access.c
modules/access/cdda/access.c
+2
-2
modules/access/cdda/cdda.c
modules/access/cdda/cdda.c
+1
-5
modules/access/vcdx/access.c
modules/access/vcdx/access.c
+8
-5
modules/access/vcdx/vcd.c
modules/access/vcdx/vcd.c
+1
-8
No files found.
modules/access/cdda/access.c
View file @
a1f5d9f4
...
...
@@ -2,7 +2,7 @@
* cddax.c : CD digital audio input module for vlc using libcdio
*****************************************************************************
* Copyright (C) 2000,2003 VideoLAN
* $Id: access.c,v 1.1
3 2003/12/05 02:33:49
rocky Exp $
* $Id: access.c,v 1.1
4 2003/12/11 12:56:25
rocky Exp $
*
* Authors: Rocky Bernstein <rocky@panix.com>
* Laurent Aimar <fenrir@via.ecp.fr>
...
...
@@ -836,7 +836,7 @@ E_(Open)( vlc_object_t *p_this )
free
(
psz_orig
);
return
-
1
;
}
psz_source
=
config_GetPsz
(
p_input
,
MODULE_STRING
"-device
"
);
psz_source
=
config_GetPsz
(
p_input
,
"cd-audio
"
);
if
(
!
psz_source
||
0
==
strlen
(
psz_source
)
)
{
/* Scan for a CD-ROM drive with a CD-DA in it. */
...
...
modules/access/cdda/cdda.c
View file @
a1f5d9f4
...
...
@@ -2,7 +2,7 @@
* cddax.c : CD digital audio input module for vlc using libcdio
*****************************************************************************
* Copyright (C) 2000,2003 VideoLAN
* $Id: cdda.c,v 1.1
0 2003/12/05 02:33:49
rocky Exp $
* $Id: cdda.c,v 1.1
1 2003/12/11 12:56:25
rocky Exp $
*
* Authors: Rocky Bernstein <rocky@panix.com>
* Laurent Aimar <fenrir@via.ecp.fr>
...
...
@@ -129,10 +129,6 @@ vlc_module_begin();
N_
(
"Caching value in ms"
),
CACHING_LONGTEXT
,
VLC_TRUE
);
add_string
(
MODULE_STRING
"-device"
,
""
,
NULL
,
N_
(
"CD-ROM device name"
),
DEV_LONGTEXT
,
VLC_FALSE
);
add_string
(
MODULE_STRING
"-title-format"
,
"%T %M"
,
NULL
,
N_
(
"Format to use in playlist 'title' field when no CDDB"
),
...
...
modules/access/vcdx/access.c
View file @
a1f5d9f4
...
...
@@ -3,8 +3,8 @@
* using libcdio, libvcd and libvcdinfo. vlc-specific things tend
* to go here.
*****************************************************************************
* Copyright (C) 2000,2003 VideoLAN
* $Id: access.c,v 1.
9 2003/12/05 05:01:17
rocky Exp $
* Copyright (C) 2000,
2003 VideoLAN
* $Id: access.c,v 1.
10 2003/12/11 12:56:25
rocky Exp $
*
* Authors: Rocky Bernstein <rocky@panix.com>
* Johan Bilien <jobi@via.ecp.fr>
...
...
@@ -197,8 +197,10 @@ VCDRead( input_thread_t * p_input, byte_t * p_buffer, size_t i_len )
*
p_buf
=
0x01
;
dbg_print
(
INPUT_DBG_STILL
,
"Handled still event"
);
#if 1
p_vcd
->
p_intf
->
p_sys
->
b_still
=
1
;
input_SetStatus
(
p_input
,
INPUT_STATUS_PAUSE
);
#endif
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
...
...
@@ -207,9 +209,10 @@ VCDRead( input_thread_t * p_input, byte_t * p_buffer, size_t i_len )
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
dbg_print
(
INPUT_DBG_STILL
,
"Clock manage"
);
input_ClockManageControl
(
p_input
,
p_pgrm
,
0
);
dbg_print
(
INPUT_DBG_STILL
,
"Clock manage done"
);
p_vcd
->
p_intf
->
p_sys
->
b_still
=
1
;
input_SetStatus
(
p_input
,
INPUT_STATUS_PAUSE
);
return
i_read
+
M2F2_SECTOR_SIZE
;
}
...
...
@@ -825,7 +828,7 @@ VCDParse( input_thread_t * p_input, /*out*/ vcdinfo_itemid_t * p_itemid )
/* No source specified, so figure it out. */
if
(
!
p_input
->
psz_access
)
return
NULL
;
psz_source
=
config_GetPsz
(
p_input
,
MODULE_STRING
"-device
"
);
psz_source
=
config_GetPsz
(
p_input
,
"vcd
"
);
if
(
!
psz_source
||
0
==
strlen
(
psz_source
)
)
{
/* Scan for a CD-ROM drive with a VCD in it. */
...
...
modules/access/vcdx/vcd.c
View file @
a1f5d9f4
...
...
@@ -2,7 +2,7 @@
* vcd.c : VCD input module for vlc
*****************************************************************************
* Copyright (C) 2000,2003 VideoLAN
* $Id: vcd.c,v 1.1
0 2003/11/30 13:53:4
5 rocky Exp $
* $Id: vcd.c,v 1.1
1 2003/12/11 12:56:2
5 rocky Exp $
*
* Authors: Rocky Bernstein <rocky@panix.com>
*
...
...
@@ -83,13 +83,6 @@ vlc_module_begin();
N_
(
"set debug mask for additional debugging."
),
DEBUG_LONGTEXT
,
VLC_TRUE
);
add_string
(
MODULE_STRING
"-device"
,
""
,
NULL
,
N_
(
"VCD device name"
),
N_
(
"Specify the name of the Video Compact Disc device that "
"will be used by default. If you don't specify anything, "
"we'll scan for a suitable VCD device."
),
VLC_FALSE
);
add_bool
(
MODULE_STRING
"-PBC"
,
0
,
NULL
,
N_
(
"Use playback control?"
),
N_
(
"If VCD is authored with playback control, use 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