[vlc-devel] commit: subtitle demux: add comment about how to enable auto detection. ( Derk-Jan Hartman )
git version control
git at videolan.org
Tue Sep 2 12:00:00 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Tue Sep 2 12:02:54 2008 +0200| [903453e34b34b2361bfe7c2e17b1dfc5d544ac6e] | committer: Derk-Jan Hartman
subtitle demux: add comment about how to enable auto detection.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=903453e34b34b2361bfe7c2e17b1dfc5d544ac6e
---
modules/demux/subtitle.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
index 8883d12..3eef59b 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -215,6 +215,9 @@ static const struct
{ "subviewer1", SUB_TYPE_SUBVIEW1, "Subviewer 1", ParseSubViewer1 },
{ NULL, SUB_TYPE_UNKNOWN, "Unknown", NULL }
};
+/* When adding support for more formats, be sure to add their file extension
+ * to src/input/subtitles.c to enable auto-detection.
+ */
static int Demux( demux_t * );
static int Control( demux_t *, int, va_list );
More information about the vlc-devel
mailing list