6 years agokmssink: make sure the connector property is initialized with its default v0.10.22+ti
Alessandro Decina [Wed, 16 May 2012 14:29:04 +0000 (14:29 +0000)]
kmssink: make sure the connector property is initialized with its default

6 years agokmssink: make the connector id a property
Alessandro Decina [Wed, 16 May 2012 14:20:26 +0000 (14:20 +0000)]
kmssink: make the connector id a property

6 years agokmssink: add scale property to optionally render fullscreen
Alessandro Decina [Wed, 16 May 2012 14:07:43 +0000 (14:07 +0000)]
kmssink: add scale property to optionally render fullscreen

6 years agokmssink: center output on screen
Alessandro Decina [Wed, 16 May 2012 13:40:54 +0000 (13:40 +0000)]
kmssink: center output on screen

6 years agokmssink: rework the mode selection code
Alessandro Decina [Wed, 16 May 2012 12:07:20 +0000 (12:07 +0000)]
kmssink: rework the mode selection code

Simplify the mode selection code and take cropping into account.

6 years agokmssink: use dce_deinit to close dev/fd
Alessandro Decina [Wed, 16 May 2012 12:06:16 +0000 (12:06 +0000)]
kmssink: use dce_deinit to close dev/fd

...temporary hack until we still depend on dce

6 years agokmssink: disable preroll to avoid configuring the wrong resolution
Alessandro Decina [Wed, 16 May 2012 12:04:48 +0000 (12:04 +0000)]
kmssink: disable preroll to avoid configuring the wrong resolution

Disable preroll as it's called before GST_CROP_EVENT has been received, making
the sink configure the wrong mode based on padded caps.

6 years agoh264parse: disable some optimizations with AVC input
Alessandro Decina [Tue, 15 May 2012 08:15:37 +0000 (10:15 +0200)]
h264parse: disable some optimizations with AVC input

Don't use the new gst_h264_parser_identify_nalu_unchecked and don't split output
AUs when input AUs end (iow when packetized_last=TRUE). This is a workaround for
some interlaced streams that have both fields in the same AVC access unit, but
that apparently need to be converted to one-AU-per-field in byte-stream,au

6 years agokmssink: hack buffer related code to avoid GType collisions
Alessandro Decina [Fri, 4 May 2012 10:09:35 +0000 (10:09 +0000)]
kmssink: hack buffer related code to avoid GType collisions

6 years agokmssink: consider kms buffers valid drm buffers (eek)
Alessandro Decina [Fri, 4 May 2012 10:08:47 +0000 (10:08 +0000)]
kmssink: consider kms buffers valid drm buffers (eek)

6 years agokms: add kmssink
Alessandro Decina [Fri, 4 May 2012 08:29:03 +0000 (08:29 +0000)]
kms: add kmssink

kmssink is a video sink using the linux kernel mode setting API.
It's useful to render video on linux on non-X setups.

6 years agopvrvideosink: Post messages when there is an error
Luciana Fujii Pontello [Tue, 10 Apr 2012 14:40:39 +0000 (10:40 -0400)]
pvrvideosink: Post messages when there is an error

When an irrecoverably error happens, post a message to inform the

6 years agopvrvideosink: fix crop for interlaced streams
Luciana Fujii Pontello [Tue, 6 Mar 2012 14:31:58 +0000 (09:31 -0500)]
pvrvideosink: fix crop for interlaced streams

Doubles the size of crop height for interlaced videos since decoders
send the size of half of the video.

6 years agocamerabin2: Fix A/V sync for captures
Thiago Santos [Mon, 19 Dec 2011 19:49:08 +0000 (16:49 -0300)]
camerabin2: Fix A/V sync for captures

Audio src was pushing newsegments starting from 0, even when its buffers
were not starting with 0 as their timestamps. Add a buffer probe that
checks the ts of the first buffer and uses that to push a newsegment,
just like we do for video on wrappercamerabinsrc.



6 years agocamerabin2: remove unnecessary audio_convert
Luciana Fujii Pontello [Tue, 21 Feb 2012 03:09:27 +0000 (22:09 -0500)]
camerabin2: remove unnecessary audio_convert

