mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
f2f9bf045b
Original commit message from CVS: * gst/playback/Makefile.am: Group decodebin2 and uridecodebin into the same plugin so that they can share the GEnumType. * gst/playback/gstdecodebin2.c: (_gst_array_accumulator), (_gst_select_accumulator), (gst_decode_bin_class_init), (gst_decode_bin_init), (gst_decode_bin_autoplug_sort), (gst_decode_bin_autoplug_select), (gst_decode_bin_autoplug_add), (analyze_new_pad), (connect_pad), (gst_decode_bin_plugin_init): Add signal to sort factories instead of the more awkward autoplug-select signal. Modify autoplug_select so that we can try, skip or expose the autopluggin of an element on a pad. * gst/playback/gstfactorylists.c: (compare_ranks), (decoders_filter), (sinks_filter), (gst_factory_list_is_type), (element_filter), (gst_factory_list_get_elements), (gst_factory_list_debug), (gst_factory_list_filter): * gst/playback/gstfactorylists.h: Simplify the API, allow getting elements based on mask. * gst/playback/gstplay-marshal.list: Add some more marshallers. * gst/playback/gstplaybin2.c: (init_group), (gst_play_bin_init), (gst_play_bin_finalize), (pad_removed_cb), (autoplug_factories_cb), (autoplug_select_cb), (activate_group): Add support for managing non-raw sinks by providing a custom element and sink list to decodebin2. Try to plug non-raw sinks when decodebin2 using autoplug-select of decodebin2. * gst/playback/gstplaysink.c: (gen_video_chain), (gen_audio_chain), (gst_play_sink_set_mode), (gst_play_sink_request_pad): * gst/playback/gstplaysink.h: Add support for raw and non-raw sinks. Add support to force sinks selected by playbin2. Don't plug raw converters for non-raw sinks. * gst/playback/gsturidecodebin.c: (_gst_array_accumulator), (_gst_select_accumulator), (gst_uri_decode_bin_class_init), (proxy_autoplug_select_signal), (gst_uri_decode_bin_plugin_init), (plugin_init): Use right accumulators. Proxy new signal.
92 lines
2.5 KiB
Makefile
92 lines
2.5 KiB
Makefile
glib_enum_define=GST_PLAY
|
|
glib_enum_prefix=gst_play
|
|
|
|
built_sources = gstplay-marshal.c
|
|
|
|
built_headers = gstplay-marshal.h
|
|
|
|
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
|
|
|
|
plugin_LTLIBRARIES = libgstplaybin.la libgstdecodebin.la libgstdecodebin2.la libgstqueue2.la
|
|
|
|
libgstplaybin_la_SOURCES = \
|
|
gstplayback.c \
|
|
gstplaybin.c \
|
|
gstplaybin2.c \
|
|
gstplaysink.c \
|
|
gstplaybasebin.c \
|
|
gstplay-enum.c \
|
|
gstfactorylists.c \
|
|
gststreaminfo.c \
|
|
gststreamselector.c
|
|
|
|
nodist_libgstplaybin_la_SOURCES = $(built_sources)
|
|
libgstplaybin_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
|
libgstplaybin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstplaybin_la_LIBADD = \
|
|
$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la \
|
|
$(GST_LIBS)
|
|
|
|
libgstdecodebin_la_SOURCES = gstdecodebin.c
|
|
nodist_libgstdecodebin_la_SOURCES = $(built_sources)
|
|
libgstdecodebin_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
|
libgstdecodebin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstdecodebin_la_LIBADD = \
|
|
$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la \
|
|
$(GST_LIBS)
|
|
|
|
libgstdecodebin2_la_SOURCES = gstdecodebin2.c gsturidecodebin.c gstfactorylists.c gstplay-enum.c
|
|
nodist_libgstdecodebin2_la_SOURCES = $(built_sources)
|
|
libgstdecodebin2_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
|
libgstdecodebin2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstdecodebin2_la_LIBADD = \
|
|
$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la \
|
|
$(GST_LIBS)
|
|
|
|
libgstqueue2_la_SOURCES = gstqueue2.c
|
|
nodist_libgstqueue2_la_SOURCES = $(built_sources)
|
|
libgstqueue2_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
|
libgstqueue2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstqueue2_la_LIBADD = $(GST_LIBS)
|
|
|
|
noinst_HEADERS = \
|
|
gstplaybasebin.h \
|
|
gstplaysink.h \
|
|
gststreaminfo.h \
|
|
gstfactorylists.h \
|
|
gstplay-enum.h \
|
|
gststreamselector.h
|
|
|
|
noinst_PROGRAMS = test decodetest test2 test3 test4 test5 test6 test7
|
|
|
|
test_LDADD = $(GST_LIBS)
|
|
test_CFLAGS = $(GST_CFLAGS)
|
|
|
|
test2_LDADD = $(GST_LIBS)
|
|
test2_CFLAGS = $(GST_CFLAGS)
|
|
|
|
test3_LDADD = $(GST_LIBS)
|
|
test3_CFLAGS = $(GST_CFLAGS)
|
|
|
|
test4_LDADD = $(GST_LIBS)
|
|
test4_CFLAGS = $(GST_CFLAGS)
|
|
|
|
test5_LDADD = $(GST_LIBS)
|
|
test5_CFLAGS = $(GST_CFLAGS)
|
|
|
|
test6_LDADD = $(GST_LIBS)
|
|
test6_CFLAGS = $(GST_CFLAGS)
|
|
|
|
test7_LDADD = $(GST_LIBS)
|
|
test7_CFLAGS = $(GST_CFLAGS)
|
|
|
|
decodetest_LDADD = $(GST_LIBS)
|
|
decodetest_CFLAGS = $(GST_CFLAGS)
|
|
|
|
BUILT_SOURCES = $(built_headers) $(built_sources)
|
|
|
|
EXTRA_DIST = gstplay-marshal.list
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
include $(top_srcdir)/common/glib-gen.mak
|