Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ec5107fa
Commit
ec5107fa
authored
May 01, 2005
by
Rocky Bernstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A couple more fixes. One to set meta information when in disc mode.
Another to pause audio control playing.
parent
cd077daf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
modules/access/cdda/access.c
modules/access/cdda/access.c
+9
-6
No files found.
modules/access/cdda/access.c
View file @
ec5107fa
...
...
@@ -166,6 +166,8 @@ uninit_log_handler (cdio_log_level_t level, const char message[])
/* gl_default_cdio_log_handler (level, message); */
}
/* Only used in audio control mode. Gets the current LSN from the
CD-ROM drive. */
static
int64_t
get_current_pos
(
access_t
*
p_access
)
{
...
...
@@ -476,7 +478,7 @@ CDDASeek( access_t * p_access, int64_t i_pos )
i_track
--
,
p_access
->
info
.
i_title
--
)
;
p_cdda
->
i_track
=
i_track
;
p_access
->
info
.
i_update
|=
INPUT_UPDATE_TITLE
;
p_access
->
info
.
i_update
|=
INPUT_UPDATE_TITLE
|
INPUT_UPDATE_META
;
psz_title
=
CDDAFormatTitle
(
p_access
,
p_cdda
->
i_track
);
input_Control
(
p_cdda
->
p_input
,
INPUT_SET_NAME
,
psz_title
);
...
...
@@ -876,11 +878,6 @@ static int CDDAControl( access_t *p_access, int i_query, va_list args )
break
;
}
/* */
case
ACCESS_SET_PAUSE_STATE
:
dbg_print
(
INPUT_DBG_META
,
"Set pause state"
);
break
;
case
ACCESS_GET_TITLE_INFO
:
{
input_title_t
***
ppp_title
=
...
...
@@ -964,6 +961,12 @@ static int CDDAControl( access_t *p_access, int i_query, va_list args )
break
;
}
case
ACCESS_SET_PAUSE_STATE
:
dbg_print
(
INPUT_DBG_META
,
"Pause"
);
if
(
p_cdda
->
b_audio_ctl
)
cdda_audio_pause
(
p_cdda
->
p_cdio
);
break
;
case
ACCESS_SET_SEEKPOINT
:
case
ACCESS_SET_PRIVATE_ID_STATE
:
dbg_print
(
INPUT_DBG_META
,
"set seekpoint/set private id state"
);
...
...
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