[vlc-commits] Update NEWS, LIST and subtitles extensions for STL

Jean-Baptiste Kempf git at videolan.org
Sun Jun 5 19:16:37 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jun  5 19:15:18 2011 +0200| [9fc20c0a4fe33c9acde613910c04cb28cce6b3eb] | committer: Jean-Baptiste Kempf

Update NEWS, LIST and subtitles extensions for STL

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9fc20c0a4fe33c9acde613910c04cb28cce6b3eb
---

 NEWS                    |    4 +++-
 include/vlc_interface.h |    2 +-
 modules/LIST            |    2 ++
 src/input/subtitles.c   |    2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index 36818b4..a7e1ebb 100644
--- a/NEWS
+++ b/NEWS
@@ -47,13 +47,15 @@ Codecs:
  * Experimental Hardware decoding using Broadcom CrystalHD cards
  * New module for Dirac encoding, using the faster libschroedinger
    The Schroedinger module should be prefered to the Dirac one
+ * New module for decoding EBU subtitles (.stl)
 
 Demuxers:
- * new images demuxer supporting jpeg, png, targa, xcf, git, tiff, bmp, pcx, lbm
+ * New images demuxer supporting jpeg, png, targa, xcf, git, tiff, bmp, pcx, lbm
  * C64 SID file playback support using sidplay2
  * Ogg seeking improvements
  * Support for images/cover art in wma/wmv/asf files
  * Improvements in .ape files metadata reading and writing
+ * New demuxer module for EBU subtitles (.stl)
 
 Interfaces:
  * Skins2 / Qt: misc improvements and usability fixes
diff --git a/include/vlc_interface.h b/include/vlc_interface.h
index 0bdfd9e..152ddc7 100644
--- a/include/vlc_interface.h
+++ b/include/vlc_interface.h
@@ -236,7 +236,7 @@ typedef enum vlc_dialog {
                           EXTENSIONS_PLAYLIST
 
 #define EXTENSIONS_SUBTITLE "*.cdg;*.idx;*.srt;*.sub;*.utf;*.ass;*.ssa;*.aqt;" \
-                            "*.jss;*.psb;*.rt;*.smi;*.txt;*.smil"
+                            "*.jss;*.psb;*.rt;*.smi;*.txt;*.smil;*.stl"
 
 /** \defgroup vlc_interaction Interaction
  * \ingroup vlc_interface
diff --git a/modules/LIST b/modules/LIST
index 4da818e..ad05107 100644
--- a/modules/LIST
+++ b/modules/LIST
@@ -87,6 +87,7 @@ $Id$
  * decomp: Decompression module
  * deinterlace: naive deinterlacing filter
  * demux_cdg: Demuxer for CD-G files (Karaoke)
+ * demux_stl: EBU STL subtitles demuxer
  * demuxdump: Pseudo-demuxer that dumps the stream
  * dirac: BBC Dirac codec
  * direct2d: video output module using the Direct2D API
@@ -288,6 +289,7 @@ $Id$
  * spudec: RLE DVD subtitles decoder
  * sqlite: manage an SQLite database
  * stats: Stats encoder function
+ * stl: EBU STL decoder
  * stream_filter_httplive: HTTP Live streaming for playback
  * stream_filter_rar: Stream filter to read inside Rar files
  * stream_filter_record: record any stream instantly
diff --git a/src/input/subtitles.c b/src/input/subtitles.c
index 94231ea..4a65687 100644
--- a/src/input/subtitles.c
+++ b/src/input/subtitles.c
@@ -60,7 +60,7 @@ static const char const sub_exts[][6] = {
     "rt",   "aqt", "txt",
     "usf", "jss",  "cdg",
     "psb", "mpsub","mpl2",
-    "pjs", "dks",
+    "pjs", "dks", "stl",
     ""
 };
 



More information about the vlc-commits mailing list