Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
5ccba1ab
Commit
5ccba1ab
authored
Nov 10, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add STREAM_GET_PTS_DELAY control (refs #8457)
parent
10b5b2cc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
include/vlc_stream.h
include/vlc_stream.h
+2
-1
src/input/stream.c
src/input/stream.c
+2
-0
src/input/stream_demux.c
src/input/stream_demux.c
+4
-0
src/input/stream_memory.c
src/input/stream_memory.c
+4
-0
No files found.
include/vlc_stream.h
View file @
5ccba1ab
...
@@ -104,7 +104,8 @@ enum stream_query_e
...
@@ -104,7 +104,8 @@ enum stream_query_e
STREAM_UPDATE_SIZE
,
STREAM_UPDATE_SIZE
,
/* */
/* */
STREAM_GET_TITLE_INFO
=
0x102
,
/**< arg1=input_title_t*** arg2=int* res=can fail */
STREAM_GET_PTS_DELAY
=
0x101
,
/**< arg1= int64_t* res=cannot fail */
STREAM_GET_TITLE_INFO
,
/**< arg1=input_title_t*** arg2=int* res=can fail */
STREAM_GET_TITLE
,
/**< arg1=unsigned * res=can fail */
STREAM_GET_TITLE
,
/**< arg1=unsigned * res=can fail */
STREAM_GET_SEEKPOINT
,
/**< arg1=unsigned * res=can fail */
STREAM_GET_SEEKPOINT
,
/**< arg1=unsigned * res=can fail */
STREAM_GET_META
,
/**< arg1= vlc_meta_t ** res=can fail */
STREAM_GET_META
,
/**< arg1= vlc_meta_t ** res=can fail */
...
...
src/input/stream.c
View file @
5ccba1ab
...
@@ -554,6 +554,7 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
...
@@ -554,6 +554,7 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
static_control_match
(
CAN_FASTSEEK
);
static_control_match
(
CAN_FASTSEEK
);
static_control_match
(
CAN_PAUSE
);
static_control_match
(
CAN_PAUSE
);
static_control_match
(
CAN_CONTROL_PACE
);
static_control_match
(
CAN_CONTROL_PACE
);
static_control_match
(
GET_PTS_DELAY
);
static_control_match
(
GET_TITLE_INFO
);
static_control_match
(
GET_TITLE_INFO
);
static_control_match
(
GET_TITLE
);
static_control_match
(
GET_TITLE
);
static_control_match
(
GET_SEEKPOINT
);
static_control_match
(
GET_SEEKPOINT
);
...
@@ -573,6 +574,7 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
...
@@ -573,6 +574,7 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
case
STREAM_CAN_FASTSEEK
:
case
STREAM_CAN_FASTSEEK
:
case
STREAM_CAN_PAUSE
:
case
STREAM_CAN_PAUSE
:
case
STREAM_CAN_CONTROL_PACE
:
case
STREAM_CAN_CONTROL_PACE
:
case
STREAM_GET_PTS_DELAY
:
case
STREAM_GET_TITLE_INFO
:
case
STREAM_GET_TITLE_INFO
:
case
STREAM_GET_TITLE
:
case
STREAM_GET_TITLE
:
case
STREAM_GET_SEEKPOINT
:
case
STREAM_GET_SEEKPOINT
:
...
...
src/input/stream_demux.c
View file @
5ccba1ab
...
@@ -296,6 +296,10 @@ static int DStreamControl( stream_t *s, int i_query, va_list args )
...
@@ -296,6 +296,10 @@ static int DStreamControl( stream_t *s, int i_query, va_list args )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
case
STREAM_GET_PTS_DELAY
:
*
va_arg
(
args
,
int64_t
*
)
=
DEFAULT_PTS_DELAY
;
return
VLC_SUCCESS
;
case
STREAM_GET_TITLE_INFO
:
case
STREAM_GET_TITLE_INFO
:
case
STREAM_GET_TITLE
:
case
STREAM_GET_TITLE
:
case
STREAM_GET_SEEKPOINT
:
case
STREAM_GET_SEEKPOINT
:
...
...
src/input/stream_memory.c
View file @
5ccba1ab
...
@@ -122,6 +122,10 @@ static int Control( stream_t *s, int i_query, va_list args )
...
@@ -122,6 +122,10 @@ static int Control( stream_t *s, int i_query, va_list args )
p_sys
->
i_pos
=
i_64
;
p_sys
->
i_pos
=
i_64
;
break
;
break
;
case
STREAM_GET_PTS_DELAY
:
*
va_arg
(
args
,
int64_t
*
)
=
0
;
break
;
case
STREAM_GET_TITLE_INFO
:
case
STREAM_GET_TITLE_INFO
:
case
STREAM_GET_TITLE
:
case
STREAM_GET_TITLE
:
case
STREAM_GET_SEEKPOINT
:
case
STREAM_GET_SEEKPOINT
:
...
...
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