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
969e7a01
Commit
969e7a01
authored
Dec 31, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: release input sooner
parent
fbae0440
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+8
-9
No files found.
modules/gui/qt4/input_manager.cpp
View file @
969e7a01
...
...
@@ -114,6 +114,9 @@ void InputManager::delInput()
timeA
=
0
;
timeB
=
0
;
vlc_object_release
(
p_input
);
p_input
=
NULL
;
emit
positionUpdated
(
-
1.0
,
0
,
0
);
emit
rateChanged
(
INPUT_RATE_DEFAULT
);
/* TODO: Do we want this ? */
emit
nameChanged
(
""
);
...
...
@@ -121,18 +124,14 @@ void InputManager::delInput()
emit
titleChanged
(
0
);
emit
statusChanged
(
END_S
);
/* Reset InfoPanels but stats */
emit
artChanged
(
NULL
);
emit
infoChanged
(
NULL
);
emit
metaChanged
(
NULL
);
emit
teletextPossible
(
false
);
emit
voutChanged
(
false
);
emit
AtoBchanged
(
false
,
false
);
vlc_object_release
(
p_input
);
/* FIXME: Can't we release sooner ? */
emit
voutChanged
(
false
);
p_input
=
NULL
;
/* Reset all InfoPanels but stats */
emit
artChanged
(
NULL
);
emit
infoChanged
(
NULL
);
emit
metaChanged
(
NULL
);
}
/* Add the callbacks on Input. Self explanatory */
...
...
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