gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For float, "any" caps...
authorAndy Wingo <wingo@pobox.com>
Sun, 11 Jul 2004 11:21:56 +0000 (11:21 +0000)
committerAndy Wingo <wingo@pobox.com>
Sun, 11 Jul 2004 11:21:56 +0000 (11:21 +0000)
Original commit message from CVS:
2004-07-11  Andy Wingo  <wingo@pobox.com>

* gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For
float, "any" caps -> buffer_frames=[0,MAX].

* gst/interleave/interleave.c (interleave_getcaps): Seems the core
doesn't intersect our caps with the template any more. Do it
ourselves.
(interleave_buffered_loop): Use g_newa instead of malloc/free.

ChangeLog
gst/audioconvert/gstaudioconvert.c

index 242642f..12d2965 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-07-11  Andy Wingo  <wingo@pobox.com>
+
+       * gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For
+       float, "any" caps -> buffer_frames=[0,MAX].
+
+       * gst/interleave/interleave.c (interleave_getcaps): Seems the core
+       doesn't intersect our caps with the template any more. Do it
+       ourselves.
+       (interleave_buffered_loop): Use g_newa instead of malloc/free.
+
 2004-07-09  Wim Taymans  <wim@fluendo.com>
 
        * examples/seeking/seek.c: (iterate):
index 28d1df3..8c10066 100644 (file)
@@ -403,7 +403,8 @@ gst_audio_convert_link (GstPad * pad, const GstCaps * caps)
         gst_structure_set (structure, "buffer-frames", G_TYPE_INT,
             ac_caps.buffer_frames, NULL);
       } else {
-        gst_structure_set (structure, "buffer-frames", G_TYPE_INT, 0, NULL);
+        gst_structure_set (structure, "buffer-frames", GST_TYPE_INT_RANGE, 0,
+            G_MAXINT, NULL);
       }
     }
   }