6 years agocamerabin2: record audio with video by default
Luciana Fujii Pontello [Fri, 17 Feb 2012 05:56:02 +0000 (00:56 -0500)]
camerabin2: record audio with video by default

Set audio encoding profile by default, which makes audio recording to be
enabled for video mode.

6 years agocamerabin2: Prevent audiosrc from sending undesired eos
Thiago Santos [Sun, 21 Aug 2011 17:41:28 +0000 (14:41 -0300)]
camerabin2: Prevent audiosrc from sending undesired eos

Basesrc derived classes send an eos when they change state
from paused to ready and that breaks video recordings on camerabin2
as it makes the whole audio branch pads flushing.

Prevent it by using a pad probe that only allows the eos to pass
when it is caused by a stop-capture action.



6 years agocamerabin2: Synchronize clock and base time to audiosrc
Teemu Katajisto [Thu, 28 Jul 2011 16:18:57 +0000 (13:18 -0300)]
camerabin2: Synchronize clock and base time to audiosrc

When audio source goes to READY it loses its clock and base time,
this patch sets them back after bringing the audio source back to PAUSED.



6 years agocamerabin2: Prevent audio source from providing clock
Robert Swain [Thu, 28 Jul 2011 15:56:12 +0000 (12:56 -0300)]
camerabin2: Prevent audio source from providing clock

The audio source inside camerabin2 is put to READY and back to
PLAYING when starting capture, causing the pipeline to lose its
clock. As camerabin2 isn't put to PAUSED->PLAYING again during
this, a new clock isn't selected for elements.



6 years agocamerabin2: Prepare audiosrc before start-capture
Robert Swain [Wed, 29 Jun 2011 13:35:42 +0000 (15:35 +0200)]
camerabin2: Prepare audiosrc before start-capture

If we bring the audio source up to the PAUSED state before emitting the
start-capture signal to the camera source, when subequently taking the
audio source to the PLAYING state, it will begin capture more quickly.



6 years agocamerabin2: Remove obsolete imagecapturebin
Thiago Santos [Fri, 13 May 2011 20:18:52 +0000 (17:18 -0300)]
camerabin2: Remove obsolete imagecapturebin

imagecapturebin has been replaced by encodebin, no need
for it anymore



6 years agocamerabin2: Fix order of element state change
Robert Swain [Thu, 31 Mar 2011 11:08:48 +0000 (13:08 +0200)]
camerabin2: Fix order of element state change

To change the state of elements in a pipeline, we should mirror the
behaviour of GstBin which starts at the sink element and works its way



6 years agocodecparsers: update h264 codec parser
Alessandro Decina [Fri, 2 Mar 2012 10:07:23 +0000 (11:07 +0100)]
codecparsers: update h264 codec parser

6 years agoh264parse: decrease passthrough negotiation preference
Mark Nauwelaerts [Fri, 3 Feb 2012 10:26:53 +0000 (11:26 +0100)]
h264parse: decrease passthrough negotiation preference

Also ensure parsing fixed caps when negotiating rather than failing to
handle non-fixed list cases.

See #668471.

6 years agoh264parse: disable optimized packetized processing for reverse playback
Mark Nauwelaerts [Wed, 1 Feb 2012 11:47:56 +0000 (12:47 +0100)]
h264parse: disable optimized packetized processing for reverse playback

... as baseparse then provides whole chunks of data (as it should) at once
to be parsed, and so the assumptions used to optimize are no longer valid.

Fixes #667560.

6 years agoh264parse: also mind SEI position for config data insertion
Mark Nauwelaerts [Wed, 1 Feb 2012 11:23:23 +0000 (12:23 +0100)]
h264parse: also mind SEI position for config data insertion

Fixes #668627.

6 years agoh264parse: unbreak optimized packetized NALU collection processing
Mark Nauwelaerts [Wed, 1 Feb 2012 11:03:04 +0000 (12:03 +0100)]
h264parse: unbreak optimized packetized NALU collection processing

... in that it was so optimized it did not consider grouping NALU into AU

Fixes #668627.

6 years agoh264parse: use the framerate that was copied a few lines above
Vincent Penquerc'h [Mon, 9 Jan 2012 11:03:24 +0000 (11:03 +0000)]
h264parse: use the framerate that was copied a few lines above

