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
9a618af2
Commit
9a618af2
authored
May 11, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbus: return the exact number of elementary streams from the source.
parent
c38c5d07
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/control/dbus.c
modules/control/dbus.c
+3
-3
No files found.
modules/control/dbus.c
View file @
9a618af2
...
@@ -801,7 +801,7 @@ DBUS_METHOD( CountVideoES )
...
@@ -801,7 +801,7 @@ DBUS_METHOD( CountVideoES )
{
{
vlc_value_t
val_list
;
vlc_value_t
val_list
;
var_Change
(
p_input
,
"video-es"
,
VLC_VAR_GETCHOICES
,
&
val_list
,
NULL
);
var_Change
(
p_input
,
"video-es"
,
VLC_VAR_GETCHOICES
,
&
val_list
,
NULL
);
i_count
=
val_list
.
p_list
->
i_count
;
i_count
=
(
val_list
.
p_list
->
i_count
>
0
)
?
(
val_list
.
p_list
->
i_count
-
1
)
:
0
;
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
}
}
pl_Release
(
(
vlc_object_t
*
)
p_this
);
pl_Release
(
(
vlc_object_t
*
)
p_this
);
...
@@ -910,7 +910,7 @@ DBUS_METHOD( CountAudioES )
...
@@ -910,7 +910,7 @@ DBUS_METHOD( CountAudioES )
{
{
vlc_value_t
val_list
;
vlc_value_t
val_list
;
var_Change
(
p_input
,
"audio-es"
,
VLC_VAR_GETCHOICES
,
&
val_list
,
NULL
);
var_Change
(
p_input
,
"audio-es"
,
VLC_VAR_GETCHOICES
,
&
val_list
,
NULL
);
i_count
=
val_list
.
p_list
->
i_count
;
i_count
=
(
val_list
.
p_list
->
i_count
>
0
)
?
(
val_list
.
p_list
->
i_count
-
1
)
:
0
;
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
}
}
pl_Release
(
(
vlc_object_t
*
)
p_this
);
pl_Release
(
(
vlc_object_t
*
)
p_this
);
...
@@ -1023,7 +1023,7 @@ DBUS_METHOD( CountSubtitleES )
...
@@ -1023,7 +1023,7 @@ DBUS_METHOD( CountSubtitleES )
{
{
vlc_value_t
val_list
;
vlc_value_t
val_list
;
var_Change
(
p_input
,
"spu-es"
,
VLC_VAR_GETCHOICES
,
&
val_list
,
NULL
);
var_Change
(
p_input
,
"spu-es"
,
VLC_VAR_GETCHOICES
,
&
val_list
,
NULL
);
i_count
=
val_list
.
p_list
->
i_count
;
i_count
=
(
val_list
.
p_list
->
i_count
>
0
)
?
(
val_list
.
p_list
->
i_count
-
1
)
:
0
;
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
}
}
pl_Release
(
(
vlc_object_t
*
)
p_this
);
pl_Release
(
(
vlc_object_t
*
)
p_this
);
...
...
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