diff -r b3cb9c7ec1a9 -r 5ed97410d052 gst-plugins-mythtv/src/gstmythtvsrc.c --- a/gst-plugins-mythtv/src/gstmythtvsrc.c Mon Dec 18 22:19:58 2006 +0000 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c Tue Dec 19 21:02:12 2006 +0000 @@ -469,6 +469,7 @@ guint buffer_size = ( src->buffer_remain < MAX_READ_SIZE) ? src->buffer_remain : MAX_READ_SIZE; /* Create the buffer. */ + /* ret = gst_pad_alloc_buffer ( GST_BASE_SRC_PAD (GST_BASE_SRC (psrc)), GST_BUFFER_OFFSET_NONE, buffer_size, GST_PAD_CAPS (GST_BASE_SRC_PAD (GST_BASE_SRC (psrc))), outbuf ); @@ -479,7 +480,9 @@ else goto done; } - //*outbuf = gst_buffer_new_and_alloc( buffer_size ); + */ + + *outbuf = gst_buffer_new( ); /* gets the first buffer_size bytes from the byte array buffer variable */ //guint8 *buf = g_memdup( src->bytes_queue->data, buffer_size );