mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
81558d6a94
Original commit message from CVS: * gst/playback/Makefile.am: * gst/playback/gstscreenshot.c: (feed_fakesrc), (save_result), (create_element), (gst_play_frame_conv_convert): * gst/playback/gstscreenshot.h: Add screenshot conversion code from totem. * gst/playback/gstplay-marshal.list: * gst/playback/gstplaybin2.c: (gst_play_marshal_BUFFER__BOXED), (gst_play_bin_class_init), (gst_play_bin_convert_frame), (gst_play_bin_get_property), (no_more_pads_cb), (activate_group): Implement frame property to get a color-unconverted snapshot. Implement convert-frame action signal to get a converted snapshot image. Configure connection speed in uridecodebin. Document some more properties. * gst/playback/gstplaysink.c: (gst_play_sink_class_init), (gen_video_chain), (gen_audio_chain), (gst_play_sink_reconfigure), (gst_play_sink_get_last_frame): * gst/playback/gstplaysink.h: Use last-buffer property of the video sink to get a video snapshot. * tests/examples/seek/seek.c: (shot_cb), (main): Add snapshot button for playbin2 and use the frame property to save the frame as a png in the current directory.
94 lines
2.5 KiB
Makefile
94 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 \
|
|
gstscreenshot.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 \
|
|
gstscreenshot.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
|