projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e666b3f
)
shmsrc: Do not call gst_poll_remove_fd upon stop if reading was never started
author
Marcin Lewandowski
<marcin@radiokit.org>
Mon, 4 Jul 2016 10:19:36 +0000
(12:19 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 4 Jul 2016 10:52:29 +0000
(12:52 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=768365
sys/shm/gstshmsrc.c
patch
|
blob
|
history
diff --git
a/sys/shm/gstshmsrc.c
b/sys/shm/gstshmsrc.c
index
1b14b42
..
59fe44d
100644
(file)
--- a/
sys/shm/gstshmsrc.c
+++ b/
sys/shm/gstshmsrc.c
@@
-272,11
+272,11
@@
gst_shm_src_stop_reading (GstShmSrc * self)
if (self->pipe) {
gst_shm_pipe_dec (self->pipe);
self->pipe = NULL;
+
+ gst_poll_remove_fd (self->poll, &self->pollfd);
}
- gst_poll_remove_fd (self->poll, &self->pollfd);
gst_poll_fd_init (&self->pollfd);
-
gst_poll_set_flushing (self->poll, TRUE);
}