X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcodec%2Fsvcdsub.c;h=fee067397d1253fc11d4f4aa556a8e78ce7d492d;hb=c5e9eb52b9ab32d978f6911886e2a7b1cdc27672;hp=6b0303688d7b27ac4e5c6fb0d10d28cfdf7ed38d;hpb=fe087a38282e93addb25fa9598393e40ea233b09;p=vlc diff --git a/modules/codec/svcdsub.c b/modules/codec/svcdsub.c index 6b0303688d..fee067397d 100644 --- a/modules/codec/svcdsub.c +++ b/modules/codec/svcdsub.c @@ -21,15 +21,15 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /***************************************************************************** * Preamble *****************************************************************************/ #include -#include - +#include +#include #include "vlc_bits.h" /***************************************************************************** @@ -39,17 +39,16 @@ static int DecoderOpen ( vlc_object_t * ); static int PacketizerOpen( vlc_object_t * ); static void DecoderClose ( vlc_object_t * ); -#define DEBUG_TEXT \ - "If nonzero, this gives additional debug information." \ +#define DEBUG_TEXT N_("Enable debug") -#define DEBUG_LONGTEXT \ - "This integer when viewed in binary is a debugging mask\n" \ +#define DEBUG_LONGTEXT \ + N_("This integer when viewed in binary is a debugging mask\n" \ "calls 1\n" \ - "packet assembly info 2\n" + "packet assembly info 2\n" ) vlc_module_begin(); set_description( _("Philips OGT (SVCD subtitle) decoder") ); - set_shortname( N_("SVCD subtitles")); + set_shortname( _("SVCD subtitles") ); set_category( CAT_INPUT ); set_subcategory( SUBCAT_INPUT_SCODEC ); set_capability( "decoder", 50 ); @@ -466,6 +465,8 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, block_t *p_data ) p_spu = p_dec->pf_spu_buffer_new( p_dec ); if( !p_spu ) return NULL; + p_spu->b_pausable = VLC_TRUE; + p_spu->i_x = p_sys->i_x_start; p_spu->i_y = p_sys->i_y_start; p_spu->i_start = p_data->i_pts;