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
c33b49c1
Commit
c33b49c1
authored
Aug 20, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/*: update position on title change.
parent
a49efd30
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
src/input/input.c
src/input/input.c
+2
-0
src/input/input_internal.h
src/input/input_internal.h
+1
-0
src/input/stream.c
src/input/stream.c
+9
-0
No files found.
src/input/input.c
View file @
c33b49c1
...
...
@@ -1383,6 +1383,8 @@ static void UpdateFromAccess( input_thread_t *p_input )
input_ControlVarTitle
(
p_input
,
p_access
->
info
.
i_title
);
stream_AccessUpdate
(
p_input
->
input
.
p_stream
);
p_access
->
info
.
i_update
&=
~
INPUT_UPDATE_TITLE
;
}
if
(
p_access
->
info
.
i_update
&
INPUT_UPDATE_SEEKPOINT
)
...
...
src/input/input_internal.h
View file @
c33b49c1
...
...
@@ -103,6 +103,7 @@ void input_ConfigVarInit ( input_thread_t * );
stream_t
*
stream_AccessNew
(
access_t
*
p_access
);
void
stream_AccessDelete
(
stream_t
*
s
);
void
stream_AccessReset
(
stream_t
*
s
);
void
stream_AccessUpdate
(
stream_t
*
s
);
/* decoder.c FIXME make it public ?*/
void
input_DecoderDiscontinuity
(
decoder_t
*
p_dec
);
...
...
src/input/stream.c
View file @
c33b49c1
...
...
@@ -339,6 +339,15 @@ void stream_AccessReset( stream_t *s )
}
}
/****************************************************************************
* stream_AccessUpdate:
****************************************************************************/
void
stream_AccessUpdate
(
stream_t
*
s
)
{
stream_sys_t
*
p_sys
=
s
->
p_sys
;
p_sys
->
i_pos
=
p_sys
->
p_access
->
info
.
i_pos
;
}
/****************************************************************************
* AStreamControl:
****************************************************************************/
...
...
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