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 242642f43dbb3ea88707d32e697fe8a5692749bb..12d296583027a12042a3f0e14f3e546f3d3b23ba 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 28d1df393ef16c0695b0cd9248ab8e75cf9ce82d..8c100669cb1b92a57360154dcd8adc7282fd09d5 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);
       }
     }
   }