avoid fd-leaks

Set rank of source to PRIMARY + 1
This commit is contained in:
Wim Taymans 2015-05-18 16:58:16 +02:00
parent c2a35199f7
commit 98861cb940
3 changed files with 4 additions and 7 deletions

View file

@ -320,6 +320,7 @@ gst_pulsevideo_sink_render (GstBaseSink * bsink, GstBuffer * buffer)
gst_memory_unmap (mem, &minfo);
}
g_unix_fd_message_append_fd ((GUnixFDMessage*)mesg, gst_fd_memory_get_fd (mem), NULL);
gst_memory_unref (mem);
info.message = mesg;
g_mutex_lock (&pvsink->lock);