1.1 --- a/gst-plugins-mythtv/src/gstmythtvsrc.c Mon Dec 18 22:19:58 2006 +0000
1.2 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c Wed Dec 20 01:03:38 2006 +0000
1.3 @@ -469,6 +469,7 @@
1.4 guint buffer_size = ( src->buffer_remain < MAX_READ_SIZE) ? src->buffer_remain : MAX_READ_SIZE;
1.5
1.6 /* Create the buffer. */
1.7 + /*
1.8 ret = gst_pad_alloc_buffer ( GST_BASE_SRC_PAD (GST_BASE_SRC (psrc)),
1.9 GST_BUFFER_OFFSET_NONE, buffer_size,
1.10 GST_PAD_CAPS (GST_BASE_SRC_PAD (GST_BASE_SRC (psrc))), outbuf );
1.11 @@ -479,7 +480,9 @@
1.12 else
1.13 goto done;
1.14 }
1.15 - //*outbuf = gst_buffer_new_and_alloc( buffer_size );
1.16 + */
1.17 +
1.18 + *outbuf = gst_buffer_new( );
1.19
1.20 /* gets the first buffer_size bytes from the byte array buffer variable */
1.21 //guint8 *buf = g_memdup( src->bytes_queue->data, buffer_size );