/pidgin/main: b5c43edd21f8: media: switch source bin fakesink to...

Jakub Adam <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: b5c43edd21f8b494a6916bebbb2989a524d6f74c
Author:	 Jakub Adam <[email protected]>
Date:	 2016-04-15 11:49 +0200
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/b5c43edd21f8

Description:

media: switch source bin fakesink to PAUSED synchronously

Connecting the source bin to the rest if the pipeline while it's still
in the process of transition to PLAYING can block the pipeline.

Backport of Pidgin 3 commit e382df8b8ab4.

diffstat:

 libpurple/mediamanager.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/libpurple/mediamanager.c b/libpurple/mediamanager.c
--- a/libpurple/mediamanager.c
+++ b/libpurple/mediamanager.c
@@ -1172,6 +1172,7 @@ purple_media_manager_get_element(PurpleM
 			 */
 			fakesink = gst_element_factory_make("fakesink", NULL);
 			g_object_set(fakesink,
+				"async", FALSE,
 				"sync", FALSE,
 				"enable-last-sample", FALSE,
 				NULL);

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.