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
8831fe33
Commit
8831fe33
authored
Apr 07, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access_out/file.c: added "stream" shortcut for when one doesn't want pace control.
parent
ac6c7eab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
modules/access_output/file.c
modules/access_output/file.c
+10
-0
No files found.
modules/access_output/file.c
View file @
8831fe33
...
...
@@ -62,6 +62,7 @@ vlc_module_begin();
set_description
(
_
(
"File stream ouput"
)
);
set_capability
(
"sout access"
,
50
);
add_shortcut
(
"file"
);
add_shortcut
(
"stream"
);
set_callbacks
(
Open
,
Close
);
vlc_module_end
();
...
...
@@ -125,6 +126,11 @@ static int Open( vlc_object_t *p_this )
p_access
->
pf_seek
=
Seek
;
msg_Dbg
(
p_access
,
"file access output opened (`%s')"
,
p_access
->
psz_name
);
/* Update pace control flag */
if
(
p_access
->
psz_access
&&
!
strcmp
(
p_access
->
psz_access
,
"stream"
)
)
p_access
->
p_sout
->
i_out_pace_nocontrol
++
;
return
VLC_SUCCESS
;
}
...
...
@@ -144,6 +150,10 @@ static void Close( vlc_object_t * p_this )
}
free
(
p_access
->
p_sys
);
/* Update pace control flag */
if
(
p_access
->
psz_access
&&
!
strcmp
(
p_access
->
psz_access
,
"stream"
)
)
p_access
->
p_sout
->
i_out_pace_nocontrol
--
;
msg_Dbg
(
p_access
,
"file access output closed"
);
}
...
...
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