6 years agoh264parse: fix test and set not using the same input
Vincent Penquerc'h [Fri, 6 Jan 2012 10:52:36 +0000 (10:52 +0000)]
h264parse: fix test and set not using the same input

This fixes H.264 output not having a set framerate, and
confusing some of the elements downstream (such as interlace).

6 years agoh264parse: fix and tweak frame timestamping
Mark Nauwelaerts [Wed, 4 Jan 2012 09:56:51 +0000 (10:56 +0100)]
h264parse: fix and tweak frame timestamping

... to run with properly init'ed variables, and to only perform interpolation
in safe cases.

6 years agoh264parse: prefer negotiating pass-through
Mark Nauwelaerts [Tue, 3 Jan 2012 21:09:04 +0000 (22:09 +0100)]
h264parse: prefer negotiating pass-through

6 years agoh264parse: mark byte-stream AU frame with inserted codec NALs as keyframe
Mark Nauwelaerts [Tue, 3 Jan 2012 20:59:32 +0000 (21:59 +0100)]
h264parse: mark byte-stream AU frame with inserted codec NALs as keyframe

6 years agoh264parse: properly determine skip amount when no NAL start found yet
Mark Nauwelaerts [Tue, 3 Jan 2012 19:23:16 +0000 (20:23 +0100)]
h264parse: properly determine skip amount when no NAL start found yet

6 years agovc1parse: disable BDU parsing until it's more mature
Alessandro Decina [Thu, 23 Feb 2012 12:48:57 +0000 (13:48 +0100)]
vc1parse: disable BDU parsing until it's more mature

Parsing and splitting BDUs seems to trigger a few bugs in
downstream decoders so disable it for now.

6 years agoh264parse: flag B frames
Alessandro Decina [Tue, 14 Feb 2012 16:38:20 +0000 (17:38 +0100)]
h264parse: flag B frames

Flag B frames so decoders can decide to drop them if needed

6 years agopvrvideosink: Fix flicker in video borders
Luciana Fujii Pontello [Tue, 7 Feb 2012 23:46:43 +0000 (18:46 -0500)]
pvrvideosink: Fix flicker in video borders

Since pvrvideosink now uses double bufferings, it's necessary to draw
the borders on both buffers to avoid flickering.

6 years agopvrvideosink: Style fixes
Luciana Fujii Pontello [Tue, 7 Feb 2012 23:46:01 +0000 (18:46 -0500)]
pvrvideosink: Style fixes

Fix indentation and style according to gst-indent check.

6 years agovc1parse: set duration on output buffers
Alessandro Decina [Wed, 8 Feb 2012 16:22:08 +0000 (17:22 +0100)]
vc1parse: set duration on output buffers

This has the nice side effect of avoiding hanging at EOS with truncated asf

6 years agovc1parse: flag bframes
Alessandro Decina [Tue, 31 Jan 2012 14:20:59 +0000 (15:20 +0100)]
vc1parse: flag bframes

6 years agocodecparsers: backport vc1 parser
Alessandro Decina [Tue, 31 Jan 2012 14:19:01 +0000 (15:19 +0100)]
codecparsers: backport vc1 parser

6 years agovc1parse: workaround for simple/main codec_data being 5 bytes long
Alessandro Decina [Tue, 31 Jan 2012 10:03:45 +0000 (11:03 +0100)]
vc1parse: workaround for simple/main codec_data being 5 bytes long

Sometimes the codec_data buffer for simple/main pushed by asfdemux is 5 bytes
instead of 4. When that happens, codec_data is still valid but it seems to have
one 0x00 trailing byte. Might be a bug in the demuxer, needs more investigation.

6 years agovc1parse: remove stub stream conversion code
Alessandro Decina [Tue, 31 Jan 2012 10:02:10 +0000 (11:02 +0100)]
vc1parse: remove stub stream conversion code

6 years agovc1parse: add some more debugging to _renegotiate
Alessandro Decina [Tue, 31 Jan 2012 10:00:55 +0000 (11:00 +0100)]
vc1parse: add some more debugging to _renegotiate

6 years agovc1parse: avoid assertion if _renegotiate is called before :src is linked
Alessandro Decina [Tue, 31 Jan 2012 09:59:41 +0000 (10:59 +0100)]
vc1parse: avoid assertion if _renegotiate is called before :src is linked

