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
9b792408
Commit
9b792408
authored
Aug 29, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable instance pace control from stream rather than access
parent
c8a5be75
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
modules/stream_out/es.c
modules/stream_out/es.c
+5
-0
modules/stream_out/standard.c
modules/stream_out/standard.c
+5
-0
No files found.
modules/stream_out/es.c
View file @
9b792408
...
@@ -413,6 +413,9 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
...
@@ -413,6 +413,9 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
return
NULL
;
return
NULL
;
}
}
if
(
!
sout_AccessOutCanControlPace
(
p_access
)
)
p_sout
->
i_out_pace_nocontrol
++
;
return
id
;
return
id
;
}
}
...
@@ -422,6 +425,8 @@ static int Del( sout_stream_t *p_stream, sout_stream_id_t *id )
...
@@ -422,6 +425,8 @@ static int Del( sout_stream_t *p_stream, sout_stream_id_t *id )
sout_access_out_t
*
p_access
=
id
->
p_mux
->
p_access
;
sout_access_out_t
*
p_access
=
id
->
p_mux
->
p_access
;
sout_MuxDelete
(
id
->
p_mux
);
sout_MuxDelete
(
id
->
p_mux
);
sout_MuxDeleteStream
(
id
->
p_mux
,
id
->
p_input
);
sout_MuxDeleteStream
(
id
->
p_mux
,
id
->
p_input
);
if
(
!
sout_AccessOutCanControlPace
(
p_access
)
)
p_stream
->
p_sout
->
i_out_pace_nocontrol
--
;
sout_AccessOutDelete
(
p_access
);
sout_AccessOutDelete
(
p_access
);
free
(
id
);
free
(
id
);
...
...
modules/stream_out/standard.c
View file @
9b792408
...
@@ -465,6 +465,9 @@ static int Open( vlc_object_t *p_this )
...
@@ -465,6 +465,9 @@ static int Open( vlc_object_t *p_this )
free
(
psz_mux
);
free
(
psz_mux
);
free
(
psz_url
);
free
(
psz_url
);
if
(
!
sout_AccessOutCanControlPace
(
p_access
)
)
p_sout
->
i_out_pace_nocontrol
++
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
@@ -481,6 +484,8 @@ static void Close( vlc_object_t * p_this )
...
@@ -481,6 +484,8 @@ static void Close( vlc_object_t * p_this )
sout_AnnounceUnRegister
(
p_stream
->
p_sout
,
p_sys
->
p_session
);
sout_AnnounceUnRegister
(
p_stream
->
p_sout
,
p_sys
->
p_session
);
sout_MuxDelete
(
p_sys
->
p_mux
);
sout_MuxDelete
(
p_sys
->
p_mux
);
if
(
!
sout_AccessOutCanControlPace
(
p_access
)
)
p_stream
->
p_sout
->
i_out_pace_nocontrol
--
;
sout_AccessOutDelete
(
p_access
);
sout_AccessOutDelete
(
p_access
);
free
(
p_sys
);
free
(
p_sys
);
...
...
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