Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
gajim
gajim
Commits
76501abf
Commit
76501abf
authored
Feb 09, 2021
by
Daniel Brötzmann
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Preferences: Check for pipeline before removing elements
Fixes
#10430
parent
1692f3ed
Pipeline
#7278
passed with stages
in 7 minutes and 11 seconds
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
gajim/gtk/video_preview.py
gajim/gtk/video_preview.py
+8
-6
No files found.
gajim/gtk/video_preview.py
View file @
76501abf
...
...
@@ -100,10 +100,12 @@ def _disable_preview(self):
self
.
_av_pipeline
.
set_state
(
Gst
.
State
.
NULL
)
if
self
.
_av_src
is
not
None
:
self
.
_av_pipeline
.
remove
(
self
.
_av_src
)
self
.
_av_src
=
None
if
self
.
_av_sink
is
not
None
:
self
.
_av_pipeline
.
remove
(
self
.
_av_sink
)
self
.
_av_src
=
None
self
.
_av_sink
=
None
if
self
.
_av_widget
is
not
None
:
self
.
_ui
.
video_preview_box
.
remove
(
self
.
_av_widget
)
self
.
_ui
.
video_preview_placeholder
.
set_visible
(
True
)
...
...
Michel Le Bihan
@mimi89999
mentioned in issue
#10438 (closed)
·
Feb 11, 2021
mentioned in issue
#10438 (closed)
mentioned in issue #10438
Toggle commit list
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