[Sumover-dev] [svn commit] r3897 - in vic/branches/mpeg4: render
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Sat Oct 14 08:02:09 BST 2006
Author: barz
Date: Sat Oct 14 08:01:46 2006
New Revision: 3897
Modified:
vic/branches/mpeg4/render/vw.cpp
vic/branches/mpeg4/tcl/ui-main.tcl
Log:
xvideo support
Modified: vic/branches/mpeg4/render/vw.cpp
==============================================================================
--- vic/branches/mpeg4/render/vw.cpp (original)
+++ vic/branches/mpeg4/render/vw.cpp Sat Oct 14 08:01:46 2006
@@ -166,7 +166,8 @@
: VideoImage(tk, width, height), image_(NULL)
{
if(render.init(dpy_, FOURCC_I420, Tk_Visual(tk), Tk_Depth(tk), 3) >= 0){
- image_ = render.createImage(width, height);
+ image_ = render.createImage(width, height);
+ printf("xvideo: initialie video with %dx%d\n", width, height);
}else{
printf("cannot initialize xvideo extension");
enable_xv = false;
Modified: vic/branches/mpeg4/tcl/ui-main.tcl
==============================================================================
--- vic/branches/mpeg4/tcl/ui-main.tcl (original)
+++ vic/branches/mpeg4/tcl/ui-main.tcl Sat Oct 14 08:01:46 2006
@@ -500,7 +500,8 @@
global win_is_slow
set win_is_slow($stamp.video) 1
- attach_window $src $stamp.video
+ # enable xvideo
+ attach_window $src $stamp.video true
pack $stamp.video -side left -anchor c -padx 2
pack $stamp -side left -fill y
More information about the Sumover-dev
mailing list