summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-04-26 13:25:51 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-04-26 13:25:51 +0000
commit6b406dc143e014558bf5cf0e15992599ff450945 (patch)
tree802d76ce38ae3c4511c9e5a853ecc8e84ecc982a /ext
parent7c41bba5893964db937cdeb4ffe34982d91ee672 (diff)
Various small fixes for compile problems
Original commit message from CVS: Various small fixes for compile problems
Diffstat (limited to 'ext')
-rw-r--r--ext/dv/Makefile.am12
-rw-r--r--ext/dv/gstdvdec.c6
2 files changed, 9 insertions, 9 deletions
diff --git a/ext/dv/Makefile.am b/ext/dv/Makefile.am
index fb276045..df26aec2 100644
--- a/ext/dv/Makefile.am
+++ b/ext/dv/Makefile.am
@@ -9,12 +9,12 @@ libgstdvdec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstdvdec.h
-if HAVE_GTK
-noinst_PROGRAMS = demo-play
-endif
+#if HAVE_GTK
+#noinst_PROGRAMS = demo-play
+#endif
-demo_play_SOURCES = demo-play.c
-demo_play_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
-demo_play_LDFLAGS = $(GST_LIBS) $(GTK_LIBS)
+#demo_play_SOURCES = demo-play.c
+#demo_play_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
+#demo_play_LDFLAGS = $(GST_LIBS) $(GTK_LIBS)
EXTRA_DIST = NOTES
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index e0d6282b..e2acb470 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -199,7 +199,7 @@ gst_dvdec_class_init (GstDVDecClass *klass)
gstelement_class->change_state = gst_dvdec_change_state;
/* table initialization, only do once */
- dv_init();
+ dv_init(0, 0);
}
/* This function is responsible for initializing a specific instance of
@@ -219,7 +219,7 @@ gst_dvdec_init(GstDVDec *dvdec)
gst_element_set_loop_function (GST_ELEMENT (dvdec), gst_dvdec_loop);
- dvdec->decoder = dv_decoder_new ();
+ dvdec->decoder = dv_decoder_new (0, 0, 0);
dvdec->decoder->quality = DV_QUALITY_BEST;
dvdec->pool = NULL;
}
@@ -313,7 +313,7 @@ gst_dvdec_loop (GstElement *element)
trylist = gst_caps_normalize (trylist);
while (trylist) {
- GstCaps *to_try = gst_caps_copy_1 (trylist);
+ GstCaps *to_try = gst_caps_copy_first (trylist);
/* try each format */
if (gst_pad_try_set_caps (dvdec->videosrcpad, to_try)) {