mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +00:00
Original commit message from CVS: * gst/subparse/Makefile.am: * gst/subparse/gstsubparse.c: (gst_sub_parse_dispose), (gst_sub_parse_class_init), (gst_sub_parse_init), (gst_convert_to_utf8), (detect_encoding), (convert_encoding), (get_next_line), (gst_sub_parse_data_format_autodetect), (feed_textbuf), (handle_buffer), (gst_sub_parse_change_state), (gst_subparse_type_find): * gst/subparse/gstsubparse.h: Add support for UTF16/UTF32 subtitles as long as the first bytes of the first buffer contain the BOM. This also adds support for other encodings that allow NUL bytes via the encoding property. Fixes bugs #552237 and #456788.
29 lines
584 B
Makefile
29 lines
584 B
Makefile
plugin_LTLIBRARIES = libgstsubparse.la
|
|
|
|
if USE_XML
|
|
SAMIPARSE_SOURCES = samiparse.c samiparse.h
|
|
else
|
|
SAMIPARSE_SOURCES =
|
|
endif
|
|
|
|
libgstsubparse_la_SOURCES = \
|
|
gstssaparse.c \
|
|
gstssaparse.h \
|
|
gstsubparse.c \
|
|
gstsubparse.h \
|
|
$(SAMIPARSE_SOURCES) \
|
|
tmplayerparse.c \
|
|
tmplayerparse.h \
|
|
mpl2parse.c \
|
|
mpl2parse.h
|
|
|
|
libgstsubparse_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS)
|
|
libgstsubparse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstsubparse_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS)
|
|
|
|
noinst_HEADERS = \
|
|
gstssaparse.h \
|
|
gstsubparse.h \
|
|
samiparse.h \
|
|
tmplayerparse.h \
|
|
mpl2parse.h
|