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
cea76269
Commit
cea76269
authored
Aug 26, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access: remove info.i_(update|title|seekpoint)
parent
49b528cd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
19 deletions
+5
-19
include/vlc_access.h
include/vlc_access.h
+0
-9
include/vlc_demux.h
include/vlc_demux.h
+5
-0
include/vlc_input.h
include/vlc_input.h
+0
-6
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+0
-2
modules/access/rtsp/access.c
modules/access/rtsp/access.c
+0
-2
No files found.
include/vlc_access.h
View file @
cea76269
...
@@ -104,14 +104,8 @@ struct access_t
...
@@ -104,14 +104,8 @@ struct access_t
/* Access has to maintain them uptodate */
/* Access has to maintain them uptodate */
struct
struct
{
{
unsigned
int
i_update
;
/* Access sets them on change,
Input removes them once take into account*/
uint64_t
i_pos
;
/* idem */
uint64_t
i_pos
;
/* idem */
bool
b_eof
;
/* idem */
bool
b_eof
;
/* idem */
int
i_title
;
/* idem, start from 0 (could be menu) */
int
i_seekpoint
;
/* idem, start from 0 */
}
info
;
}
info
;
access_sys_t
*
p_sys
;
access_sys_t
*
p_sys
;
...
@@ -146,11 +140,8 @@ static inline uint64_t access_GetSize( access_t *p_access )
...
@@ -146,11 +140,8 @@ static inline uint64_t access_GetSize( access_t *p_access )
static
inline
void
access_InitFields
(
access_t
*
p_a
)
static
inline
void
access_InitFields
(
access_t
*
p_a
)
{
{
p_a
->
info
.
i_update
=
0
;
p_a
->
info
.
i_pos
=
0
;
p_a
->
info
.
i_pos
=
0
;
p_a
->
info
.
b_eof
=
false
;
p_a
->
info
.
b_eof
=
false
;
p_a
->
info
.
i_title
=
0
;
p_a
->
info
.
i_seekpoint
=
0
;
}
}
/**
/**
...
...
include/vlc_demux.h
View file @
cea76269
...
@@ -77,6 +77,11 @@ struct demux_t
...
@@ -77,6 +77,11 @@ struct demux_t
input_thread_t
*
p_input
;
input_thread_t
*
p_input
;
};
};
/* demux_t.info.i_update field */
#define INPUT_UPDATE_TITLE 0x0010
#define INPUT_UPDATE_SEEKPOINT 0x0020
#define INPUT_UPDATE_META 0x0040
#define INPUT_UPDATE_TITLE_LIST 0x0100
/* demux_meta_t is returned by "meta reader" module to the demuxer */
/* demux_meta_t is returned by "meta reader" module to the demuxer */
typedef
struct
demux_meta_t
typedef
struct
demux_meta_t
...
...
include/vlc_input.h
View file @
cea76269
...
@@ -202,12 +202,6 @@ static inline void vlc_input_attachment_Delete( input_attachment_t *a )
...
@@ -202,12 +202,6 @@ static inline void vlc_input_attachment_Delete( input_attachment_t *a )
* input defines/constants.
* input defines/constants.
*****************************************************************************/
*****************************************************************************/
/* i_update field of access_t/demux_t */
#define INPUT_UPDATE_TITLE 0x0010
#define INPUT_UPDATE_SEEKPOINT 0x0020
#define INPUT_UPDATE_META 0x0040
#define INPUT_UPDATE_TITLE_LIST 0x0100
/**
/**
* This defines private core storage for an input.
* This defines private core storage for an input.
*/
*/
...
...
modules/access/dshow/dshow.cpp
View file @
cea76269
...
@@ -814,8 +814,6 @@ static int AccessOpen( vlc_object_t *p_this )
...
@@ -814,8 +814,6 @@ static int AccessOpen( vlc_object_t *p_this )
p_access
->
pf_seek
=
NULL
;
p_access
->
pf_seek
=
NULL
;
p_access
->
info
.
i_pos
=
0
;
p_access
->
info
.
i_pos
=
0
;
p_access
->
info
.
b_eof
=
false
;
p_access
->
info
.
b_eof
=
false
;
p_access
->
info
.
i_title
=
0
;
p_access
->
info
.
i_seekpoint
=
0
;
p_access
->
p_sys
=
p_sys
;
p_access
->
p_sys
=
p_sys
;
/* Everything is ready. Let's rock baby */
/* Everything is ready. Let's rock baby */
...
...
modules/access/rtsp/access.c
View file @
cea76269
...
@@ -161,8 +161,6 @@ static int Open( vlc_object_t *p_this )
...
@@ -161,8 +161,6 @@ static int Open( vlc_object_t *p_this )
p_access
->
pf_control
=
Control
;
p_access
->
pf_control
=
Control
;
p_access
->
info
.
i_pos
=
0
;
p_access
->
info
.
i_pos
=
0
;
p_access
->
info
.
b_eof
=
false
;
p_access
->
info
.
b_eof
=
false
;
p_access
->
info
.
i_title
=
0
;
p_access
->
info
.
i_seekpoint
=
0
;
p_access
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
access_sys_t
)
);
p_access
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
access_sys_t
)
);
if
(
!
p_sys
)
if
(
!
p_sys
)
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
...
...
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