Changeset 543556379d3748bc9e724cbbcdd4b7c100fca3dc
- Timestamp:
- 05/01/01 14:22:18
(7 years ago)
- Author:
- Sam Hocevar <sam@videolan.org>
- git-committer:
- Sam Hocevar <sam@videolan.org> 988719738 +0000
- git-parent:
[a70f8bb371466209770c4c3bcdb7137b94acef66]
- git-author:
- Sam Hocevar <sam@videolan.org> 988719738 +0000
- Message:
- Fixed a segfault in the SPU decoder initialization.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra70f8bb |
r5435563 |
|
| 5 | 5 | HEAD |
|---|
| 6 | 6 | |
|---|
| | 7 | * Fixed a segfault in the SPU decoder initialization. |
|---|
| 7 | 8 | * Mandatory step for video output IV and the audio output quality |
|---|
| 8 | 9 | fix: the output threads are now spawned when a decoder needs one, |
|---|
| ra70f8bb |
r5435563 |
|
| 22 | 22 | --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ |
|---|
| 23 | 23 | --enable-mga --enable-gtk --enable-qt --enable-xvideo \ |
|---|
| 24 | | --disable-optimizatons |
|---|
| | 24 | --enable-debug |
|---|
| 25 | 25 | |
|---|
| 26 | 26 | |
|---|
| rac57e78 |
r5435563 |
|
| 62 | 62 | The following students were members of the VideoLAN team : |
|---|
| 63 | 63 | |
|---|
| | 64 | 1996-1997: |
|---|
| 64 | 65 | Pierre Almeras <almeras@via.ecp.fr> |
|---|
| 65 | 66 | Christophe Arnaud <christophe.arnaud@tps.fr> |
|---|
| … | … | |
| 70 | 71 | Hugo Haas <hugo@via.ecp.fr> |
|---|
| 71 | 72 | Mikael Journo <mj32@cornell.edu> |
|---|
| 72 | | Michel Lespinasse <walken@wrs.com> |
|---|
| | 73 | Michel Lespinasse <walken@zoy.org> |
|---|
| 73 | 74 | Christophe Ulses <mowgli@laotseu.via.ecp.fr> |
|---|
| 74 | 75 | Pierre Vandecasteele <pabv2@hermes.cam.ac.uk> |
|---|
| 75 | 76 | Guillaume Vergnaud <vergnaud@via.ecp.fr> |
|---|
| 76 | 77 | |
|---|
| | 78 | 1997-1998: |
|---|
| 77 | 79 | Olivier Baxa <oli@via.ecp.fr> |
|---|
| 78 | 80 | Patrice Bazerque <patrice.bazerque@via.ecp.fr> |
|---|
| … | … | |
| 84 | 86 | Olivier Pomel <pomel@via.ecp.fr> |
|---|
| 85 | 87 | |
|---|
| | 88 | 1998-1999: |
|---|
| 86 | 89 | Pierre Baillet <octplane@via.ecp.fr> |
|---|
| 87 | 90 | Alban Fonrouge <alban@via.ecp.fr> |
|---|
| … | … | |
| 94 | 97 | Benoit Steiner <benny@via.ecp.fr> |
|---|
| 95 | 98 | |
|---|
| | 99 | 1999-2000: |
|---|
| 96 | 100 | Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> |
|---|
| 97 | 101 | Jean-Marc Dressler <polux@via.ecp.fr> |
|---|
| 98 | 102 | Ga�Hendryckx <jimmy@via.ecp.fr> |
|---|
| 99 | | Samuel Hocevar <sam@via.ecp.fr> |
|---|
| | 103 | Samuel Hocevar <sam@zoy.org> |
|---|
| 100 | 104 | Brieuc Jeunhomme <bbp@via.ecp.fr> |
|---|
| 101 | 105 | Michel Kaempf <maxx@via.ecp.fr> |
|---|
| 102 | 106 | Florent Rougon <flo@via.ecp.fr> |
|---|
| 103 | 107 | |
|---|
| | 108 | 2000-2001: |
|---|
| | 109 | Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> |
|---|
| 104 | 110 | St�ane Borel <stef@via.ecp.fr> |
|---|
| 105 | 111 | Renaud Dartus <reno@via.ecp.fr> |
|---|
| 106 | 112 | Henri Fallon <henri@via.ecp.fr> |
|---|
| 107 | 113 | Jean-Michel Grimaldi <jm@via.ecp.fr> |
|---|
| | 114 | Samuel Hocevar <sam@zoy.org> |
|---|
| 108 | 115 | Damien Lucas <nitrox@via.ecp.fr> |
|---|
| 109 | 116 | R� Peyronnet <remi@via.ecp.fr> |
|---|
| ra70f8bb |
r5435563 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 1999, 2000 VideoLAN |
|---|
| 5 | | * $Id: input_ext-dec.h,v 1.31 2001/05/01 04:18:17 sam Exp $ |
|---|
| | 5 | * $Id: input_ext-dec.h,v 1.32 2001/05/01 12:22:18 sam Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 516 | 516 | typedef struct vdec_config_s |
|---|
| 517 | 517 | { |
|---|
| 518 | | struct vout_thread_s * p_vout; |
|---|
| 519 | | |
|---|
| 520 | 518 | struct picture_s * (* pf_create_picture)( struct vout_thread_s *, |
|---|
| 521 | 519 | int i_type, int i_width, |
|---|
| ra70f8bb |
r5435563 |
|
| 5 | 5 | ***************************************************************************** |
|---|
| 6 | 6 | * Copyright (C) 1999, 2000 VideoLAN |
|---|
| 7 | | * $Id: input_ext-intf.h,v 1.35 2001/05/01 04:18:17 sam Exp $ |
|---|
| | 7 | * $Id: input_ext-intf.h,v 1.36 2001/05/01 12:22:18 sam Exp $ |
|---|
| 8 | 8 | * |
|---|
| 9 | 9 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 133 | 133 | void * p_demux_data; |
|---|
| 134 | 134 | |
|---|
| 135 | | /* Decoders control */ |
|---|
| 136 | | struct vout_thread_s * p_vout; |
|---|
| 137 | | |
|---|
| 138 | 135 | int i_es_number; /* size of the following array */ |
|---|
| 139 | 136 | es_descriptor_t ** pp_es; /* array of pointers to ES */ |
|---|
| … | … | |
| 302 | 299 | /* General stream description */ |
|---|
| 303 | 300 | stream_descriptor_t stream; /* PAT tables */ |
|---|
| 304 | | |
|---|
| 305 | | /* For auto-launch of decoders */ |
|---|
| 306 | | struct vout_thread_s * p_default_vout; |
|---|
| 307 | 301 | |
|---|
| 308 | 302 | #ifdef STATS |
|---|
| ra70f8bb |
r5435563 |
|
| 213 | 213 | case 'f': |
|---|
| 214 | 214 | case 'F': |
|---|
| 215 | | p_intf->p_input->p_default_vout->i_changes |= |
|---|
| 216 | | VOUT_FULLSCREEN_CHANGE; |
|---|
| | 215 | p_main->p_vout->i_changes |= VOUT_FULLSCREEN_CHANGE; |
|---|
| 217 | 216 | break; |
|---|
| 218 | 217 | |
|---|
| ra70f8bb |
r5435563 |
|
| 5 | 5 | ***************************************************************************** |
|---|
| 6 | 6 | * Copyright (C) 1998, 1999, 2000 VideoLAN |
|---|
| 7 | | * $Id: input.c,v 1.104 2001/05/01 04:18:18 sam Exp $ |
|---|
| | 7 | * $Id: input.c,v 1.105 2001/05/01 12:22:18 sam Exp $ |
|---|
| 8 | 8 | * |
|---|
| 9 | 9 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 144 | 144 | p_input->stream.control.b_bw = 0; |
|---|
| 145 | 145 | |
|---|
| 146 | | /* Initialize default settings for spawned decoders */ |
|---|
| 147 | | p_input->p_default_vout = p_main->p_vout; |
|---|
| 148 | | |
|---|
| 149 | 146 | /* Create thread and set locks. */ |
|---|
| 150 | 147 | vlc_mutex_init( &p_input->stream.stream_lock ); |
|---|
| ra70f8bb |
r5435563 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 1999, 2000 VideoLAN |
|---|
| 5 | | * $Id: input_programs.c,v 1.54 2001/05/01 04:18:18 sam Exp $ |
|---|
| | 5 | * $Id: input_programs.c,v 1.55 2001/05/01 12:22:18 sam Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 173 | 173 | = SYNCHRO_START; |
|---|
| 174 | 174 | |
|---|
| 175 | | p_input->stream.pp_programs[i_pgrm_index]->p_vout |
|---|
| 176 | | = p_input->p_default_vout; |
|---|
| 177 | | |
|---|
| 178 | 175 | if( i_data_len ) |
|---|
| 179 | 176 | { |
|---|
| … | … | |
| 555 | 552 | return( NULL ); |
|---|
| 556 | 553 | } |
|---|
| 557 | | p_config->p_vout = p_input->p_default_vout; |
|---|
| 558 | 554 | if( InitDecConfig( p_input, p_es, &p_config->decoder_config ) == -1 ) |
|---|
| 559 | 555 | { |
|---|
| r0a4aeaa |
r5435563 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2000 VideoLAN |
|---|
| 5 | | * $Id: spu_decoder.c,v 1.38 2001/04/28 03:36:25 sam Exp $ |
|---|
| | 5 | * $Id: spu_decoder.c,v 1.39 2001/05/01 12:22:18 sam Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Samuel Hocevar <sam@zoy.org> |
|---|
| … | … | |
| 50 | 50 | #include "spu_decoder.h" |
|---|
| 51 | 51 | |
|---|
| | 52 | #include "main.h" /* XXX: remove this later */ |
|---|
| | 53 | |
|---|
| 52 | 54 | /***************************************************************************** |
|---|
| 53 | 55 | * Local prototypes |
|---|
| … | … | |
| 84 | 86 | */ |
|---|
| 85 | 87 | p_spudec->p_config = p_config; |
|---|
| | 88 | |
|---|
| 86 | 89 | p_spudec->p_fifo = p_config->decoder_config.p_decoder_fifo; |
|---|
| 87 | 90 | |
|---|
| 88 | | /* Get the video output informations */ |
|---|
| 89 | | p_spudec->p_vout = p_config->p_vout; |
|---|
| | 91 | /* XXX: The vout request and fifo opening will eventually be here */ |
|---|
| | 92 | if( p_spudec->p_vout == NULL ) |
|---|
| | 93 | { |
|---|
| | 94 | if( p_main->p_vout == NULL ) |
|---|
| | 95 | { |
|---|
| | 96 | intf_Msg( "vpar: no vout present, spawning one" ); |
|---|
| | 97 | p_main->p_vout = vout_CreateThread( NULL ); |
|---|
| | 98 | } |
|---|
| | 99 | |
|---|
| | 100 | p_spudec->p_vout = p_main->p_vout; |
|---|
| | 101 | } |
|---|
| 90 | 102 | |
|---|
| 91 | 103 | /* Spawn the spu decoder thread */ |
|---|
| ra70f8bb |
r5435563 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 1999, 2000 VideoLAN |
|---|
| 5 | | * $Id: video_parser.c,v 1.82 2001/05/01 04:18:18 sam Exp $ |
|---|
| | 5 | * $Id: video_parser.c,v 1.83 2001/05/01 12:22:18 sam Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 95 | 95 | p_vpar->p_fifo = p_config->decoder_config.p_decoder_fifo; |
|---|
| 96 | 96 | p_vpar->p_config = p_config; |
|---|
| 97 | | |
|---|
| 98 | | p_vpar->p_vout = p_config->p_vout; |
|---|
| 99 | 97 | |
|---|
| 100 | 98 | /* |
|---|
| ra70f8bb |
r5435563 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 1999, 2000 VideoLAN |
|---|
| 5 | | * $Id: vpar_headers.c,v 1.83 2001/05/01 04:18:18 sam Exp $ |
|---|
| | 5 | * $Id: vpar_headers.c,v 1.84 2001/05/01 12:22:18 sam Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 453 | 453 | |
|---|
| 454 | 454 | /* XXX: The vout request and fifo opening will eventually be here */ |
|---|
| 455 | | if( p_main->p_vout == NULL ) |
|---|
| 456 | | { |
|---|
| 457 | | intf_Msg( "vpar: no vout present, spawning one" ); |
|---|
| 458 | | p_main->p_vout = p_vpar->p_vout = vout_CreateThread( NULL ); |
|---|
| | 455 | if( p_vpar->p_vout == NULL ) |
|---|
| | 456 | { |
|---|
| | 457 | if( p_main->p_vout == NULL ) |
|---|
| | 458 | { |
|---|
| | 459 | intf_Msg( "vpar: no vout present, spawning one" ); |
|---|
| | 460 | p_main->p_vout = vout_CreateThread( NULL ); |
|---|
| | 461 | } |
|---|
| | 462 | |
|---|
| | 463 | p_vpar->p_vout = p_main->p_vout; |
|---|
| 459 | 464 | } |
|---|
| 460 | 465 | } |
|---|