Commit 065cf733 authored by Edward Hervey's avatar Edward Hervey

* configure.ac:

We need gnonlin 0.10.2 released 3 days ago.
* pitivi/ui/viewer.py:
Some threading madness.... That was a nasty bug.


git-svn-id: svn+ssh://svn.gnome.org/svn/pitivi/trunk@764 d3729300-e425-0410-8a4c-d956edccc248
parent de1ffdbb
2006-04-24 Edward Hervey <edward@fluendo.com>
* configure.ac:
We need gnonlin 0.10.2 released 3 days ago.
* pitivi/ui/viewer.py:
Some threading madness.... That was a nasty bug.
2006-04-22 Edward Hervey <edward@fluendo.com>
* pitivi/ui/sourcefactories.py:
......
......@@ -26,7 +26,7 @@ AUTHORS=$srcdir/AUTHORS
AC_SUBST(PYGTK_REQ, 2.8.0)
AC_SUBST(PYGST_REQ, 0.10.0)
AC_SUBST(GST_REQ, 0.10.4)
AC_SUBST(GNONLIN_REQ, 0.10.1)
AC_SUBST(GNONLIN_REQ, 0.10.2)
AC_SUBST(PYCAIRO_REQ, 1.0.0)
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
......
......@@ -203,7 +203,17 @@ class PitiviViewer(gtk.VBox):
vsinkthread.videosink = self.videosink
vsinkthread.add_pad(gst.GhostPad("sink", cspace.get_pad('sink')))
vsinkthread.get_pad("sink").connect("notify::caps", self._videosinkCapsNotifyCb)
# WARNING
# The notify has to be put on the downstream side of the queue. If it is
# put upstream, the notify will do some BadThings(tm) like screwup the
# resizing of the windows
# FIXME : Once we add videoscale, we should put it AFTER the queue, but
# keep the notify callback where it is right now so that we don't
# get the problems mentionned above AND we can't get the non-resi-
# zed caps.
vqueue.get_pad("src").connect("notify::caps", self._videosinkCapsNotifyCb)
self.drawingarea.videosink = self.videosink
self.videosink.set_xwindow_id(self.drawingarea.window.xid)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment