diff options
author | Marinus Schraal <foser@gentoo.org> | 2005-01-12 16:10:31 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2005-01-12 16:10:31 +0000 |
commit | 2d17b40dfae44a8f6f3c4c6403ddf9e79cc05863 (patch) | |
tree | 82db4b871bc23da2dacb2993b785a391467daa24 /media-video | |
parent | fte version bump (Manifest recommit) (diff) | |
download | gentoo-2-2d17b40dfae44a8f6f3c4c6403ddf9e79cc05863.tar.gz gentoo-2-2d17b40dfae44a8f6f3c4c6403ddf9e79cc05863.tar.bz2 gentoo-2-2d17b40dfae44a8f6f3c4c6403ddf9e79cc05863.zip |
add nother minor patch
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/totem/ChangeLog | 3 | ||||
-rw-r--r-- | media-video/totem/files/totem-0.100-gst_backend_fixes-r1.patch | 38 | ||||
-rw-r--r-- | media-video/totem/totem-0.100-r2.ebuild | 5 |
3 files changed, 44 insertions, 2 deletions
diff --git a/media-video/totem/ChangeLog b/media-video/totem/ChangeLog index 7ae78f96d983..a65b0cd62615 100644 --- a/media-video/totem/ChangeLog +++ b/media-video/totem/ChangeLog @@ -1,12 +1,13 @@ # ChangeLog for media-video/totem # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.42 2005/01/12 14:07:02 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.43 2005/01/12 16:10:31 foser Exp $ *totem-0.100-r2 (12 Jan 2005) 12 Jan 2005; foser <foser@gentoo.org> totem-0.100-r2.ebuild : Redo the kernel 2.4 cdrom/header fix (#68087) Add scrollkeeper dep (#77631) + Add a patch with minor speed fixes for gst *totem-0.100-r1 (09 Jan 2005) diff --git a/media-video/totem/files/totem-0.100-gst_backend_fixes-r1.patch b/media-video/totem/files/totem-0.100-gst_backend_fixes-r1.patch new file mode 100644 index 000000000000..be0d71fbc87c --- /dev/null +++ b/media-video/totem/files/totem-0.100-gst_backend_fixes-r1.patch @@ -0,0 +1,38 @@ +--- bacon-video-widget-gst.c.orig 2005-01-03 00:18:38.000000000 +0100 ++++ bacon-video-widget-gst.c 2005-01-12 14:17:36.000000000 +0100 +@@ -802,14 +802,6 @@ + { + GstFormat fmt = GST_FORMAT_TIME; + gint64 value; +- gboolean res; +- +- if (!GST_FLAG_IS_SET (bvw->priv->play, GST_BIN_SELF_SCHEDULABLE)) { +- res = gst_bin_iterate (GST_BIN (bvw->priv->play)); +- } else { +- g_usleep (100); +- res = (gst_element_get_state (bvw->priv->play) == GST_STATE_PLAYING); +- } + + /* check length/pos of stream */ + if (!bvw->priv->stream_length) { +@@ -825,10 +817,7 @@ + value, bvw); + } + +- if (!res) +- bvw->priv->update_id = 0; +- +- return res; ++ return TRUE; + } + + static void +@@ -876,7 +865,7 @@ + } else if (new_state == GST_STATE_PLAYING) { + if (bvw->priv->update_id != 0) + g_source_remove (bvw->priv->update_id); +- bvw->priv->update_id = g_idle_add ((GSourceFunc) cb_iterate, bvw); ++ bvw->priv->update_id = g_timeout_add (200, (GSourceFunc) cb_iterate, bvw); + } + + if (old_state <= GST_STATE_READY && diff --git a/media-video/totem/totem-0.100-r2.ebuild b/media-video/totem/totem-0.100-r2.ebuild index d03dc1d414ad..5ee98faa9629 100644 --- a/media-video/totem/totem-0.100-r2.ebuild +++ b/media-video/totem/totem-0.100-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.100-r2.ebuild,v 1.1 2005/01/12 14:07:02 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-0.100-r2.ebuild,v 1.2 2005/01/12 16:10:31 foser Exp $ inherit gnome2 eutils @@ -67,6 +67,9 @@ src_unpack() { epatch ${FILESDIR}/${P}-cdrom_include.patch # fix the desktop item (#77204) epatch ${FILESDIR}/${P}-fix_desktop_item.patch + # some more minor fixes + cd ${S}/src + epatch ${FILESDIR}/${P}-gst_backend_fixes-r1.patch WANT_AUTOMAKE=1.4 automake |