diff options
author | Rich J Wareham <richwareham@users.sourceforge.net> | 2001-07-25 23:26:14 +0000 |
---|---|---|
committer | Rich J Wareham <richwareham@users.sourceforge.net> | 2001-07-25 23:26:14 +0000 |
commit | 5720d1a5ca1544769c98f10c4032ffacd7c8ae9e (patch) | |
tree | f7edf8aaf13c36c3dbd6c7a02341a29398955f8e /src/xine-engine/video_out.c | |
parent | 1a8845d5b0190c82c32340433a6dd7f9d1d9660c (diff) | |
download | xine-lib-5720d1a5ca1544769c98f10c4032ffacd7c8ae9e.tar.gz xine-lib-5720d1a5ca1544769c98f10c4032ffacd7c8ae9e.tar.bz2 |
A few small changes to help in some specific cases. Also a nasty hack added temporarily
CVS patchset: 348
CVS date: 2001/07/25 23:26:14
Diffstat (limited to 'src/xine-engine/video_out.c')
-rw-r--r-- | src/xine-engine/video_out.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index 838423c42..f9ebefe15 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.36 2001/07/24 12:57:30 guenter Exp $ + * $Id: video_out.c,v 1.37 2001/07/25 23:26:14 richwareham Exp $ * */ @@ -574,6 +574,7 @@ static vo_overlay_t *vo_get_overlay (vo_instance_t *this) { if (this->first_overlay==NULL) { this->first_overlay = this->last_overlay = xmalloc (sizeof (vo_overlay_t)) ; this->first_overlay->data=NULL; + this->first_overlay->clut_tbl=NULL; this->first_overlay->next=NULL; this->first_overlay->priv=NULL; this->first_overlay->state=OVERLAY_CREATING; @@ -601,10 +602,12 @@ static vo_overlay_t *vo_get_overlay (vo_instance_t *this) { } static void vo_queue_overlay (vo_instance_t *this, vo_overlay_t *overlay) { - overlay->PTS = this->metronom->got_spu_packet (this->metronom, overlay->PTS,overlay->duration); - if (overlay->data==NULL) overlay->state=OVERLAY_FREE; - else overlay->state=OVERLAY_READY_TO_SHOW; + if (overlay->data==NULL) { + overlay->state=OVERLAY_FREE; + } else { + overlay->state=OVERLAY_READY_TO_SHOW; + } } vo_instance_t *vo_new_instance (vo_driver_t *driver, metronom_t *metronom) { |