Wed, 27 Apr 2016 09:19:58 +0200
media: don't keep last sample reference on sinks
Holding a reference to a GstBuffer somewhere in a pipeline for possibly
indefinite period may cause trouble when the buffer has been allocated
by a 3rd party library or when it points directly into memory region of
a hardware device.
A specific example is V4L2 source element, which won't allow webcam
image resolution be reconfigured unless all previously allocated buffers
have been freed.
Backport of Pidgin 3 commit 13807c514810.
| 14478 | 1 | #include "gtkmodule.h" |
| 2 | ||
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
15899
diff
changeset
|
3 | MODULE = Pidgin::Session PACKAGE = Pidgin::Session PREFIX = pidgin_session_ |
| 14478 | 4 | PROTOTYPES: ENABLE |
| 5 | ||
| 6 | void | |
|
15599
ffdf171279a3
Fix compilation of the perl plugin when using session management
Mark Doliner <markdoliner@pidgin.im>
parents:
15435
diff
changeset
|
7 | pidgin_session_init(argv0, previous_id, config_dir) |
| 14478 | 8 | gchar * argv0 |
| 9 | gchar * previous_id | |
| 10 | gchar * config_dir | |
| 11 | ||
| 12 | void | |
|
15599
ffdf171279a3
Fix compilation of the perl plugin when using session management
Mark Doliner <markdoliner@pidgin.im>
parents:
15435
diff
changeset
|
13 | pidgin_session_end() |