diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-11-26 01:03:31 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-11-26 01:03:31 +0000 |
commit | f7c890258f736dc45ae81e2097df6c9658e93606 (patch) | |
tree | eed0d30d99ebbdc649d7fb20329ec2911357b877 /src/libspudec | |
parent | 1daacd9d5b53cac2671d2bd9c93a3daa629254ea (diff) | |
download | xine-lib-f7c890258f736dc45ae81e2097df6c9658e93606.tar.gz xine-lib-f7c890258f736dc45ae81e2097df6c9658e93606.tar.bz2 |
* new unscaled overlay feature (using XShape extension)
text subtitles may now be rendered at full screen resolution
* load xine fonts on demand - faster startup
note: support added to xv, xshm and vidix
CVS patchset: 5780
CVS date: 2003/11/26 01:03:31
Diffstat (limited to 'src/libspudec')
-rw-r--r-- | src/libspudec/spu.c | 3 | ||||
-rw-r--r-- | src/libspudec/xine_decoder.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/libspudec/spu.c b/src/libspudec/spu.c index 2270f6bb3..cd4219781 100644 --- a/src/libspudec/spu.c +++ b/src/libspudec/spu.c @@ -35,7 +35,7 @@ * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: spu.c,v 1.71 2003/11/12 17:53:01 mroi Exp $ + * $Id: spu.c,v 1.72 2003/11/26 01:03:31 miguelfreitas Exp $ * */ @@ -752,6 +752,7 @@ static void spudec_draw_picture (spudec_state_t *state, spudec_seq_t* seq, vo_ov ovl->num_rle = rle - ovl->rle; ovl->rgb_clut = 0; + ovl->unscaled = 0; #ifdef LOG_DEBUG printf ("spu: Num RLE=%d\n",ovl->num_rle); printf ("spu: Date size=%d\n",ovl->data_size); diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_decoder.c index 1ef5bc841..3207f78dc 100644 --- a/src/libspudec/xine_decoder.c +++ b/src/libspudec/xine_decoder.c @@ -19,7 +19,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: xine_decoder.c,v 1.100 2003/10/23 20:12:33 mroi Exp $ + * $Id: xine_decoder.c,v 1.101 2003/11/26 01:03:32 miguelfreitas Exp $ * * stuff needed to turn libspu into a xine decoder plugin */ @@ -312,7 +312,7 @@ static spu_decoder_t *open_plugin (spu_decoder_class_t *class_gen, xine_stream_t this->menu_handle = -1; this->buttonN = 1; - this->event.object.overlay = malloc(sizeof(vo_overlay_t)); + this->event.object.overlay = xine_xmalloc(sizeof(vo_overlay_t)); pthread_mutex_init(&this->nav_pci_lock, NULL); |