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
576927ef
Commit
576927ef
authored
Aug 29, 2009
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
record: more specific record directories (video/music/other)
parent
220f4314
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/input/es_out.c
src/input/es_out.c
+8
-2
No files found.
src/input/es_out.c
View file @
576927ef
...
...
@@ -466,8 +466,14 @@ static int EsOutSetRecord( es_out_t *out, bool b_record )
{
char
*
psz_path
=
var_CreateGetNonEmptyString
(
p_input
,
"input-record-path"
);
if
(
!
psz_path
)
/* TODO: autoselect video or music dir ? */
psz_path
=
config_GetUserDir
(
VLC_DOWNLOAD_DIR
);
{
if
(
var_CountChoices
(
p_input
,
"video-es"
)
)
psz_path
=
config_GetUserDir
(
VLC_VIDEOS_DIR
);
else
if
(
var_CountChoices
(
p_input
,
"audio-es"
)
)
psz_path
=
config_GetUserDir
(
VLC_MUSIC_DIR
);
else
psz_path
=
config_GetUserDir
(
VLC_DOWNLOAD_DIR
);
}
char
*
psz_sout
=
NULL
;
// TODO conf
...
...
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