mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
add media-info to spec commit patch from Jan Schmidt for raw1394 plugin
Original commit message from CVS: add media-info to spec commit patch from Jan Schmidt for raw1394 plugin
This commit is contained in:
parent
bcf4679ab3
commit
230f3f84af
5 changed files with 13 additions and 5 deletions
|
@ -687,7 +687,7 @@ GST_CHECK_FEATURE(OPENQUICKTIME, [Open Quicktime], quicktime_parser quicktime_de
|
|||
dnl *** raw1394 ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_RAW1394, true)
|
||||
GST_CHECK_FEATURE(RAW1394, [raw1394 library], dv1394src, [
|
||||
GST_CHECK_LIBHEADER(RAW1394, raw1394, raw1394_get_handle,, libraw1394/raw1394.h, RAW1394_LIBS="-raw1394")
|
||||
GST_CHECK_LIBHEADER(RAW1394, raw1394, raw1394_new_handle,, libraw1394/raw1394.h, RAW1394_LIBS="-lraw1394")
|
||||
AC_SUBST(RAW1394_LIBS)
|
||||
])
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgst1394.la
|
|||
|
||||
libgst1394_la_SOURCES = gst1394.c gstdv1394src.c
|
||||
libgst1394_la_CFLAGS = $(GST_CFLAGS)
|
||||
libgst1394_la_LIBADD = $(raw1394_LIBS)
|
||||
libgst1394_la_LIBADD = $(RAW1394_LIBS)
|
||||
libgst1394_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
|
||||
noinst_HEADERS = gstdv1394src.h
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <gst/gst.h>
|
||||
|
||||
|
||||
#include "dv1394src.h"
|
||||
#include "gstdv1394src.h"
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails gst_dv1394src_details = {
|
||||
|
|
|
@ -31,6 +31,7 @@ enum {
|
|||
ARG_0
|
||||
};
|
||||
|
||||
#if 0
|
||||
static GstPadTemplate*
|
||||
gst_dv1394src_factory (void)
|
||||
{
|
||||
|
@ -51,6 +52,7 @@ gst_dv1394src_factory (void)
|
|||
}
|
||||
return template;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void gst_dv1394src_class_init (GstDV1394SrcClass *klass);
|
||||
static void gst_dv1394src_init (GstDV1394Src *filter);
|
||||
|
@ -171,7 +173,8 @@ fprintf(stderr,".");
|
|||
}
|
||||
|
||||
static
|
||||
int gst_dv1394src_bus_reset(raw1394handle_t handle) {
|
||||
int gst_dv1394src_bus_reset(raw1394handle_t handle,
|
||||
unsigned int generation) {
|
||||
GST_INFO_ELEMENT(0,GST_DV1394SRC(raw1394_get_userdata(handle)),"have bus reset");
|
||||
return 0;
|
||||
}
|
||||
|
@ -198,7 +201,7 @@ gst_dv1394src_change_state (GstElement *element)
|
|||
|
||||
switch (GST_STATE_TRANSITION (element)) {
|
||||
case GST_STATE_NULL_TO_READY:
|
||||
if ((dv1394src->handle = raw1394_get_handle()) == NULL) {
|
||||
if ((dv1394src->handle = raw1394_new_handle()) == NULL) {
|
||||
GST_INFO_ELEMENT(0,dv1394src,"can't get raw1394 handle");
|
||||
return GST_STATE_FAILURE;
|
||||
}
|
||||
|
|
|
@ -106,6 +106,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|||
%{_libdir}/gst/libgstresample.so
|
||||
%{_libdir}/gst/libgstriff.so
|
||||
%{_libdir}/gst/libgstvideo.so
|
||||
%{_libdir}/gst/libgstmedia-info.so.0.0.0
|
||||
|
||||
%package -n gstreamer-plugins-devel
|
||||
Summary: GStreamer Plugin Library Headers.
|
||||
|
@ -125,6 +126,7 @@ GStreamer support libraries header files.
|
|||
%{_includedir}/gst-plugins-%{version}/gst/riff/riff.h
|
||||
%{_includedir}/gst-plugins-%{version}/gst/video/video.h
|
||||
%{_includedir}/gst-plugins-%{version}/gst/play/play.h
|
||||
%{_includedir}/gst-plugins-%{version}/gst/media-info.h
|
||||
%{_datadir}/aclocal/gst-element-check.m4
|
||||
%{_libdir}/pkgconfig/gstreamer-libs.pc
|
||||
%{_libdir}/pkgconfig/gstreamer-play.pc
|
||||
|
@ -1503,6 +1505,9 @@ This package contains a basic audio and video playback library.
|
|||
|
||||
#
|
||||
%changelog
|
||||
* Fri Nov 15 2002 Christian F.K. Schaller <Uraeus@gnome.org>
|
||||
- Add media-info files
|
||||
|
||||
* Fri Nov 01 2002 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
- don't use compprep until ABI issues can be fixed
|
||||
|
||||
|
|
Loading…
Reference in a new issue