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
2c7bc975
Commit
2c7bc975
authored
Jan 06, 2010
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation
Fix
9a00da44
parent
9a80046d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
modules/control/dbus.c
modules/control/dbus.c
+5
-1
modules/gui/qt4/components/info_panels.cpp
modules/gui/qt4/components/info_panels.cpp
+3
-4
No files found.
modules/control/dbus.c
View file @
2c7bc975
...
...
@@ -52,6 +52,7 @@
#include <vlc_aout.h>
#include <vlc_interface.h>
#include <vlc_playlist.h>
#include <vlc_meta.h>
#include <math.h>
...
...
@@ -1192,7 +1193,10 @@ static int GetInputMeta( input_item_t* p_input,
vlc_mutex_lock
(
&
p_input
->
lock
);
if
(
p_input
->
p_meta
)
ADD_META
(
17
,
DBUS_TYPE_INT32
,
p_input
->
p_meta
->
i_status
);
{
int
i_status
=
vlc_meta_GetStatus
(
p_input
->
p_meta
);
ADD_META
(
17
,
DBUS_TYPE_INT32
,
i_status
);
}
vlc_mutex_unlock
(
&
p_input
->
lock
);
ADD_VLC_META_STRING
(
18
,
URI
);
...
...
modules/gui/qt4/components/info_panels.cpp
View file @
2c7bc975
...
...
@@ -33,6 +33,7 @@
#include <assert.h>
#include <vlc_url.h>
#include <vlc_meta.h>
#include <QTreeWidget>
#include <QHeaderView>
...
...
@@ -362,13 +363,11 @@ void ExtraMetaPanel::update( input_item_t *p_item )
return
;
}
vlc_dictionary_t
*
p_dict
=
&
p_meta
->
extra_tags
;
char
**
ppsz_allkey
=
vlc_dictionary_all_keys
(
p_dict
);
char
**
ppsz_allkey
=
vlc_meta_CopyExtraNames
(
p_meta
);
for
(
int
i
=
0
;
ppsz_allkey
[
i
]
;
i
++
)
{
const
char
*
psz_value
=
(
const
char
*
)
vlc_dictionary_value_for_key
(
p_dict
,
ppsz_allkey
[
i
]
);
const
char
*
psz_value
=
vlc_meta_GetExtra
(
p_meta
,
ppsz_allkey
[
i
]
);
QStringList
tempItem
;
tempItem
.
append
(
qfu
(
ppsz_allkey
[
i
]
)
+
" : "
);
tempItem
.
append
(
qfu
(
psz_value
)
);
...
...
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