mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
79c13b713e
Co-Authored by: Thibault Saunier <tsaunier@gnome.org> From a high level perspective, the new process for seeking h264 streams is as follows: 1) Rewind the stream until we find the first I-slice of a frame, and mark its offset in the stream. 2) Rewind the stream until we find SPS and PPS informations, to make sure the subsequent parser is up to date. 3) Accumulate optionnal SEI NAL units on the way. 4) Push the SPS, PPS and SEI units before the new keyframe. https://bugzilla.gnome.org/show_bug.cgi?id=675132
44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
plugin_LTLIBRARIES = libgstmpegtsdemux.la
|
|
|
|
libgstmpegtsdemux_la_SOURCES = \
|
|
mpegtspacketizer.c \
|
|
mpegtsbase.c \
|
|
mpegtsparse.c \
|
|
tsdemux.c \
|
|
gsttsdemux.c \
|
|
pesparse.c
|
|
|
|
libgstmpegtsdemux_la_CFLAGS = \
|
|
$(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
libgstmpegtsdemux_la_LIBADD = \
|
|
$(top_builddir)/gst-libs/gst/mpegts/libgstmpegts-$(GST_API_VERSION).la \
|
|
$(top_builddir)/gst-libs/gst/codecparsers/libgstcodecparsers-$(GST_API_VERSION).la \
|
|
$(GST_PLUGINS_BASE_LIBS) -lgsttag-$(GST_API_VERSION) \
|
|
-lgstpbutils-@GST_API_VERSION@ \
|
|
$(GST_BASE_LIBS) $(GST_LIBS)
|
|
libgstmpegtsdemux_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstmpegtsdemux_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
|
|
|
noinst_HEADERS = \
|
|
gstmpegdefs.h \
|
|
gstmpegdesc.h \
|
|
mpegtsbase.h \
|
|
mpegtspacketizer.h \
|
|
mpegtsparse.h \
|
|
tsdemux.h \
|
|
pesparse.h
|
|
|
|
Android.mk: Makefile.am $(BUILT_SOURCES)
|
|
androgenizer \
|
|
-:PROJECT libgstmpegtsdemux -:SHARED libgstmpegtsdemux \
|
|
-:TAGS eng debug \
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
|
-:SOURCES $(libgstmpegtsdemux_la_SOURCES) \
|
|
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstmpegtsdemux_la_CFLAGS) \
|
|
-:LDFLAGS $(libgstmpegtsdemux_la_LDFLAGS) \
|
|
$(libgstmpegtsdemux_la_LIBADD) \
|
|
-ldl \
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
|
|
> $@
|