6 years agovc1parse: Add VC1 parser plugin
Alessandro Decina [Tue, 31 Jan 2012 09:58:23 +0000 (10:58 +0100)]
vc1parse: Add VC1 parser plugin



6 years agocamerabin2: change profile to h264
Luciana Fujii Pontello [Fri, 20 Jan 2012 01:09:02 +0000 (20:09 -0500)]
camerabin2: change profile to h264

6 years agocamerabin2: Change viewfinderbin to accept yuv
Luciana Fujii Pontello [Wed, 18 Jan 2012 00:29:52 +0000 (19:29 -0500)]
camerabin2: Change viewfinderbin to accept yuv

Viewfinderbin will only work with yuv, which is compatible with
pvrvideosink and omx_camera.

6 years agoomxcamerabinsrc: Request yuv from omx_camera src pad
Luciana Fujii Pontello [Fri, 13 Jan 2012 00:26:05 +0000 (22:26 -0200)]
omxcamerabinsrc: Request yuv from omx_camera src pad

Use yuv instead of yuv-strided in omx_camera src pad and remove
unnecessary stridetransforms.

6 years agopvrvideosink: fix double free freeing ->display_par
Alessandro Decina [Tue, 24 Jan 2012 15:04:54 +0000 (16:04 +0100)]
pvrvideosink: fix double free freeing ->display_par

6 years agompegpsdemux: limit the amount of scanning done on duration queries
Alessandro Decina [Wed, 18 Jan 2012 11:04:52 +0000 (12:04 +0100)]
mpegpsdemux: limit the amount of scanning done on duration queries

Limit the amount of data scanned when looking for PTSes in duration queries as a
failsafe for kinda broken, potentially large files with sparse or no PTSes.

6 years agompegpsdemux: don't scan for the last PTS if the first wasn't found
Alessandro Decina [Wed, 18 Jan 2012 10:28:26 +0000 (11:28 +0100)]
mpegpsdemux: don't scan for the last PTS if the first wasn't found

6 years agoh264parse: consider input as packetized only if format=avc is explicitly set in caps
Alessandro Decina [Thu, 12 Jan 2012 13:04:47 +0000 (14:04 +0100)]
h264parse: consider input as packetized only if format=avc is explicitly set in caps

The previous assumption was to consider input as avc if codec_data was set in
caps even if the format field was missing. Apparently the assumption was wrong
as there's at least another non-avc compliant codec_data format out there.

6 years agompegvideoparse: set interlaced field in caps
Alessandro Decina [Fri, 6 Jan 2012 12:38:41 +0000 (13:38 +0100)]
mpegvideoparse: set interlaced field in caps

6 years agopvrvideosink: fix incorrect window coordinates
Rob Clark [Mon, 2 Jan 2012 17:57:38 +0000 (11:57 -0600)]
pvrvideosink: fix incorrect window coordinates

When video is larger than screen resolution, the request to create
window at video size will result in a smaller than requested window.
So get the actual window geometry after the window is created.  This
solves an issue with video appearing "split" with the right half of
the video appearing on the left of the window.

6 years agopvrvideosink: some cleanups
Rob Clark [Mon, 2 Jan 2012 17:56:46 +0000 (11:56 -0600)]
pvrvideosink: some cleanups

6 years agopvrvideosink: fix NPE when closing window
Rob Clark [Mon, 2 Jan 2012 17:12:24 +0000 (11:12 -0600)]
pvrvideosink: fix NPE when closing window

6 years agopvrvideosink: fix potential NPE
Rob Clark [Sun, 1 Jan 2012 03:08:05 +0000 (21:08 -0600)]
pvrvideosink: fix potential NPE

6 years agodvdspu: add interlaced support
Rob Clark [Sun, 1 Jan 2012 03:07:42 +0000 (21:07 -0600)]
dvdspu: add interlaced support

6 years agodvdspu: cleanup debug code
Rob Clark [Sun, 1 Jan 2012 00:35:40 +0000 (18:35 -0600)]
dvdspu: cleanup debug code

Clean up debug code for drawing highlight rects which wasn't even
compiling previously.

