Skip to content

Instantly share code, notes, and snippets.

View ndufresne's full-sized avatar

Nicolas Dufresne ndufresne

View GitHub Profile
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by graphene configure 1.2.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix /home/jenkins/workspace/cerbero-cross-mingw32/workdir/dist/windows_x86 --libdir /home/jenkins/workspace/cerbero-cross-mingw32/workdir/dist/windows_x86/lib --enable-static --enable-shared --disable-maintainer-mode --disable-silent-rules --disable-introspection --host=i686-w64-mingw32 --build=x86_64-pc-linux --target=i686-w64-mingw32
## --------- ##
## Platform. ##
diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c
index 73670e7..1cb9005 100644
--- a/gst/camerabin2/gstwrappercamerabinsrc.c
+++ b/gst/camerabin2/gstwrappercamerabinsrc.c
@@ -571,8 +571,8 @@ gst_wrapper_camera_bin_src_construct_pipeline (GstBaseCameraSrc * bcamsrc)
* to recalculate the zoom properties when these caps change and to
* propagate the caps to the second capsfilter */
src_caps_src_pad = gst_element_get_static_pad (self->src_filter, "src");
- g_signal_connect (src_caps_src_pad, "notify::caps",
- G_CALLBACK (gst_wrapper_camera_bin_src_caps_cb), self);
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 8873194..b6dd98b 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -1021,13 +1021,16 @@ cheese_camera_connect_effect_texture (CheeseCamera *camera, CheeseEffect *effect
effect_filter = cheese_camera_element_from_effect (camera, effect);
- display_element = gst_element_factory_make ("autocluttersink", NULL);
+ display_element = gst_element_factory_make ("cluttersink", NULL);
From ee5933f05e160e80ccbe4b8af2bec7661d8b88cd Mon Sep 17 00:00:00 2001
From: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Date: Fri, 6 Jun 2014 15:19:58 -0400
Subject: [PATCH] flvmux: Add support for compensation time
Add support for compensation time. It does not work yet, as
GStreamer don't support negative DTS.
---
gst/flv/gstflvmux.c | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
From 3b854c4560e0a2527e60c33ea7f8b81b65d14c34 Mon Sep 17 00:00:00 2001
From: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Date: Fri, 30 May 2014 13:34:30 -0400
Subject: [PATCH] d3d: Use GstVideoInfo API to extrapolate strides and offsets
UNTESTED
This attempt to address stride issues with I420/YV12, which for undocumented
reasons have wery weird extrapolation code, where V plane seems swapped with
U plane. I simply avoid that code by using GstVideoInfo API.
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <linux/videodev2.h>
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
gst-launch-1.0 -v \
filesrc location=/home/nicolas/Vidéos/Devdas/Devdas\ \(2002\)\ \(688x432-ana_h264-blu_AAC_dualsub\).mp4 ! decodebin name=d \
d. ! video/x-raw ! queue ! videoconvert ! videoscale \
! video/x-raw,pixel-aspect-ratio=1/1 ! avenc_h263 rtp-payload-size=256 \
! rtph263pay ! udpsink port=1234 \
d. ! audio/x-raw ! queue ! audioconvert ! audioresample ! audioconvert ! mulawenc \
! rtppcmupay ! udpsink port=1235
gst-launch-1.0 v4l2src device=/dev/video0 do-timestamp=1 ! image/jpeg ! tee name=t \
t. ! queue ! decodebin ! xvimagesink sync=false \
t. ! queue ! videorate ! image/jpeg,framerate=1/5 ! multifilesink location="test%04d.jpeg"
From e538d4c244f01732ad89762e88990984f21368f7 Mon Sep 17 00:00:00 2001
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Date: Wed, 21 May 2014 20:20:50 -0400
Subject: [PATCH] [FRC] multifilesrc: Add duration property
As multifilesrc can't figure-out, let the application tell the element the
duration of these files. This is done by adding two properties, duration
and duration-format.
---
gst/multifile/gstmultifilesrc.c | 41 +++++++++++++++++++++++++++++++++++++++--
From e951fc15388135521f4e6b9f393f497df430d0b7 Mon Sep 17 00:00:00 2001
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Date: Thu, 15 May 2014 16:01:09 -0400
Subject: [PATCH] mfc: Adjust CMA reservation to allow 4 HD context
This patch configure the MFC CMA reservation to allow up to 4 contexts
running HD videos. Bank configurations are:
Left MFC: 256, Right MFC 128.