Put psb in NEWS, interface and options.

This commit is contained in:
Jean-Baptiste Kempf 2008-05-13 12:48:01 -07:00
parent 719151d261
commit 99c7892b37
3 changed files with 6 additions and 4 deletions

1
NEWS
View File

@ -108,6 +108,7 @@ Subtitles:
* JacoSub subtitles basic support
* MPL2 subtitles support
* Rewrite of ASS/SSA scripts and subtitles support.
* PowerDivx (.psb) Subtitles support
Encoders:
* Flash Screen Video support

View File

@ -203,7 +203,7 @@ typedef enum vlc_dialog {
EXTENSIONS_PLAYLIST
#define EXTENSIONS_SUBTITLE "*.cdg;*.idx;*.srt;*.sub;*.utf;*.ass;*.ssa;*.aqt;" \
"*.jss"
"*.jss;*.psb"
/** \defgroup vlc_interaction Interaction
* \ingroup vlc_interface

View File

@ -59,13 +59,13 @@ static void Close( vlc_object_t *p_this );
N_("Force the subtiles format. Valid values are : \"microdvd\", " \
"\"subrip\", \"ssa1\", \"ssa2-4\", \"ass\", \"vplayer\" " \
"\"sami\", \"dvdsubtitle\", \"mpl2\", \"aqt\", \"pjs\" "\
"\"mpsub\" \"jacosub\" and \"auto\" (meaning autodetection, this " \
"\"mpsub\" \"jacosub\" \"psb\" and \"auto\" (meaning autodetection, this " \
"should always work).")
static const char *ppsz_sub_type[] =
{
"auto", "microdvd", "subrip", "subviewer", "ssa1",
"ssa2-4", "ass", "vplayer", "sami", "dvdsubtitle", "mpl2",
"aqt", "pjs", "mpsub", "jacosub"
"aqt", "pjs", "mpsub", "jacosub", "psb"
};
vlc_module_begin();
@ -369,7 +369,8 @@ static int Open ( vlc_object_t *p_this )
{
p_sys->i_type = SUB_TYPE_PJS;
}
else if( sscanf( s, "{%d:%d:%d}", &i_dummy, &i_dummy, &i_dummy ) == 3 )
else if( sscanf( s, "{%d:%d:%d}",
&i_dummy, &i_dummy, &i_dummy ) == 3 )
{
p_sys->i_type = SUB_TYPE_PSB;
}