TODO: might be nice if this could be controlled by properties or
env variables to make it possible to enable the debug code at

6 years agodvdspu: use refcnting instead of explicit copy
Rob Clark [Sat, 31 Dec 2011 21:13:11 +0000 (15:13 -0600)]
dvdspu: use refcnting instead of explicit copy

6 years agopvrvideosink: implement copy vmethod in buffer subclass
Rob Clark [Thu, 29 Dec 2011 06:20:51 +0000 (00:20 -0600)]
pvrvideosink: implement copy vmethod in buffer subclass

When upstream element needs a writeable buffer (ex. dvdspu), it will call
gst_buffer_make_writable(), which will use the copy vmethod to create a
copy of the buffer.  Implement copy vmethod so we don't end up having to
copy back into a bufferpool buffer in order to render.

6 years agopvrvideosink: corruption/jerkiness fixes
Rob Clark [Wed, 28 Dec 2011 08:22:34 +0000 (02:22 -0600)]
pvrvideosink: corruption/jerkiness fixes

1) Use GetDrawableParameters() to get the next client side buffer
(it is double buffered) so we don't immediately try to blit into
the same buffer xorg is reading from.

2) Some related changes to handle invalidated dri2 drawable (such
as window size change or if window is redirected/unredirected by
the window manager).

3) Wait for blits from dst surface before blitting next frame..
this avoids artifacts caused by us writing to a buffer that xorg
is still reading from.  Note that there is a similar fix needed
in the pvr xorg driver to handle the inverse problem.

6 years agopvrvideosink: add navigation
Rob Clark [Tue, 27 Dec 2011 08:33:58 +0000 (02:33 -0600)]
pvrvideosink: add navigation

6 years agopvrvideosink: add filtering
Rob Clark [Tue, 27 Dec 2011 07:05:54 +0000 (01:05 -0600)]
pvrvideosink: add filtering

6 years agodvdspu: some optimizations
Rob Clark [Tue, 27 Dec 2011 18:55:58 +0000 (12:55 -0600)]
dvdspu: some optimizations

Detect invisible pixels, and skip gstspu_vobsub_blend_comp_buffers()
when there are only invisible pixels.  This significantly reduces the
CPU load in cases of DVDs which don't use the clip_rect to exclude
processing for parts of the screen where the video is visible.

6 years agodvdspu: add NV12 support
Rob Clark [Tue, 27 Dec 2011 04:04:04 +0000 (22:04 -0600)]
dvdspu: add NV12 support

6 years agovideoparsers: fix mpeg2 parsing confusion w/ dvd
Rob Clark [Tue, 27 Dec 2011 04:01:29 +0000 (22:01 -0600)]
videoparsers: fix mpeg2 parsing confusion w/ dvd

Perhaps not unique to mpeg2 from DVD, but this is the case where I'm
seeing the parsing logic tripped up by an extension_start_code which
is not sequence_extension_id.

6 years agovideoparsers: set interlaced field in caps for mpeg2
Rob Clark [Tue, 27 Dec 2011 03:57:48 +0000 (21:57 -0600)]
videoparsers: set interlaced field in caps for mpeg2

6 years agoresindvd: use decodebin2 so needed parsers are plugged
Rob Clark [Mon, 26 Dec 2011 23:14:16 +0000 (17:14 -0600)]
resindvd: use decodebin2 so needed parsers are plugged

6 years agopvrvideosink: fix interlaced top coordinate
Luciana Fujii Pontello [Thu, 5 Jan 2012 13:21:56 +0000 (11:21 -0200)]
pvrvideosink: fix interlaced top coordinate

Top coordinate is not changed the first blit.

Style fixes.

6 years agopvrvideosink: interlaced support
Rob Clark [Tue, 27 Dec 2011 06:16:51 +0000 (00:16 -0600)]
pvrvideosink: interlaced support

6 years agopvrvideosink: a few cleanups..
Rob Clark [Tue, 27 Dec 2011 05:04:42 +0000 (23:04 -0600)]
pvrvideosink: a few cleanups..

Need to avoid caps parsing on every frame, and prefer to detect
case of caps that haven't changed early and bail out.

