mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
shmsink: Get potentially modified after opening shmpipe
This commit is contained in:
parent
7e8eae9f2a
commit
5c7a160de5
1 changed files with 3 additions and 0 deletions
|
@ -288,6 +288,9 @@ gst_shm_sink_start (GstBaseSink * bsink)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
g_free (self->socket_path);
|
||||
self->socket_path = g_strdup (sp_writer_get_path (self->pipe));
|
||||
|
||||
self->poll = gst_poll_new (TRUE);
|
||||
gst_poll_fd_init (&self->serverpollfd);
|
||||
self->serverpollfd.fd = sp_get_fd (self->pipe);
|
||||
|
|
Loading…
Reference in a new issue