Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
5cb9c9d9
Commit
5cb9c9d9
authored
Nov 15, 2006
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python/bindings/vlc_object.c: complete vlc_object_find parameters
parent
c2d31f45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
4 deletions
+60
-4
bindings/python/vlc_object.c
bindings/python/vlc_object.c
+60
-4
No files found.
bindings/python/vlc_object.c
View file @
5cb9c9d9
...
...
@@ -127,10 +127,6 @@ vlcObject_find_object( PyObject *self, PyObject *args )
{
i_object_type
=
VLC_OBJECT_PLAYLIST
;
}
else
if
(
!
strncmp
(
psz_name
,
"root"
,
4
)
)
{
i_object_type
=
VLC_OBJECT_ROOT
;
}
else
if
(
!
strncmp
(
psz_name
,
"libvlc"
,
6
)
)
{
i_object_type
=
VLC_OBJECT_LIBVLC
;
...
...
@@ -139,6 +135,66 @@ vlcObject_find_object( PyObject *self, PyObject *args )
{
i_object_type
=
VLC_OBJECT_VOUT
;
}
else
if
(
!
strncmp
(
psz_name
,
"sout"
,
4
)
)
{
i_object_type
=
VLC_OBJECT_SOUT
;
}
else
if
(
!
strncmp
(
psz_name
,
"global"
,
6
)
)
{
i_object_type
=
VLC_OBJECT_GLOBAL
;
}
else
if
(
!
strncmp
(
psz_name
,
"packetizer"
,
10
)
)
{
i_object_type
=
VLC_OBJECT_PACKETIZER
;
}
else
if
(
!
strncmp
(
psz_name
,
"encoder"
,
7
)
)
{
i_object_type
=
VLC_OBJECT_ENCODER
;
}
else
if
(
!
strncmp
(
psz_name
,
"vlm"
,
3
)
)
{
i_object_type
=
VLC_OBJECT_VLM
;
}
else
if
(
!
strncmp
(
psz_name
,
"announce"
,
8
)
)
{
i_object_type
=
VLC_OBJECT_ANNOUNCE
;
}
else
if
(
!
strncmp
(
psz_name
,
"demux"
,
5
)
)
{
i_object_type
=
VLC_OBJECT_DEMUX
;
}
else
if
(
!
strncmp
(
psz_name
,
"access"
,
6
)
)
{
i_object_type
=
VLC_OBJECT_ACCESS
;
}
else
if
(
!
strncmp
(
psz_name
,
"stream"
,
6
)
)
{
i_object_type
=
VLC_OBJECT_STREAM
;
}
else
if
(
!
strncmp
(
psz_name
,
"filter"
,
6
)
)
{
i_object_type
=
VLC_OBJECT_FILTER
;
}
else
if
(
!
strncmp
(
psz_name
,
"vod"
,
3
)
)
{
i_object_type
=
VLC_OBJECT_VOD
;
}
else
if
(
!
strncmp
(
psz_name
,
"xml"
,
3
)
)
{
i_object_type
=
VLC_OBJECT_XML
;
}
else
if
(
!
strncmp
(
psz_name
,
"osdmenu"
,
7
)
)
{
i_object_type
=
VLC_OBJECT_OSDMENU
;
}
else
if
(
!
strncmp
(
psz_name
,
"stats"
,
5
)
)
{
i_object_type
=
VLC_OBJECT_STATS
;
}
else
if
(
!
strncmp
(
psz_name
,
"metaengine"
,
10
)
)
{
i_object_type
=
VLC_OBJECT_META_ENGINE
;
}
else
{
/* FIXME: raise an exception ? */
...
...
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