6 years agopvrvideosink: fix problem with non-ducati buffers
Rob Clark [Tue, 27 Dec 2011 04:50:22 +0000 (22:50 -0600)]
pvrvideosink: fix problem with non-ducati buffers

In some cases dvdspu seems to give us a non-pad-alloc'd buffer.  Don't
crash randomly in these cases.

6 years agompegpsdemux: recalculate adjust if difference is negative
Alexey Fisher [Tue, 29 Nov 2011 11:20:51 +0000 (12:20 +0100)]
mpegpsdemux: recalculate adjust if difference is negative

One of my dvds jump on some position and miss about 1 minute of stream.
The reason was mpeg timestamps. On some position scr difference is negative.
It produced negative timestamps. Since it was converted to unsigned value,
gstreamer timestamps was invalid. Instead of increasing mpeg ts,
they was decreasing till it started to be positive.

The jump in timestamps caused mpeg2dec to skip frames to make QoS happy.

This patch just make diff unsigned to avoid negative values.

Signed-off-by: Alexey Fisher <>

6 years agompegpsdemux: fix zero length packet handling
Vincent Penquerc'h [Mon, 3 Oct 2011 17:28:14 +0000 (18:28 +0100)]
mpegpsdemux: fix zero length packet handling

6 years agompegpsdemux: take into account SCR offset when seeking
Vincent Penquerc'h [Wed, 21 Sep 2011 13:53:01 +0000 (14:53 +0100)]
mpegpsdemux: take into account SCR offset when seeking

Since the seeking byte offset is chosen by linear interpolation
from SCR values, we need to take that first SCR into account
to end up near the correct offset. Otherwise, as the code does
a linear search after that first seek, it will take a LOOOOOONG
time to get there for streams which don't start at zero.

6 years agompegpsdemux: remove unused field
Vincent Penquerc'h [Tue, 20 Sep 2011 14:21:53 +0000 (15:21 +0100)]
mpegpsdemux: remove unused field

6 years agoh264parse: avoid pushing SPS/PPS at start only if both are found in stream
Alessandro Decina [Mon, 19 Dec 2011 11:32:26 +0000 (12:32 +0100)]
h264parse: avoid pushing SPS/PPS at start only if both are found in stream

Avoid injecting SPS/PPS nals only if both are already present in the stream.
Fixes some AVC clips that happen to have only PPS nals in stream.

6 years agopvrvideosink: Send application message with crop size
Luciana Fujii Pontello [Mon, 12 Dec 2011 22:21:54 +0000 (20:21 -0200)]
pvrvideosink: Send application message with crop size

Sends the original resolution of the video (not the padded one) as an
application message. This allows applications to use the right
resolution for any purpose, such as calculating aspect ratio themselves
as totem does.

6 years agopvrvideosink: accept -strided video with 2d buffers
Luciana Fujii Pontello [Thu, 8 Dec 2011 22:18:47 +0000 (20:18 -0200)]
pvrvideosink: accept -strided video with 2d buffers

Change pvrvideosink to support -strided video using 2d buffers in the

6 years agoh264parse: outgoing byte stream prefix always has size 4
Jonas Larsson [Wed, 16 Nov 2011 09:56:24 +0000 (10:56 +0100)]
h264parse: outgoing byte stream prefix always has size 4

Fixes #664123.

6 years agoh264parse: rework PAR parsing
Alessandro Decina [Wed, 23 Nov 2011 17:26:44 +0000 (18:26 +0100)]
h264parse: rework PAR parsing

6 years agopvrvideosink: consider cropping when resizing for par
Luciana Fujii Pontello [Mon, 21 Nov 2011 02:39:03 +0000 (21:39 -0500)]
pvrvideosink: consider cropping when resizing for par

When configuring pixel-aspect-ratio consider crop event.

6 years agopvrvideosink: respect pixel-aspect-ratio
Luciana Fujii Pontello [Wed, 16 Nov 2011 17:46:51 +0000 (12:46 -0500)]
pvrvideosink: respect pixel-aspect-ratio

Implement pixel-aspect-ratio handling.

6 years agoh264parse: respect pixel-aspect-ratio
Luciana Fujii Pontello [Wed, 16 Nov 2011 05:03:12 +0000 (00:03 -0500)]
h264parse: respect pixel-aspect-ratio

