Ask Your Question

Revision history [back]

cv::Mat outside; while(active) { rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 6404803 ,0, 6404803,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

cv::Mat outside; while(active) { rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 6404803 ,0, 6404803,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

cv::Mat outside; outside; while(active) { rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 6404803 ,0, 6404803,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

cv::Mat outside; while(active) { rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 6404803 ,0, 6404803,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

cv::Mat outside; outside; while(active) { rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 6404803 ,0, 6404803,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();outside.release();

cv::Mat outside; while(active) { rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 6404803 ,0, 6404803,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

cv::Mat outside; outside;
while(active) { {
rgb_cv.copyTo(outside); rgb_cv.copyTo(outside);
wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 6404803 ,0, 6404803,NULL, NULL); NULL);
gst_buffer_append_memory(buffer1, wrapped_mem1); wrapped_mem1);
g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); &ret1);
} }
gst_buffer_unref(buffer1); gst_buffer_unref(buffer1);
outside.release(); outside.release();

cv::Mat outside;
while(active) {
rgb_cv.copyTo(outside);
wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 6404803 ,0, 6404803,NULL, NULL);
gst_buffer_append_memory(buffer1, wrapped_mem1);
g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1);
}
gst_buffer_unref(buffer1);
outside.release();

cv::Mat outside;
while(active) {
rgb_cv.copyTo(outside);
wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 6404803 640*480*3 ,0, 6404803,NULL, 640*480*3,NULL, NULL);
gst_buffer_append_memory(buffer1, wrapped_mem1);
g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1);
}
gst_buffer_unref(buffer1);
outside.release();

``` cv::Mat outside;

while(active) {
rgb_cv.copyTo(outside);
wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 6404803 ,0, 640*480*3,NULL, 6404803,NULL, NULL);
gst_buffer_append_memory(buffer1, wrapped_mem1);
g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1);
}
gst_buffer_unref(buffer1);
outside.release();
```

``` cv::Mat outside;

> while(active) {
rgb_cv.copyTo(outside);
wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 6404803 640*480*3 ,0, 6404803,NULL, 640*480*3,NULL, NULL);
gst_buffer_append_memory(buffer1, wrapped_mem1);
g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1);
}
gst_buffer_unref(buffer1);
outside.release();
```

cv::Mat outside; > while(active) {

rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 ,0, 640*480*3,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

``` cv::Mat outside;

while(active) {
```

rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 ,0, 640*480*3,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

``` cv::Mat outside;

while(active) {
```

rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 ,0, 640*480*3,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

``` cv::Mat outside;

while(active) {
```

rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 ,0, 640*480*3,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

cv::Mat outside; while(active) {
```

rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 ,0, 640*480*3,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

cv::Mat outside;

while(active) {

rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 ,0, 640*480*3,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

cv::Mat outside;

while(active) {

{ rgb_cv.copyTo(outside); rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 ,0, 640*480*3,NULL, NULL); NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); gst_buffer_unref(buffer1); outside.release(); outside.release();

C++ cv::Mat outside; while(active) { rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 ,0, 640*480*3,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

C++ cv::Mat outside; while(active) { rgb_cv.copyTo(outside); wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 ,0, 640*480*3,NULL, NULL); gst_buffer_append_memory(buffer1, wrapped_mem1); g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1); } gst_buffer_unref(buffer1); outside.release();

click to hide/show revision 21
No.21 Revision

updated 2018-10-11 02:05:30 -0600

berak gravatar image

fixed with:

   cv::Mat outside; 
  while(active) {
            rgb_cv.copyTo(outside);
            wrapped_mem1 = gst_memory_new_wrapped( (GstMemoryFlags)0, (gpointer) outside.data, 640*480*3 ,0, 640*480*3,NULL, NULL);
            gst_buffer_append_memory(buffer1, wrapped_mem1);  
            g_signal_emit_by_name(gst_handle1->src, "push-buffer", buffer1, &ret1);   
  }  
   gst_buffer_unref(buffer1);
   outside.release();