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
174f75de
Commit
174f75de
authored
May 16, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 1.0-bugfix
parents
cc321882
0bbc1eee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+3
-5
src/playlist/fetcher.c
src/playlist/fetcher.c
+2
-1
No files found.
modules/gui/qt4/input_manager.cpp
View file @
174f75de
...
...
@@ -883,11 +883,9 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
CONNECT
(
this
,
inputChanged
(
input_thread_t
*
),
im
,
setInput
(
input_thread_t
*
)
);
/* emit check if playlist has allready started playing */
vlc_value_t
val
;
var_Change
(
THEPL
,
"item-current"
,
VLC_VAR_CHOICESCOUNT
,
&
val
,
NULL
);
IMEvent
*
event
=
new
IMEvent
(
ItemChanged_Type
,
val
.
i_int
);
/* emit check if playlist has already started playing */
IMEvent
*
event
=
new
IMEvent
(
ItemChanged_Type
,
var_GetInteger
(
THEPL
,
"item-current"
)
);
customEvent
(
event
);
delete
event
;
}
...
...
src/playlist/fetcher.c
View file @
174f75de
...
...
@@ -69,6 +69,7 @@ playlist_fetcher_t *playlist_fetcher_New( playlist_t *p_playlist )
if
(
!
p_fetcher
)
return
NULL
;
vlc_object_attach
(
p_fetcher
,
p_playlist
);
p_fetcher
->
p_playlist
=
p_playlist
;
vlc_mutex_init
(
&
p_fetcher
->
lock
);
vlc_cond_init
(
&
p_fetcher
->
wait
);
...
...
@@ -81,7 +82,7 @@ playlist_fetcher_t *playlist_fetcher_New( playlist_t *p_playlist )
VLC_THREAD_PRIORITY_LOW
)
)
{
msg_Err
(
p_fetcher
,
"cannot spawn secondary preparse thread"
);
fre
e
(
p_fetcher
);
vlc_object_releas
e
(
p_fetcher
);
return
NULL
;
}
...
...
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