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 1b14b4214f04a89dac433b6e41e3181dfab6a40f..59fe44d09caa905e547a5ba7ab9c20988060ed6d 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);
}