[Redbutton-devel] SF.net SVN: redbutton: [287] redbutton-browser/trunk
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-04-15 09:47:33
|
Revision: 287
http://svn.sourceforge.net/redbutton/?rev=287&view=rev
Author: skilvington
Date: 2007-04-15 02:47:31 -0700 (Sun, 15 Apr 2007)
Log Message:
-----------
screen will be redrawn for us
Modified Paths:
--------------
redbutton-browser/trunk/TODO
redbutton-browser/trunk/VideoClass.c
Modified: redbutton-browser/trunk/TODO
===================================================================
--- redbutton-browser/trunk/TODO 2007-04-15 09:17:28 UTC (rev 286)
+++ redbutton-browser/trunk/TODO 2007-04-15 09:47:31 UTC (rev 287)
@@ -4,11 +4,9 @@
aspect ratio
-VideoDecodeOffset
-
-
if video size != VideoClass size, draw a smaller transparent hole
or fill the frame edges with black
+also fill with black after SetVideoDecodeOffset
use ffmpeg to permenantly scale-up bitmaps in MHEGBitmap_fromRGBA
Modified: redbutton-browser/trunk/VideoClass.c
===================================================================
--- redbutton-browser/trunk/VideoClass.c 2007-04-15 09:17:28 UTC (rev 286)
+++ redbutton-browser/trunk/VideoClass.c 2007-04-15 09:47:31 UTC (rev 287)
@@ -365,9 +365,10 @@
t->inst.VideoDecodeOffset.y_position = GenericInteger_getInteger(¶ms->new_y_offset, caller_gid);
pthread_mutex_unlock(&t->inst.bbox_lock);
- /* if it is active, redraw it */
- if(t->rootClass.inst.RunningStatus)
- MHEGEngine_redrawArea(&t->inst.Position, &t->inst.BoxSize);
+ /* screen will be updated next time we draw a video frame */
+/* TODO */
+/* should probably clear content Pixmap to black */
+/* x,y = t->inst.Position, w,h = t->inst.BoxSize */
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|