summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-07-10 19:33:05 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-07-10 19:33:05 +0000
commit9125c00c6d1242b911cbf68cdd25114cd9972c8f (patch)
tree313071ce6aac40d9fb35b12d65eba2bbf84927dc /src/xine-engine/video_out.c
parentcec0ffca0dfba3f6807e63636ea2c12cec982db9 (diff)
downloadxine-lib-9125c00c6d1242b911cbf68cdd25114cd9972c8f.tar.gz
xine-lib-9125c00c6d1242b911cbf68cdd25114cd9972c8f.tar.bz2
subtitle patches (esp. for XShm) from James
CVS patchset: 263 CVS date: 2001/07/10 19:33:05
Diffstat (limited to 'src/xine-engine/video_out.c')
-rw-r--r--src/xine-engine/video_out.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c
index f573670ac..2bcb5d4ea 100644
--- a/src/xine-engine/video_out.c
+++ b/src/xine-engine/video_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out.c,v 1.32 2001/07/09 16:13:12 guenter Exp $
+ * $Id: video_out.c,v 1.33 2001/07/10 19:33:05 guenter Exp $
*
*/
@@ -276,21 +276,21 @@ static void *video_out_loop (void *this_gen) {
xprintf (VERBOSE|VIDEO, "video_out : passing to video driver, image with pts = %d\n", pts);
+
overlay=this->first_overlay;
while (overlay) {
if(overlay->state==OVERLAY_SHOWING) {
- this->driver->overlay_blend (img,overlay);
+ if (this->driver->overlay_blend) this->driver->overlay_blend (this->driver, img, overlay);
}
overlay=overlay->next;
}
+
this->driver->display_frame (this->driver, img);
-/* Control Overlay SHOW/HIDE based on PTS */
-/* FIXME: Not implemented: These all need to be put to FREE state if the slider gets moved or STOP is pressed. */
+ /* Control Overlay SHOW/HIDE based on PTS */
overlay=this->first_overlay;
count=1;
while (overlay) {
-// count++;
switch(overlay->state) {
case OVERLAY_FREE:
break;