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
91bf9631
Commit
91bf9631
authored
May 31, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_current_object: remove, vlc_object_get does the same thing
parent
c45fbbdf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
14 deletions
+1
-14
src/libvlc.c
src/libvlc.c
+0
-12
src/libvlc.h
src/libvlc.h
+0
-1
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+1
-1
No files found.
src/libvlc.c
View file @
91bf9631
...
...
@@ -130,18 +130,6 @@ static int VerboseCallback( vlc_object_t *, char const *,
static
void
InitDeviceValues
(
libvlc_int_t
*
);
/*****************************************************************************
* vlc_current_object: return the current object.
*****************************************************************************
* If i_object is non-zero, return the corresponding object. Otherwise,
* return the statically allocated p_vlc object.
*****************************************************************************/
libvlc_int_t
*
vlc_current_object
(
int
i_object
)
{
return
i_object
?
vlc_object_get
(
i_object
)
:
p_static_vlc
;
}
/**
* Allocate a libvlc instance, initialize global data if needed
* It also initializes the threading system
...
...
src/libvlc.h
View file @
91bf9631
...
...
@@ -163,7 +163,6 @@ typedef struct libvlc_global_data_t
libvlc_global_data_t
*
vlc_global
(
void
);
libvlc_int_t
*
vlc_current_object
(
int
i_object
);
/**
* Private LibVLC data for each object.
...
...
src/video_output/vout_intf.c
View file @
91bf9631
...
...
@@ -505,7 +505,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
/* Destination object-id is following object: */
i_id
=
atoi
(
&
val
.
psz_string
[
7
]
);
p_dest
=
(
vlc_object_t
*
)
vlc_
current_objec
t
(
i_id
);
p_dest
=
(
vlc_object_t
*
)
vlc_
object_ge
t
(
i_id
);
if
(
!
p_dest
)
{
msg_Err
(
p_vout
,
"Cannot find calling object"
);
...
...
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