configure.ac: Brackets cause autoconf errors. So remove them.
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Thu, 4 Mar 2004 13:21:53 +0000 (13:21 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Thu, 4 Mar 2004 13:21:53 +0000 (13:21 +0000)
Original commit message from CVS:
* configure.ac:
Brackets cause autoconf errors. So remove them.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
Actually use the event/convert/query functions. D'oh.

ChangeLog
configure.ac
ext/ffmpeg/gstffmpegdemux.c

index 3f18256..273e514 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-03-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>
+
+       * configure.ac:
+         Brackets cause autoconf errors. So remove them.
+       * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
+         Actually use the event/convert/query functions. D'oh.
+
 2004-03-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>
 
        * configure.ac:
index de0b6f6..12e03a4 100644 (file)
@@ -84,7 +84,7 @@ GST_CHECK_FEATURE(FFMPEG, [ffmpeg plug-ins], ffmpeg, [
   if test "x$GST_PLUGINS_VERSION_NANO" = x1; then
     AC_MSG_NOTICE(slurping FFmpeg CVS source)
     dnl until someone fixes this... I guess this should be in ./autogen.sh
-    AS_SLURP_FFMPEG(gst-libs/ext/ffmpeg, 2004-02-29 20:00 GMT,[
+    AS_SLURP_FFMPEG(gst-libs/ext/ffmpeg, 2004-02-29 20:00 GMT,
       if ! test -f gst-libs/ext/ffmpeg/ffmpeg/configure.ac; then
         AC_MSG_NOTICE(setting up ffmpeg build system and applying patches)
         CURDIR=`pwd`
@@ -97,7 +97,7 @@ GST_CHECK_FEATURE(FFMPEG, [ffmpeg plug-ins], ffmpeg, [
         NOCONFIGURE=1 ./autogen.sh
         cd $CURDIR
       fi
-      HAVE_FFMPEG=yes ], HAVE_FFMPEG=no)
+      HAVE_FFMPEG=yes, HAVE_FFMPEG=no)
   else
     AC_MSG_NOTICE(FFmpeg CVS code should be included already)
     HAVE_FFMPEG=yes
index bdb85c6..94840fa 100644 (file)
@@ -493,7 +493,12 @@ gst_ffmpegdemux_add (GstFFMpegDemux *demux,
   g_free (padname);
 
   gst_pad_use_explicit_caps (pad);
-  /* FIXME: srcevent(), convert() and query() functions for pad */
+  gst_pad_set_formats_function (pad, gst_ffmpegdemux_src_format_list);
+  gst_pad_set_event_mask_function (pad, gst_ffmpegdemux_src_event_mask);
+  gst_pad_set_event_function (pad, gst_ffmpegdemux_src_event);
+  gst_pad_set_query_type_function (pad, gst_ffmpegdemux_src_query_list);
+  gst_pad_set_query_function (pad, gst_ffmpegdemux_src_query);
+  gst_pad_set_convert_function (pad, gst_ffmpegdemux_src_convert);
 
   /* store pad internally */
   demux->srcpads[stream->index] = pad;