diff options
author | Leif Johnson <leif@ambient.2y.net> | 2002-01-22 04:44:21 +0000 |
---|---|---|
committer | Leif Johnson <leif@ambient.2y.net> | 2002-01-22 04:44:21 +0000 |
commit | d3e8b42dfe3451d9ac6f9a720d47ded3b1f864ee (patch) | |
tree | 23597552db61328537f7fd16c35af484bef3f388 /gst/playondemand/filter.func | |
parent | 1924c5ce0c50578ea3fea2ddb986b3d6d18047d0 (diff) | |
download | gst-plugins-bad-d3e8b42dfe3451d9ac6f9a720d47ded3b1f864ee.tar.gz gst-plugins-bad-d3e8b42dfe3451d9ac6f9a720d47ded3b1f864ee.tar.bz2 gst-plugins-bad-d3e8b42dfe3451d9ac6f9a720d47ded3b1f864ee.zip |
Updated to work with the new capsnego stuff.
Original commit message from CVS:
Updated to work with the new capsnego stuff.
Diffstat (limited to 'gst/playondemand/filter.func')
-rw-r--r-- | gst/playondemand/filter.func | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gst/playondemand/filter.func b/gst/playondemand/filter.func index 08bc2f97..2c11717b 100644 --- a/gst/playondemand/filter.func +++ b/gst/playondemand/filter.func @@ -64,14 +64,7 @@ do { } else { j = 0; - if (filter->srcpool) { - out = gst_buffer_new_from_pool(filter->srcpool, 0, 0); - } else { - out = gst_buffer_new(); - - GST_BUFFER_DATA(out) = (gchar *) g_new(_TYPE_, POD_GSTBUFSIZE / sizeof(_TYPE_)); - GST_BUFFER_SIZE(out) = POD_GSTBUFSIZE; - } + out = gst_buffer_new_from_pool(filter->bufpool, 0, 0); } /******************************************************************************/ |