*
* 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 <vlc/vlc.h>
-#include <vlc/decoder.h>
-
+#include <vlc_codec.h>
+#include <vlc_osd.h>
#include "vlc_bits.h"
/*****************************************************************************
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 );
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;