pinospay: Also handle plain pinos input

Handle application/x-pinos specially; track all the fd indices in the
buffers and send a release-fd message when the buffer is freed.
We can then use the payloader also in the client-source to handle the
release-fd messages correctly.
This commit is contained in:
Wim Taymans 2015-12-03 15:55:45 +01:00
parent a3a0a45d0b
commit 4322ddaf0f
2 changed files with 102 additions and 6 deletions

View file

@ -38,7 +38,7 @@ struct _GstPinosPay
{
GstElement parent;
gboolean negotiated;
gboolean pinos_input;
GstPad *srcpad, *sinkpad;
GstAllocator *allocator;
@ -55,4 +55,4 @@ GType gst_pinos_pay_get_type (void);
G_END_DECLS
#endif
#endif /* _GST_PINOS_PAY_H_ */