pidgin/plugins/perl/common/GtkPounce.xs

Wed, 27 Apr 2016 09:19:58 +0200

author
Jakub Adam <jakub.adam@ktknet.cz>
date
Wed, 27 Apr 2016 09:19:58 +0200
branch
release-2.x.y
changeset 37650
f827e56eea34
parent 21342
6d1d2ebd9277
permissions
-rw-r--r--

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.

#include "gtkmodule.h"

MODULE = Pidgin::Pounce  PACKAGE = Pidgin::Pounce  PREFIX = pidgin_pounce_
PROTOTYPES: ENABLE

void
pidgin_pounce_editor_show(account, name, cur_pounce)
	Purple::Account account
	const char * name
	Purple::Pounce cur_pounce

MODULE = Pidgin::Pounce  PACKAGE = Pidgin::Pounces  PREFIX = pidgin_pounces_
PROTOTYPES: ENABLE

Purple::Handle
pidgin_pounces_get_handle()

MODULE = Pidgin::Pounce  PACKAGE = Pidgin::Pounces::Manager  PREFIX = pidgin_pounces_manager_
PROTOTYPES: ENABLE

void
pidgin_pounces_manager_show()

void
pidgin_pounces_manager_hide()

mercurial