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
670651ee
Commit
670651ee
authored
Sep 20, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use objet pointer as unique ID (plugins)
(By the way, snapshot-id looks like a write only variable...)
parent
29a0b630
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
modules/access_filter/timeshift.c
modules/access_filter/timeshift.c
+2
-2
modules/misc/dummy/decoder.c
modules/misc/dummy/decoder.c
+1
-1
modules/video_output/snapshot.c
modules/video_output/snapshot.c
+5
-5
No files found.
modules/access_filter/timeshift.c
View file @
670651ee
...
...
@@ -604,8 +604,8 @@ static char *GetTmpFilePath( access_t *p_access )
#endif
}
if
(
asprintf
(
&
psz_filename_base
,
"%s/vlc-timeshift-%d-%
d
-"
,
psz_dir
,
getpid
(),
p_access
->
i_object_id
)
==
-
1
)
if
(
asprintf
(
&
psz_filename_base
,
"%s/vlc-timeshift-%d-%
p
-"
,
psz_dir
,
getpid
(),
p_access
)
==
-
1
)
psz_filename_base
=
NULL
;
free
(
psz_dir
);
...
...
modules/misc/dummy/decoder.c
View file @
670651ee
...
...
@@ -82,7 +82,7 @@ int OpenDecoder ( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
s
printf
(
psz_file
,
"stream.%i"
,
p_dec
->
i_object_id
);
s
nprintf
(
psz_file
,
sizeof
(
psz_file
),
"stream.%p"
,
p_dec
);
#ifndef UNDER_CE
var_Create
(
p_dec
,
"dummy-save-es"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
...
...
modules/video_output/snapshot.c
View file @
670651ee
...
...
@@ -301,18 +301,18 @@ static int Init( vout_thread_t *p_vout )
if
(
var_Create
(
p_vout
->
p_sys
->
p_input
,
"snapshot-id"
,
VLC_VAR_INTEGER
)
)
{
msg_Err
(
p_vout
,
"Cannot create snapshot-id variable in p_input
(%d
)."
,
p_vout
->
p_sys
->
p_input
->
i_object_id
);
msg_Err
(
p_vout
,
"Cannot create snapshot-id variable in p_input
(%p
)."
,
p_vout
->
p_sys
->
p_input
);
return
VLC_EGENERIC
;
}
/* Register the snapshot vout module at the input level */
val
.
i_int
=
p_vout
->
i_object_id
;
val
.
p_address
=
p_vout
;
if
(
var_Set
(
p_vout
->
p_sys
->
p_input
,
"snapshot-id"
,
val
)
)
{
msg_Err
(
p_vout
,
"Cannot register snapshot-id in p_input
(%d
)."
,
p_vout
->
p_sys
->
p_input
->
i_object_id
);
msg_Err
(
p_vout
,
"Cannot register snapshot-id in p_input
(%p
)."
,
p_vout
->
p_sys
->
p_input
);
return
VLC_EGENERIC
;
}
...
...
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