Parse pixel-aspect-ratio in vui information.

6 years agovideoparsers: backport h264parse changes
Luciana Fujii Pontello [Tue, 15 Nov 2011 20:23:02 +0000 (15:23 -0500)]
videoparsers: backport h264parse changes

6 years agocodecparsers: backport gsth264parser
Luciana Fujii Pontello [Wed, 16 Nov 2011 17:56:13 +0000 (12:56 -0500)]
codecparsers: backport gsth264parser

6 years agoDon't fail to build if timemmgr is not present
Luciana Fujii Pontello [Tue, 8 Nov 2011 02:34:43 +0000 (21:34 -0500)]
Don't fail to build if timemmgr is not present

Check for timemmgr only to build pvrvideosink, if it's not installed
pvrvideosink is not built.

6 years agopvrvideosink: workaround brokenness in pvr2d cleanup code
Alessandro Decina [Thu, 3 Nov 2011 12:25:58 +0000 (13:25 +0100)]
pvrvideosink: workaround brokenness in pvr2d cleanup code

Expicitly unwrap all the buffers before closing the WSEGL display so that we
don't trigger some pvr2d code that leads to an hang.

6 years agobasevideoencoder: handle failures in start() and stop()
Alessandro Decina [Mon, 31 Oct 2011 10:36:06 +0000 (11:36 +0100)]
basevideoencoder: handle failures in start() and stop()

6 years agopvrvideosink: don't preallocate buffers in the buffer pool
Alessandro Decina [Mon, 31 Oct 2011 09:46:29 +0000 (10:46 +0100)]
pvrvideosink: don't preallocate buffers in the buffer pool

6 years agopvrvideosink: handle upstream caps changes
Alessandro Decina [Fri, 28 Oct 2011 06:28:35 +0000 (08:28 +0200)]
pvrvideosink: handle upstream caps changes

6 years agopvrvideosink: move x_lock mutex to dcontext structure
Alessandro Decina [Thu, 27 Oct 2011 15:03:01 +0000 (17:03 +0200)]
pvrvideosink: move x_lock mutex to dcontext structure

x_lock is used to protect dcontext->x_display so it makes more sense to have it

6 years agopvrvideosink: link explicitly to pvr2d
Alessandro Decina [Thu, 27 Oct 2011 11:13:43 +0000 (13:13 +0200)]
pvrvideosink: link explicitly to pvr2d

6 years agopvrvideosink: add more headers in pvr_includes/
Alessandro Decina [Wed, 26 Oct 2011 17:35:38 +0000 (19:35 +0200)]
pvrvideosink: add more headers in pvr_includes/

include dri2_ws.h, pvr2d.h and wsegl.h

6 years agopvrbufferpool: Free available buffers queue on destroy
Luciana Fujii Pontello [Fri, 21 Oct 2011 14:37:41 +0000 (10:37 -0400)]
pvrbufferpool: Free available buffers queue on destroy

When bufferpool stops running, free available buffers queue instead of
all the buffers in case there is someone else holding a reference to a

Renamed _destroy to _stop_running, since the finalize will be called
only after every reference to the bufferpool is freed.

6 years agopvrvideosink: verify if pool is valid
Luciana Fujii Pontello [Fri, 21 Oct 2011 04:30:41 +0000 (00:30 -0400)]
pvrvideosink: verify if pool is valid

Keep control if pool is valid or not. Pool is not valid when on READY
or NULL state.

6 years agoInstall gstbasevideoutils.h
Luciana Fujii Pontello [Thu, 20 Oct 2011 04:39:14 +0000 (00:39 -0400)]
Install gstbasevideoutils.h

6 years agopvrvideosink: Add config arg to use external headers
Luciana Fujii Pontello [Wed, 19 Oct 2011 19:26:40 +0000 (15:26 -0400)]
pvrvideosink: Add config arg to use external headers

Add --with-pvr-external-dependencies argument to use system installed
pvr headers.

6 years agopvrvideosink: Remove depency of pdump_defs.h
Luciana Fujii Pontello [Wed, 19 Oct 2011 19:25:50 +0000 (15:25 -0400)]
pvrvideosink: Remove depency of pdump_defs.h

Modify services.h to not depend on pdump_defs.h