gst_buffer_new_wrapped_full (GST_MEMORY_FLAG_READONLY, pkt->data, pkt->size,0, pkt->size, pkt, gst_ffmpegvidenc_free_avpacket); frame->output_buffer = outbuf;if(pkt->flags & AV_PKT_FLAG_KEY) GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (frame);elseGST_VIDEO_CODEC_FRAME_UNSET_SYNC_POIN...
GST_BUFFER_OFFSET_END (outbuf) = videorate->out +1;if(videorate->discont) {GST_BUFFER_FLAG_SET(outbuf, GST_BUFFER_FLAG_DISCONT); videorate->discont = FALSE; }elseGST_BUFFER_FLAG_UNSET (outbuf, GST_BUFFER_FLAG_DISCONT);if(duplicate)GST_BUFFER_FLAG_SET(outbuf, GST_BUFFER_FLAG_GAP)...
- zxing new plugin to detect QR codes and barcodes, based on libzxing - also see the Rust plugins section below which contains plenty of new exciting plugins written in Rust! New element features and additions GStreamer core - filesink: Add a new “full” buffer mode. Previously ...
After that fix (which was an unfortunate problem, but not the actual issue), it seems that the internal framebuffer creation in projectM fails, and the first frame rendered then fails with a GL_FRAMEBUFFER_UNDEFINED error. That's a tough one, because the internal framebuffer classes look ...
full modes were the same. Now the default mode is like before: it accumulates all buffers in a buffer list until the threshold is reached and then writes them all out, potentially in multiple writes. The new full mode works by always copying memory to a single memory area and writ...
result = gst_pad_push (ogg->srcpad, buffer);returnresult; } 开发者ID:prajnashi,项目名称:gst-plugins-base,代码行数:23,代码来源:gstoggaviparse.c 示例2: gst_identity_update_last_message_for_buffer ▲点赞 5▼ staticvoidgst_identity_update_last_message_for_buffer(GstIdentity * identity,const...
dts =GST_BUFFER_DTS(buffer); duration = GST_BUFFER_DURATION (buffer); outbuf = gst_rtp_buffer_new_allocate (0,0,0); data.pay = GST_RTP_OPUS_PAY (basepayload); data.outbuf = outbuf; gst_buffer_foreach_meta (buffer, foreach_metadata, &data); ...
- zxing new plugin to detect QR codes and barcodes, based on libzxing - also see the Rust plugins section below which contains plenty of new exciting plugins written in Rust! New element features and additions GStreamer core - filesink: Add a new “full” buffer mode. Previously ...
- gst_buffer_new_wrapped_bytes() creates a wrap buffer from a GBytes - gst_caps_set_features_simple() sets a caps feature on all the structures of a GstCaps - New GST_QUERY_BITRATE query: This allows determining from downstream what the expected bitrate of a stream may be which...
GstBuffer *b; gchar *bufspace; GstFlowReturn flow; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,"Feeding %u bytes to GStreamer\n", (unsignedint) b_len); bufspace = g_memdup (audio, b_len); b = gst_buffer_new_wrapped (bufspace, b_len);if(NULL== b) ...