staticGstFlowReturnbuffer_alloc(GstBaseSink *base, guint64 offset, guint size, GstCaps *caps, GstBuffer **buf){structgst_omapfb_sink*self= (structgst_omapfb_sink*)base;GstBuffer *buffer;structpage*page;if(!self->enabled && !setup(self, caps))gotomissing; page = get_page(self);if(!
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)...
streams in RED packets, and such streams need to be wrapped and unwrapped in order to use ULPFEC with chrome. - a few new buffer flags for FEC support: GST_BUFFER_FLAG_NON_DROPPABLE can be used to mark important buffers, e.g. to flag RTP packets carrying keyframes or codec setup...
I tried init-projectm-on-render but got the same framebuffer issue Process 56668 launched: '/opt/homebrew/bin/gst-launch-1.0' (arm64) Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Got context from element 'projectm0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDispla...
This will be called by buffer pools when a pooled buffer is returned to the pool. - Add gst_meta_info_new() and gst_meta_info_register() to register a GstMeta in two steps for easier extensibility. ### New unixfd plugin for efficient 1:N inter-process communication o...
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...
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...
gst_buffer_append_memory (buf, gst_memory_new_wrapped (0, data, depay->packetsize,0, depay->packetsize, data, g_free)); gst_adapter_push (depay->adapter, buf);if(pack->data) { pack->data =NULL; } } } 开发者ID:lubing521,项目名称:gst-embedded-builder,代码行数:61,代码来源:gstrt...
meta = gst_buffer_get_vaapi_video_meta (outbuf); g_return_val_if_fail (meta !=NULL, FALSE); surface = gst_vaapi_surface_new_with_dma_buf_handle (plugin->display, fd, GST_VIDEO_INFO_SIZE (vip), GST_VIDEO_INFO_FORMAT (vip),GST_VIDEO_INFO_WIDTH(vip), GST_VIDEO_INFO_HEIGHT (vip...