Commit 9be8a6f4 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

dv: port to 0.11

parent 92a0c017
......@@ -314,7 +314,7 @@ dnl Make sure you have a space before and after all plugins
GST_PLUGINS_NONPORTED="deinterlace interleave flx goom2k1 \
imagefreeze interleave monoscope smpte \
videobox \
cairo cairo_gobject dv1394 gdk_pixbuf libdv \
cairo cairo_gobject dv1394 gdk_pixbuf \
oss oss4 shout2 \
wavpack \
osx_video osx_audio "
......
......@@ -3,8 +3,8 @@ plugin_LTLIBRARIES = libgstdv.la
libgstdv_la_SOURCES = gstdv.c gstdvdec.c gstdvdemux.c gstsmptetimecode.c
libgstdv_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LIBDV_CFLAGS)
libgstdv_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) \
$(GST_BASE_LIBS) $(GST_LIBS) $(LIBDV_LIBS)
$(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) -lgstvideo-$(GST_MAJORMINOR) \
$(GST_BASE_LIBS) $(GST_LIBS) $(LIBDV_LIBS)
libgstdv_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstdv_la_LIBTOOLFLAGS = --tag=disable-static
......
This diff is collapsed.
......@@ -23,6 +23,8 @@
#include <gst/gst.h>
#include <gst/video/video.h>
#include <libdv/dv.h>
......@@ -63,6 +65,7 @@ struct _GstDVDec {
/* input caps */
gboolean sink_negotiated;
GstVideoInfo vinfo;
gint framerate_numerator;
gint framerate_denominator;
gint height;
......@@ -78,7 +81,8 @@ struct _GstDVDec {
gint video_offset;
gint drop_factor;
GstSegment *segment;
GstBufferPool *pool;
GstSegment segment;
};
struct _GstDVDecClass {
......
This diff is collapsed.
......@@ -75,7 +75,6 @@ struct _GstDVDemux {
GstDVDemuxSeekHandler seek_handler;
GstSegment byte_segment;
GstSegment time_segment;
gboolean running;
gboolean need_segment;
gboolean new_media;
int frames_since_new_media;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment