Jan Schmidt [Wed, 29 Oct 2014 12:23:02 +0000 (22:23 +1000)]
codecparsers: Initialise nalu extension type to NONE
Always set a default NALU extension type, and override it
when we find a supported extension, to avoid having it unset/random
for unsupported NALU extensions
Jan Schmidt [Tue, 7 Oct 2014 05:28:03 +0000 (16:28 +1100)]
h264parser: Fix frame packing SEI parsing
Sreerenj Balachandran [Tue, 25 Mar 2014 13:08:44 +0000 (14:08 +0100)]
codecparsers: h264: add support for Frame Packing Arrangement SEI message.
This parses the frame_packing_arragement() payload in SEI message.
This information can be used by decoders to appropriately rearrange the
samples which belong to Stereoscopic and Multiview High profiles.
https://bugzilla.gnome.org/show_bug.cgi?id=685215
Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Sreerenj Balachandran [Fri, 8 Mar 2013 16:17:16 +0000 (18:17 +0200)]
codecparsers: h264: add support for Stereo Video Information SEI message.
Add the necessary payload parsing support for stereo_video_info.
https://bugzilla.gnome.org/show_bug.cgi?id=685215
Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Gwenole Beauchesne [Mon, 1 Oct 2012 11:36:45 +0000 (13:36 +0200)]
codecparsers: h264: parse seq_parameter_set_mvc_extension().
https://bugzilla.gnome.org/show_bug.cgi?id=685215
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Gwenole Beauchesne [Wed, 26 Sep 2012 16:46:36 +0000 (18:46 +0200)]
codecparsers: h264: parse MVC syntax elements.
https://bugzilla.gnome.org/show_bug.cgi?id=685215
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Jan Schmidt [Wed, 29 Oct 2014 11:58:37 +0000 (22:58 +1100)]
tsparse: Handle backward and discont timestamps better.
Assume that small backward PCR jumps are just from upstream packet
mis-ordering and don't reset timestamp tracking state - assuming that
things will be OK again shortly.
Make the threshold for detecting discont between sequential buffers
configurable and match the smoothing-latency setting on tsparse
to better cope with data bursts.
Jan Schmidt [Wed, 29 Oct 2014 11:58:37 +0000 (22:58 +1100)]
tsparse: Implement timestamp/retimestamping of output buffers
When the set-timestamps property is set, use PCRs on the provided
(or autodetected) pcr-pid to apply (or replace) timestamps on the
output buffers, using piece-wise linear interpolation.
This allows tsparse to be used to stream an arbitrary mpeg-ts file,
or to smooth jittery reception timestamps from a network stream.
The reported latency is increased to match the smoothing latency if
necessary.
Vincent Abriou [Wed, 29 Oct 2014 09:09:35 +0000 (10:09 +0100)]
configure.ac: auto decision to include GL library fails
The part of the configure.ac that consist to check if we
can include both GL and GLES2 at the same time is failing.
Indeed, in the case NEED_GLES2=yes and NEED_OPENGL=auto,
HAVE_OPENGL variable is updated whereas it should be HAVE_GL
variable that has to be updated (HAVE_OPENGL variable is not
used in the rest of the configure.ac).
https://bugzilla.gnome.org/show_bug.cgi?id=739348
Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Reviewed-by: Benjamin GAIGNARD <benjamin.gaignard@linaro.org>
Luis de Bethencourt [Wed, 29 Oct 2014 10:37:38 +0000 (10:37 +0000)]
codecparsers: remove ignored increment of return
'return val++;' returns the value before it is incremented because the post
increment happens after the statement. Removing the unused increment.
https://bugzilla.gnome.org/show_bug.cgi?id=739345
Wang Xin-yu (王昕宇) [Wed, 29 Oct 2014 00:27:57 +0000 (08:27 +0800)]
glmixer:fix incorrect parameter passed to handle_set_context
Tim-Philipp Müller [Tue, 28 Oct 2014 21:42:31 +0000 (21:42 +0000)]
Add some missing G_END_DECLS
Tim-Philipp Müller [Tue, 28 Oct 2014 17:44:47 +0000 (17:44 +0000)]
faad: fix wrong unrefs in set_format error code path
Matthew Waters [Tue, 28 Oct 2014 07:27:11 +0000 (18:27 +1100)]
glfilter: get the config from the correct pool
Matthew Waters [Tue, 28 Oct 2014 07:01:27 +0000 (18:01 +1100)]
glfilter: avoid uninitialized variable size when chaining multiple glfilters
https://bugzilla.gnome.org/show_bug.cgi?id=739277
Matthew Waters [Tue, 28 Oct 2014 07:01:01 +0000 (18:01 +1100)]
glfilter: gst-indent file
Matthew Waters [Tue, 28 Oct 2014 06:31:37 +0000 (17:31 +1100)]
glcontext: add api for retreiving the current context and api
that is current in the calling thread.
Matthew Waters [Tue, 21 Oct 2014 08:03:08 +0000 (19:03 +1100)]
glprototypes: add vertex attribute array definitions
Sebastian Dröge [Mon, 27 Oct 2014 16:57:46 +0000 (17:57 +0100)]
Automatic update of common submodule
From 84d06cd to 7bb2bce
Sebastian Dröge [Mon, 27 Oct 2014 14:34:58 +0000 (15:34 +0100)]
inter: Use 64-bit safe scaling functions
Tim-Philipp Müller [Mon, 27 Oct 2014 12:43:53 +0000 (12:43 +0000)]
dvbsrc: reflow switch case statement a bit
Make it clear there's no 'break' missing at the end
of the case SYS_DVBT, and pacify coverity (CID 1249689).
L. Sorin [Thu, 12 Jun 2014 14:59:46 +0000 (16:59 +0200)]
curlsshsink: use the locally defined types
Just a matter of coding style, makes the code a bit tidier...
https://bugzilla.gnome.org/show_bug.cgi?id=731581
Tim-Philipp Müller [Sun, 26 Oct 2014 15:45:20 +0000 (15:45 +0000)]
Parallelise 'make check-valgrind'
Tim-Philipp Müller [Sun, 26 Oct 2014 15:44:05 +0000 (15:44 +0000)]
configure: check for more openh264 API that we need
Tim-Philipp Müller [Sat, 25 Oct 2014 17:50:42 +0000 (18:50 +0100)]
tests: fix audiomixer test on big endian systems
Reynaldo H. Verdejo Pinochet [Sat, 25 Oct 2014 00:42:58 +0000 (21:42 -0300)]
dvbsrc: correctly capitalize DiSEqC
Reynaldo H. Verdejo Pinochet [Fri, 24 Oct 2014 23:12:23 +0000 (20:12 -0300)]
dvbsrc: rework _output_frontend_stats()
Retry stat reporting ioctls on EINTR
Reynaldo H. Verdejo Pinochet [Fri, 24 Oct 2014 22:30:25 +0000 (19:30 -0300)]
dvbsrc: add checks on allowed DVB-T bandwidths
Reynaldo H. Verdejo Pinochet [Fri, 24 Oct 2014 22:12:33 +0000 (19:12 -0300)]
dvbsrc: add fixme note on DTV_LNA setting
Rephrase another comment while at it
Reynaldo H. Verdejo Pinochet [Fri, 24 Oct 2014 21:57:40 +0000 (18:57 -0300)]
dvbsrc: add missing logic for additional bandwidths
New 1.712, 5 and 10 MHz bandwidths were been ignored
at set/get prop.
Edward Hervey [Fri, 24 Oct 2014 13:53:59 +0000 (15:53 +0200)]
configure.ac: Use libsrtp.pc if present
Vootele Vesterblom [Thu, 23 Oct 2014 14:42:27 +0000 (17:42 +0300)]
rawparse: fix handling of segment event in sink event handler
Matthew Waters [Thu, 23 Oct 2014 13:35:22 +0000 (00:35 +1100)]
glmixer: override the caps query in order to 'convert' capsfeatures
Otherwise, it is only possible for the sink pads and the src pads to
have the exact same caps features. We can convert from any feature
to another feature so support that.
Matthew Waters [Thu, 23 Oct 2014 12:55:48 +0000 (23:55 +1100)]
glmixer: override the accept caps query in order to 'convert' capsfeatures
Otherwise, it is only possible for the sink pads and the src pads to
have the exact same caps features. We can convert from any feature
to another feature so support that.
Matthew Waters [Thu, 14 Aug 2014 13:29:00 +0000 (23:29 +1000)]
gl: propogate other-context using GstContext
Brendan Long [Mon, 20 Oct 2014 09:07:08 +0000 (03:07 -0600)]
dash: Remove obsolete README.
https://bugzilla.gnome.org/show_bug.cgi?id=738848
Sebastian Dröge [Wed, 22 Oct 2014 17:34:17 +0000 (19:34 +0200)]
interaudio: Add support for arbitrary raw audio formats
Sebastian Dröge [Wed, 22 Oct 2014 17:31:31 +0000 (19:31 +0200)]
intervideo: Add support for arbitrary video formats
Sebastian Dröge [Wed, 22 Oct 2014 17:28:48 +0000 (19:28 +0200)]
inter: Truncate the caps as part of the fixating
Sebastian Dröge [Wed, 22 Oct 2014 17:08:39 +0000 (19:08 +0200)]
interaudio: Fix timestamp, latency and period handling
Sebastian Dröge [Wed, 22 Oct 2014 16:41:55 +0000 (18:41 +0200)]
interaudio: Use GST_DEBUG_OBJECT() instead of GST_DEBUG()
Sebastian Dröge [Wed, 22 Oct 2014 16:40:01 +0000 (18:40 +0200)]
interaudio: Properly pass through caps from the sink to the source
Otherwise a magic capsfilter after the source is required with
exactly the same caps as the input.
Sebastian Dröge [Wed, 22 Oct 2014 16:13:36 +0000 (18:13 +0200)]
inter: Clean up surfaces after the last user is gone
Sebastian Dröge [Wed, 22 Oct 2014 16:07:00 +0000 (18:07 +0200)]
inter: Whitespace cleanup
Sebastian Dröge [Wed, 22 Oct 2014 16:03:13 +0000 (18:03 +0200)]
intervideo: Properly pass through caps from the sink to the source
Otherwise a magic capsfilter after the source is required with
exactly the same caps as the input.
This would've failed before with invalid buffer sizes:
gst-launch-1.0 videotestsrc ! intervideosink intervideosrc ! "video/x-raw,width=640,height=480" ! xvimagesink
Sebastian Dröge [Wed, 22 Oct 2014 13:07:04 +0000 (15:07 +0200)]
rawparse: Check for 0-size after adjusting the size for the frame size
If we don't have a complete raw audio frame we would otherwise still
ask for a 0 sized buffer from the adapter.
Sebastian Dröge [Wed, 22 Oct 2014 12:43:50 +0000 (14:43 +0200)]
rawparse: Don't try to retrieve 0 byte buffers from the adapter in multi-frame mode
Tim-Philipp Müller [Wed, 22 Oct 2014 12:03:30 +0000 (13:03 +0100)]
configure: improve openh264 check
The openh264 API is still unstable, so check for
structure member that we need to prevent building
against an older incompatible version.
Tim-Philipp Müller [Wed, 22 Oct 2014 11:36:36 +0000 (12:36 +0100)]
configure: simplify openh264 check
Of course PTHREADS_CFLAGS is not used anywhere now
for the check, but that was the case before as well.
Sebastian Dröge [Tue, 21 Oct 2014 14:21:08 +0000 (16:21 +0200)]
gl/cocoa: Fix compiler warning
gstglwindow_cocoa.m: In function '-[GstGLNSView drawRect:]':
gstglwindow_cocoa.m:555: warning: 'GstGLNSView' may not respond to '-reshape'
gstglwindow_cocoa.m:555: warning: (Messages without a matching method signature
gstglwindow_cocoa.m:555: warning: will be assumed to return 'id' and accept
gstglwindow_cocoa.m:555: warning: '...' as arguments.)
Sebastian Dröge [Tue, 21 Oct 2014 13:42:32 +0000 (15:42 +0200)]
vtenc: Fix locking
The object lock only protects the session, as we modify
the session from other threads when the bitrate property
is changed. Don't hold it much longer than for session
related things.
And we need to release the video decoder stream lock before
enqueueing a frames. It might wait for our callback to dequeue
a frame from another thread, which will then take the stream
lock too and deadlock.
Tim-Philipp Müller [Tue, 21 Oct 2014 12:01:45 +0000 (13:01 +0100)]
Automatic update of common submodule
From a8c8939 to 84d06cd
Stefan Sauer [Tue, 21 Oct 2014 11:28:50 +0000 (13:28 +0200)]
configure: use a macro to check for pthread
Replace the hardcoded -lpthread in most of the places with $PTHREAD_LIBS. For
openh264 also add $PTHREAD_LIBS to OPENH264_LIBS until upstream ships a .pc
file.
Stefan Sauer [Tue, 21 Oct 2014 10:58:39 +0000 (12:58 +0200)]
Automatic update of common submodule
From 36388a1 to a8c8939
Matthieu Bouron [Tue, 21 Oct 2014 10:39:14 +0000 (12:39 +0200)]
hlsdemux: reset end_of_playlist attribute when we receive a seek
https://bugzilla.gnome.org/show_bug.cgi?id=738696
Vineeth T M [Mon, 20 Oct 2014 12:55:08 +0000 (18:25 +0530)]
audiomixer: critical error for blocksize, timeout min/max values
Audiomixer blocksize, cant be 0, hence adjusting the minimum value to 1
timeout value of aggregator is defined with MAX of MAXINT64,
but it cannot cross G_MAXLONG * GST_SECOND - 1
Hence changed the max value of the same
https://bugzilla.gnome.org/show_bug.cgi?id=738845
Matthew Waters [Mon, 20 Oct 2014 19:04:10 +0000 (06:04 +1100)]
glmixer: fixup eglimage include path
Matthew Waters [Mon, 20 Oct 2014 15:52:05 +0000 (02:52 +1100)]
videoaggregator: fixate the parts of the caps we don't know how to deal with
fixes glvideomixer with video/x-raw,width=foo i.e. no format field.
Matthew Waters [Sat, 18 Oct 2014 08:03:43 +0000 (10:03 +0200)]
glbufferpool: add the GstVideoGLTextureUploadMeta buffer pool option
Matthew Waters [Sun, 19 Oct 2014 23:34:27 +0000 (10:34 +1100)]
videoaggregator: operate on caps rather than video info
Otherwise the CapsFeatures will be lost along with the possibility
of multiple output types and formats.
https://bugzilla.gnome.org/show_bug.cgi?id=738129
Aurélien Zanelli [Fri, 19 Sep 2014 09:37:56 +0000 (11:37 +0200)]
vc1parse: introduce a helper to make sequence-layer
It will be useful to implement stream-format conversion.
https://bugzilla.gnome.org/show_bug.cgi?id=738526
Brendan Long [Mon, 20 Oct 2014 08:27:15 +0000 (02:27 -0600)]
gl: Check for GLU before trying to use it in configure.ac
https://bugzilla.gnome.org/show_bug.cgi?id=738816
Wang Xin-yu (王昕宇) [Mon, 20 Oct 2014 07:02:28 +0000 (15:02 +0800)]
glcolorconvert: support RGB16/BGR16 video format upload
https://bugzilla.gnome.org/show_bug.cgi?id=738842
Aurélien Zanelli [Thu, 9 Oct 2014 13:12:01 +0000 (15:12 +0200)]
vc1parser: fix expected level in sequence-layer parsing unit test
Sequence-layer used for unit test have a level set to 2 which should
match the medium level, not the high.
https://bugzilla.gnome.org/show_bug.cgi?id=738230
Aurélien Zanelli [Thu, 9 Oct 2014 13:05:55 +0000 (15:05 +0200)]
vc1parser: fix level values for simple/main profile
In simple profile, level set to 0 or 2 indicate low and medium level
respectively. In main profile, level set to 0, 2 or 4 indicate low,
medium and high level respectively.
Level values are defined in Annex J.1.2 of the SMPTE 421M.
https://bugzilla.gnome.org/show_bug.cgi?id=738230
Tim-Philipp Müller [Sat, 2 Aug 2014 10:29:37 +0000 (11:29 +0100)]
tsdemux: send initial GAP event on sparse streams for faster startup with playbin
Signal sparse streams properly in stream-start event and force sending
of pending sticky events which have been stored on the pad already and
which otherwise would only be sent on the first buffer or serialized
event (which means very late in case of subtitle streams). Playsink in
playbin waits for stream-start or another serialized event, and if we
don't do this it will wait for the multiqueue to run full before
starting playback, which might take a couple of seconds.
https://bugzilla.gnome.org/show_bug.cgi?id=734040
Edward Hervey [Mon, 20 Oct 2014 10:30:50 +0000 (12:30 +0200)]
tsdemux: GAP detection
All pads of a stream are now added at the beginning. In order to cope with
streams that don't get any data (forever or for a long time) we detect gaps
and push out GAP events when needed.
Cleanups and commenting by Jan Schmidt <jan@centricular.com>
https://bugzilla.gnome.org/show_bug.cgi?id=734040
Aurélien Zanelli [Wed, 1 Oct 2014 14:17:46 +0000 (16:17 +0200)]
vc1parse: select caps according to wmv format at negotiation
Some VC1 decoder can have different caps according to wmv format, ie
WMV3 or WVC1.
So instead of keeping the first available caps, we interserct with
current WMV format.
https://bugzilla.gnome.org/show_bug.cgi?id=738532
Stefan Sauer [Mon, 20 Oct 2014 09:22:54 +0000 (11:22 +0200)]
configure: add pthread to the configure check for openh264
Sebastian Dröge [Mon, 20 Oct 2014 07:47:27 +0000 (09:47 +0200)]
rtmpsink: Declare sink variable that was forgotten in last commit
Havard Graff [Sun, 19 Oct 2014 18:35:41 +0000 (20:35 +0200)]
rtmpsink: Free URI string in finalize()
https://bugzilla.gnome.org/show_bug.cgi?id=738674
Brion Vibber [Sat, 18 Oct 2014 04:26:52 +0000 (21:26 -0700)]
gl/cocoa: Fix for building on Mac OS X 10.10
Using NSApp directly seems to confuse something, as the compiler
was expecting an id<NSFileManagerDelegate>. Switched to using
[NSApplication sharedApplication], and specified the delegate
protocol on the window class as well.
https://bugzilla.gnome.org/show_bug.cgi?id=738740
Sebastian Dröge [Sun, 19 Oct 2014 12:57:43 +0000 (14:57 +0200)]
vtenc: Use kVTProfileLevel_H264_Baseline_AutoLevel only on iOS
It is not required on OSX apparently and was only added in 10.9.6 there.
Calculating the correct level from the configuration is not trivial, so let's
just not set a level at all here.
Sebastian Dröge [Sun, 19 Oct 2014 12:51:40 +0000 (14:51 +0200)]
vtenc: VTCompressionSessionPrepareToEncodeFrames only exists since 10.9.6
Check with configure for it instead of using one of the availability macros
as those wouldn't work as expected with minor versions.
Sebastian Dröge [Sun, 19 Oct 2014 12:32:31 +0000 (14:32 +0200)]
vtenc: Remove unused #define
Sebastian Dröge [Sun, 19 Oct 2014 11:44:38 +0000 (13:44 +0200)]
rtpbad: Fix make dist by removing non-existing file from EXTRA_DIST
It's used by the rtp plugin in gst-plugins-good for VP8 but not needed
or used here.
Thijs Vermeir [Fri, 17 Oct 2014 14:51:27 +0000 (16:51 +0200)]
rtpbad: include plugins base cflags (fix build on jenkins)
Thijs Vermeir [Thu, 16 Oct 2014 08:34:01 +0000 (10:34 +0200)]
rtp: add h265 RTP payloader + depayloader
Stefan Sauer [Wed, 15 Oct 2014 13:25:55 +0000 (15:25 +0200)]
curlbasesink: strip newlines from curl debug messages
The messages we receive in the custom log handler might end with a newline and
are not \0 terminated. Copy the messages, trim and terminate them.
Stefan Sauer [Wed, 15 Oct 2014 13:24:12 +0000 (15:24 +0200)]
curlbasesink: small code cleanup
Use a local var and save a local var.
Thijs Vermeir [Wed, 15 Oct 2014 14:52:09 +0000 (16:52 +0200)]
tests/x265enc: add simple unit test
Thijs Vermeir [Wed, 5 Mar 2014 15:39:30 +0000 (16:39 +0100)]
x265enc: add x265 encoder element
Matthew Waters [Tue, 14 Oct 2014 12:00:11 +0000 (14:00 +0200)]
gldeinterlace: ref the uploaded buffer
Instead of the possibly non-GL input buffer.
Matthew Waters [Tue, 14 Oct 2014 14:41:51 +0000 (16:41 +0200)]
glfilter: add uploaded_buffer field
Aurélien Zanelli [Mon, 22 Sep 2014 07:44:14 +0000 (09:44 +0200)]
vc1parse: parse frame header when stream format is ASF/raw for simple/main profile
When stream-format is ASF or sequence-layer-raw-frame, we basically have
a raw frame so we can parse it to extract some information such the
keyframe flag. The only requirement is to have a valid sequence-header.
This commit parse the frame header and set the DELTA_UNIT buffer flag in
case the frame is not a keyframe.
https://bugzilla.gnome.org/show_bug.cgi?id=738519
Sebastian Dröge [Tue, 14 Oct 2014 08:51:22 +0000 (10:51 +0200)]
libde265: Change rank to SECONDARY, gst-libav has PRIMARY rank
Joachim Bauch [Wed, 17 Sep 2014 08:38:44 +0000 (10:38 +0200)]
Integrate libde265 into gst-plugins-bad.
Aurélien Zanelli [Mon, 13 Oct 2014 12:05:24 +0000 (14:05 +0200)]
vc1parse: just assume none header-format when no codec_data is present
https://bugzilla.gnome.org/show_bug.cgi?id=738449
Sebastian Dröge [Tue, 14 Oct 2014 07:19:59 +0000 (09:19 +0200)]
vtdec: Set reorder length to 0 if we can't calculate it
Instead of leaving it at whatever value it had before.
Sebastian Dröge [Mon, 13 Oct 2014 11:28:57 +0000 (13:28 +0200)]
glimagesink: Only finalize the other context in finalize()
Otherwise we change a value of a property when going to READY state,
which is unexpected behaviour.
Sebastian Dröge [Mon, 13 Oct 2014 11:27:55 +0000 (13:27 +0200)]
glmixer: Call the pad's parent class finalize method
Sebastian Dröge [Mon, 13 Oct 2014 11:27:11 +0000 (13:27 +0200)]
glmixer: Only finalize the other context in finalize()
Otherwise we change a value of a property when going to READY state,
which is unexpected behaviour.
Sebastian Dröge [Mon, 13 Oct 2014 11:25:42 +0000 (13:25 +0200)]
gltestsrc: Add other-context property
Sebastian Dröge [Mon, 13 Oct 2014 09:56:03 +0000 (11:56 +0200)]
glimagesink: Don't leak other-context
Sebastian Dröge [Mon, 13 Oct 2014 09:53:47 +0000 (11:53 +0200)]
glmixer: Add other-context property
Reynaldo H. Verdejo Pinochet [Mon, 13 Oct 2014 00:25:16 +0000 (21:25 -0300)]
dvb: make interleaving a prop and proxy on dvbbasebin
DTV_INTERLEAVING is currently used only for DTBM. This is
congruent with the v4l dvb API where the different interleaving
modes where added for v5.7
Reynaldo H. Verdejo Pinochet [Sun, 12 Oct 2014 21:30:38 +0000 (18:30 -0300)]
dvbsrc: add transmission mode checks for DVB-T/T2
These and every sanity check leading to a warning
(we have a few in place) should come handy when
debuging failed tunning scenarios.
Reynaldo H. Verdejo Pinochet [Sun, 12 Oct 2014 16:34:09 +0000 (13:34 -0300)]
dvbsrc: docs, drop v5 API change history comments < .5
We only support from minor 5 and up now. Also add a
note about the recently added preliminar DTMB support.
Reynaldo H. Verdejo Pinochet [Sun, 12 Oct 2014 16:08:13 +0000 (13:08 -0300)]
dvbsrc: add missing DVB-T2 bandwidth types
DVB-T2 supports 5, 10 and 1.712 MHz
Order of the enum values (new values after _AUTO)
has been kept congruent with the one in the v4l
API for consistency
Benjamin Gaignard [Tue, 7 Oct 2014 08:37:33 +0000 (10:37 +0200)]
waylandsink: do not render twice the same buffer
Do not try to render a buffer that is already being rendered.
This happens typically during the initial rendering stage as the first
buffer is rendered twice: first by preroll(), then by render().
This commit avoids this assertion failure:
CRITICAL: gst_wayland_compositor_acquire_buffer: assertion
'meta->used_by_compositor == FALSE' failed
https://bugzilla.gnome.org/show_bug.cgi?id=738069
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>