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
f37779bc
Commit
f37779bc
authored
Mar 10, 2011
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: epg: missing lock before es_out data access
parent
024d9ccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
modules/gui/qt4/dialogs/epg.cpp
modules/gui/qt4/dialogs/epg.cpp
+7
-4
No files found.
modules/gui/qt4/dialogs/epg.cpp
View file @
f37779bc
...
@@ -129,10 +129,13 @@ void EpgDialog::updateInfos()
...
@@ -129,10 +129,13 @@ void EpgDialog::updateInfos()
{
{
if
(
!
THEMIM
->
getInput
()
)
return
;
if
(
!
THEMIM
->
getInput
()
)
return
;
timer
->
stop
();
timer
->
stop
();
int
i_nbitems
=
input_GetItem
(
THEMIM
->
getInput
())
->
i_epg
;
input_item_t
*
p_input_item
=
input_GetItem
(
THEMIM
->
getInput
()
);
vlc_mutex_lock
(
&
p_input_item
->
lock
);
int
i_nbitems
=
p_input_item
->
i_epg
;
if
(
i_nbitems
>
0
)
msg_Dbg
(
p_intf
,
"Found %i EPG items"
,
i_nbitems
);
if
(
i_nbitems
>
0
)
msg_Dbg
(
p_intf
,
"Found %i EPG items"
,
i_nbitems
);
epg
->
updateEPG
(
input_GetItem
(
THEMIM
->
getInput
())
->
pp_epg
,
epg
->
updateEPG
(
p_input_item
->
pp_epg
,
input_GetItem
(
THEMIM
->
getInput
())
->
i_epg
,
p_input_item
->
i_epg
,
input_GetItem
(
THEMIM
->
getInput
())
->
i_type
);
p_input_item
->
i_type
);
vlc_mutex_unlock
(
&
p_input_item
->
lock
);
if
(
isVisible
()
)
timer
->
start
();
if
(
isVisible
()
)
timer
->
start
();
}
}
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