gstreamer-omap:gst-plugins-bad.git
5 years agoh264parser: add poc calculation
Vincent Penquerc'h [Thu, 4 Oct 2012 11:25:30 +0000 (12:25 +0100)]
h264parser: add poc calculation

Only for type 0 at the moment, which is what the sample I have
uses.

5 years agodri2videosink: fix cropping with software decoders
Vincent Penquerc'h [Wed, 3 Oct 2012 13:02:18 +0000 (14:02 +0100)]
dri2videosink: fix cropping with software decoders

Normal elements send a crop event, but ducati has another
per-buffer system to attach a crop rectangle. When a buffer
has no crop rectangle, but we received a crop event, use
the crop event data instead.

This fixes borders being wrongly displayed with software
decoders.

5 years agoh264parse: do not send PPS and SPS alone in byte-stream mode
Vincent Penquerc'h [Wed, 3 Oct 2012 12:06:03 +0000 (13:06 +0100)]
h264parse: do not send PPS and SPS alone in byte-stream mode

They could be sent alone for interlaced streams, which would
confuse the ducati decoder which expects more data after them.

5 years agodri2videosink, pvrvideosink: Accept height up to 2048 pixels
Thibault Saunier [Tue, 2 Oct 2012 12:58:19 +0000 (14:58 +0200)]
dri2videosink, pvrvideosink: Accept height up to 2048 pixels

This is what hw actually limits to.

5 years agopvrvideosink: Limit size to 1080p as it is a hardware limitation
Thibault Saunier [Wed, 26 Sep 2012 16:53:11 +0000 (18:53 +0200)]
pvrvideosink: Limit size to 1080p as it is a hardware limitation

5 years agodri2videosink: Limit size to 2k as it is the maximum size the hardware handles
Thibault Saunier [Wed, 26 Sep 2012 16:51:35 +0000 (18:51 +0200)]
dri2videosink: Limit size to 2k as it is the maximum size the hardware handles

5 years agodri2videosink: Limit size to 1080p as it is a hardware limitation
Thibault Saunier [Wed, 26 Sep 2012 15:27:12 +0000 (17:27 +0200)]
dri2videosink: Limit size to 1080p as it is a hardware limitation

5 years agoh264parse: do not use VUI values if they were not found in the stream
Vincent Penquerc'h [Wed, 19 Sep 2012 14:52:33 +0000 (14:52 +0000)]
h264parse: do not use VUI values if they were not found in the stream

5 years agodrm: do not dereference a NULL pointer
Vincent Penquerc'h [Tue, 11 Sep 2012 11:02:43 +0000 (11:02 +0000)]
drm: do not dereference a NULL pointer

If omap_bo_new fails, return NULL early.

5 years agodrm: do not dereference a NULL pointer
Vincent Penquerc'h [Tue, 11 Sep 2012 11:02:43 +0000 (11:02 +0000)]
drm: do not dereference a NULL pointer

If omap_bo_new fails, return NULL early.

5 years agodrm: add a signal for notifying when a buffer is returned to the pool
Vincent Penquerc'h [Thu, 6 Sep 2012 09:14:23 +0000 (09:14 +0000)]
drm: add a signal for notifying when a buffer is returned to the pool

5 years agoAdd a pkg-config file for the drm lib
Vincent Penquerc'h [Wed, 5 Sep 2012 08:25:59 +0000 (08:25 +0000)]
Add a pkg-config file for the drm lib

5 years agodrm and dri: Enhance debug messages
Thibault Saunier [Tue, 4 Sep 2012 23:44:39 +0000 (20:44 -0300)]
drm and dri: Enhance debug messages

5 years agodri2 and drm: Pass through gst-indent
Thibault Saunier [Tue, 4 Sep 2012 23:29:49 +0000 (20:29 -0300)]
dri2 and drm: Pass through gst-indent

5 years agodrmbufferpool: fix dmabuf leak
Vincent Penquerc'h [Thu, 23 Aug 2012 17:35:31 +0000 (17:35 +0000)]
drmbufferpool: fix dmabuf leak

As the comment in gst_drm_buffer_initialize says, gst_buffer_set_dma_buf
does not take ownership of the passed dmabuf, so unref it when done.

5 years agocodecparsers: mpeg4: do not expect a marker bit where not specified
Mark Nauwelaerts [Fri, 18 May 2012 14:17:13 +0000 (16:17 +0200)]
codecparsers: mpeg4: do not expect a marker bit where not specified

Fixes #672447.

5 years agodri2videosink: fix a crash on resizing the window
Vincent Penquerc'h [Fri, 3 Aug 2012 14:54:57 +0000 (14:54 +0000)]
dri2videosink: fix a crash on resizing the window

5 years agodri2videosink: deinterlaced interlaced input
Vincent Penquerc'h [Fri, 3 Aug 2012 14:21:09 +0000 (14:21 +0000)]
dri2videosink: deinterlaced interlaced input

This might miss some cases (single memcpy and non memcpy), but this
takes care of the sample I have.

5 years agodri2videosink: DRI2 stride has a pixel constraint, not a byte one
Vincent Penquerc'h [Fri, 3 Aug 2012 11:20:49 +0000 (11:20 +0000)]
dri2videosink: DRI2 stride has a pixel constraint, not a byte one

The hardware wants the stride to be a multiple of 32 pixels, not 32
bytes, so packed formats with 2 bytes per pixel will need aligning
to 64 bytes, not 32, to match 32 pixels.

5 years agodri2videosink: fix window/video width confusion
Vincent Penquerc'h [Thu, 2 Aug 2012 17:58:38 +0000 (17:58 +0000)]
dri2videosink: fix window/video width confusion

Also since we copy more than one plane at once when possible,
avoid double copies if libgstvideo allows us to do so.

5 years agodri2videosink: copy correct number of bytes for interlaved foramts
Vincent Penquerc'h [Thu, 2 Aug 2012 16:55:42 +0000 (16:55 +0000)]
dri2videosink: copy correct number of bytes for interlaved foramts

The width of a component is expressed in pixels, and not bytes,
so we need to multiply by the pixel stride to get the width in bytes.

5 years agodri2videosink: copy buffers which do not match strides dri2 needs
Vincent Penquerc'h [Thu, 2 Aug 2012 14:17:26 +0000 (14:17 +0000)]
dri2videosink: copy buffers which do not match strides dri2 needs

5 years agodri2videosink: bump rank to PRIMARY + 1
Vincent Penquerc'h [Tue, 24 Jul 2012 10:56:38 +0000 (10:56 +0000)]
dri2videosink: bump rank to PRIMARY + 1

To match the preferred usage priority.

5 years agokmssink: bump rank to PRIMARY + 1
Vincent Penquerc'h [Tue, 24 Jul 2012 10:55:38 +0000 (10:55 +0000)]
kmssink: bump rank to PRIMARY + 1

To match the preferred usage priority.

5 years agodri2videosink: destroy context only whe window is destroyed
Vincent Penquerc'h [Fri, 20 Jul 2012 12:16:33 +0000 (12:16 +0000)]
dri2videosink: destroy context only whe window is destroyed

This avoids using the X lock after it was destroyed, as buffers
may be destroyed later, and need to use the context.

5 years agoh264parse: add num-ref-frames in caps
Vincent Penquerc'h [Wed, 18 Jul 2012 11:38:53 +0000 (11:38 +0000)]
h264parse: add num-ref-frames in caps

This is the number of reference frames needed for reordering frames
by presentation time.

5 years agoh264parse: delay setting passthrough mode when waiting to known resolution
Vincent Penquerc'h [Wed, 11 Jul 2012 14:24:16 +0000 (14:24 +0000)]
h264parse: delay setting passthrough mode when waiting to known resolution

This makes a difference on a particular interlaced clip, which looks very
wrong with this patch, and looked even wronger without.

5 years agodri2: link libgstdrm in-tree
Vincent Penquerc'h [Wed, 11 Jul 2012 13:31:36 +0000 (13:31 +0000)]
dri2: link libgstdrm in-tree

5 years agokms: add missing backslash in lib list
Vincent Penquerc'h [Wed, 11 Jul 2012 09:42:26 +0000 (09:42 +0000)]
kms: add missing backslash in lib list

5 years agokmssink: link to our in-tree libgstbasevideo
Vincent Penquerc'h [Tue, 10 Jul 2012 17:50:56 +0000 (17:50 +0000)]
kmssink: link to our in-tree libgstbasevideo

5 years agoh264parse: do not use a buffer after it was unreffed
Vincent Penquerc'h [Tue, 10 Jul 2012 15:31:33 +0000 (15:31 +0000)]
h264parse: do not use a buffer after it was unreffed

In some cases, the frame buffer may be replaced by a new buffer,
making the local cache invalid.

5 years agoh264parse: split interlaced fields in separate packets
Vincent Penquerc'h [Tue, 10 Jul 2012 13:53:09 +0000 (13:53 +0000)]
h264parse: split interlaced fields in separate packets

ducatih264dec requires such fields to be in separate AUs.

5 years agoRevert "h264parse: disable some optimizations with AVC input"
Vincent Penquerc'h [Tue, 10 Jul 2012 13:51:09 +0000 (13:51 +0000)]
Revert "h264parse: disable some optimizations with AVC input"

I now have a fix for the bundling of interlaced NAL units in a
single AU that was tripping ducatih264dec, so we can revert this
stopgap and go back to the faster parsing.

This reverts commit 37257ba09895d567c06e44e1f5c58cb54851fb38.

5 years agopvrvideosink: fix unwanted scaling on cropped videos
Vincent Penquerc'h [Mon, 9 Jul 2012 10:54:57 +0000 (10:54 +0000)]
pvrvideosink: fix unwanted scaling on cropped videos

When a video with crop rectangle was used, the window was created with
the uncropped size, and kept that way after the crop event was received,
leading to a slight scaling of the video (and likely slight aspect ratio
change as well).

This is fixed by resizing the window to the cropped size when it changes.

5 years agoh264parse: wait to get resolution before pushing buffers
Vincent Penquerc'h [Thu, 28 Jun 2012 15:10:08 +0000 (15:10 +0000)]
h264parse: wait to get resolution before pushing buffers

ducatih264dec wants resolution in caps, so we have to wait for it
to become known before pushing the first buffer, so it includes caps
with the resolution.

This fixes prerolling on the disney-sample.mpg test file.

5 years agodrmbufferpool: give this code a separate debug category
Vincent Penquerc'h [Thu, 28 Jun 2012 09:03:59 +0000 (09:03 +0000)]
drmbufferpool: give this code a separate debug category

and add a couple logs while we're at it

5 years agopvrvideosink: recreate the pool on new caps in buffer-alloc
Vincent Penquerc'h [Wed, 27 Jun 2012 18:27:05 +0000 (18:27 +0000)]
pvrvideosink: recreate the pool on new caps in buffer-alloc

When an element downstream calls setcaps, then buffer-alloc,
the setcaps may be delayed, so do not rely on setcaps to reset
the pool before buffer-alloc.

5 years agopvrvideosink: actually print caps
Vincent Penquerc'h [Wed, 27 Jun 2012 16:25:50 +0000 (16:25 +0000)]
pvrvideosink: actually print caps

5 years agodri2ideosink: fix caps equality check
Vincent Penquerc'h [Wed, 27 Jun 2012 16:23:07 +0000 (16:23 +0000)]
dri2ideosink: fix caps equality check

gst_drm_buffer_pool_check_caps returns FALSE when the caps are not equal.

5 years agopvrvideosink: fix caps equality check
Vincent Penquerc'h [Wed, 27 Jun 2012 16:22:10 +0000 (16:22 +0000)]
pvrvideosink: fix caps equality check

gst_drm_buffer_pool_check_caps returns FALSE when the caps are not equal.

5 years agolibgstdrm: use gst_caps_is_strictly_equal instead of gst_caps_is_equal
Vincent Penquerc'h [Wed, 27 Jun 2012 16:20:41 +0000 (16:20 +0000)]
libgstdrm: use gst_caps_is_strictly_equal instead of gst_caps_is_equal

The latter is, well, not strict enough. In fact, it will be happy to
return TRUE when one caps has interlaced=TRUE, and the other does not
have interlaced at all.

5 years agopvrvideosink: get rid of the dependency on dri2_omap_ws.h
Vincent Penquerc'h [Tue, 26 Jun 2012 11:59:18 +0000 (11:59 +0000)]
pvrvideosink: get rid of the dependency on dri2_omap_ws.h

5 years agodri2videosink: reenable the memcpy on slow path
Vincent Penquerc'h [Mon, 25 Jun 2012 14:56:27 +0000 (14:56 +0000)]
dri2videosink: reenable the memcpy on slow path

This fixes using 2 dri2videosink elements in a pipeline, and does not seem
to be used in the single dri2videosink case. This was apparently a leftover
debugging change.

5 years agodri2videosink: avoid possible aliasing and locale issues
Vincent Penquerc'h [Mon, 25 Jun 2012 12:07:23 +0000 (12:07 +0000)]
dri2videosink: avoid possible aliasing and locale issues

5 years agodri2videosink: do not crash when XOpenDisplay fails
Vincent Penquerc'h [Mon, 25 Jun 2012 10:39:52 +0000 (10:39 +0000)]
dri2videosink: do not crash when XOpenDisplay fails

5 years agodrmbufferpool: fix device leak
Vincent Penquerc'h [Mon, 25 Jun 2012 10:13:46 +0000 (10:13 +0000)]
drmbufferpool: fix device leak

5 years agodri2videosink: fix more leaks
Vincent Penquerc'h [Mon, 25 Jun 2012 10:02:25 +0000 (10:02 +0000)]
dri2videosink: fix more leaks

5 years agodri2videosink: fix caps leak
Vincent Penquerc'h [Mon, 25 Jun 2012 09:19:41 +0000 (09:19 +0000)]
dri2videosink: fix caps leak

5 years agodri2videosink: refcount dri2window
Vincent Penquerc'h [Sun, 24 Jun 2012 13:58:38 +0000 (13:58 +0000)]
dri2videosink: refcount dri2window

I'm not convinced this was wrong in the first place, since the dri2window
was destroying the pool on destruction, and I'm told buffers cannot outlive
the pool, but refcounting makes this certain, though care has to be taken
to avoid ref cycles between dri2window and buffer pool.

5 years agodri2videosink: fix a few leaks, mostly on error
Vincent Penquerc'h [Sun, 24 Jun 2012 13:53:34 +0000 (13:53 +0000)]
dri2videosink: fix a few leaks, mostly on error

5 years agodri2videosink: unset variables before freeing their memory
Vincent Penquerc'h [Sun, 24 Jun 2012 13:52:51 +0000 (13:52 +0000)]
dri2videosink: unset variables before freeing their memory

Fraction variables do not actually leak in practice, but it's good
practice, so let's do it properly.

5 years agoWIP: start adding dri2videosink
Rob Clark [Thu, 14 Jun 2012 15:37:06 +0000 (10:37 -0500)]
WIP: start adding dri2videosink

5 years agodrmbufferpool: make it possible to subclass
Rob Clark [Thu, 14 Jun 2012 16:01:37 +0000 (11:01 -0500)]
drmbufferpool: make it possible to subclass

5 years agokmssink: use gst_buffer_replace
Rob Clark [Fri, 15 Jun 2012 01:27:47 +0000 (20:27 -0500)]
kmssink: use gst_buffer_replace

5 years agopvrvideosink: bump rank to PRIMARY+1
Vincent Penquerc'h [Fri, 22 Jun 2012 13:51:06 +0000 (13:51 +0000)]
pvrvideosink: bump rank to PRIMARY+1

We want this to be selected even before xvimagesink.

5 years agopvrvideosink: fix leaks on error paths
Vincent Penquerc'h [Fri, 22 Jun 2012 11:01:46 +0000 (11:01 +0000)]
pvrvideosink: fix leaks on error paths

5 years agopvrvideosink: fix context leak by refcounting it
Vincent Penquerc'h [Thu, 21 Jun 2012 18:26:34 +0000 (18:26 +0000)]
pvrvideosink: fix context leak by refcounting it

5 years agokmssink: round strides to match what gstreamer expects
Vincent Penquerc'h [Thu, 21 Jun 2012 15:04:55 +0000 (15:04 +0000)]
kmssink: round strides to match what gstreamer expects

5 years agodrm: link to libgstdmabuf-0.10
Alessandro Decina [Wed, 20 Jun 2012 10:10:39 +0000 (10:10 +0000)]
drm: link to libgstdmabuf-0.10

5 years agopvrvideosink: port to dmabuf
Alessandro Decina [Thu, 14 Jun 2012 15:01:50 +0000 (15:01 +0000)]
pvrvideosink: port to dmabuf

Use dmabuf to allocate and share buffers. This makes pvrvideosink
much more portable, getting rid of most omap dependencies.
There are still a few rough edges and a couple of dependencies on
omap that need to be taken out.

5 years agoAdd drm/ to gstreamer-plugins-bad-uninstalled.pc.in
Alessandro Decina [Mon, 18 Jun 2012 11:10:14 +0000 (11:10 +0000)]
Add drm/ to gstreamer-plugins-bad-uninstalled.pc.in

5 years agokmssink: move boilerplate decl on top to avoid compiler warning
Alessandro Decina [Mon, 18 Jun 2012 13:54:24 +0000 (13:54 +0000)]
kmssink: move boilerplate decl on top to avoid compiler warning

...plus whitespace fixes

5 years agokmssink: build fixes
Alessandro Decina [Mon, 18 Jun 2012 13:54:15 +0000 (13:54 +0000)]
kmssink: build fixes

5 years agokmssink: do modeset
Rob Clark [Tue, 12 Jun 2012 19:44:46 +0000 (14:44 -0500)]
kmssink: do modeset

Set the mode we actually know what the screen resolution is.  Just
assuming it is the first mode is incorrect and would depend on the
monitor.

We could be a bit more clever and pick the lowest resolution that
is greater than the requested video.  But picking highest resolution
is a safe bet.

5 years agokmssink: don't allow visible buffer to return to pool
Rob Clark [Tue, 12 Jun 2012 18:13:29 +0000 (13:13 -0500)]
kmssink: don't allow visible buffer to return to pool

Since we don't current get a vblank event, just keep the current and
last frame ref'd so they don't get returned to the decoder while they
are potentially visible.

5 years agokmssink: use drm bufferpool and dmabuf to for zero copy
Rob Clark [Tue, 12 Jun 2012 15:19:26 +0000 (10:19 -0500)]
kmssink: use drm bufferpool and dmabuf to for zero copy

Get rid of our internal buffer pool, and instead use GstDRMBufferPool.
Use dmabuf to get handle to underlying buffer object, and qdata to
attach our own private data to the buffer.

This way we don't really care who allocates the buffer, and can deal
in the same way with our own buffers, or any other buffer allocator
that is using dmabuf.

5 years agodrm: add GstDRMBufferPool
Rob Clark [Tue, 12 Jun 2012 14:41:31 +0000 (09:41 -0500)]
drm: add GstDRMBufferPool

A re-usable bufferpool for elements which are using DRM buffers.

TODO: remove omap dependencies.. not sure how to handle allocation
since that part still needs a driver specific ioctl, but for the
rest we could probably add some gst drm helpers and use that instead
of libdrm_omap.

5 years agokmssink: share the drm fd with other elements in the pipeline
Alessandro Decina [Thu, 24 May 2012 07:11:07 +0000 (07:11 +0000)]
kmssink: share the drm fd with other elements in the pipeline

Implement the GstVideoContext interface to share the drm fd with
other elements (eg gst-ducati). This change removes the kmssink
dependency on libdce. libdce is still needed by the
sys/kms/gstducati*buffer code, but that will go away soon too.

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

5 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

5 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

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

5 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.

5 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

5 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.

5 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
output.

5 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

5 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)

5 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.

Conflicts:

sys/Makefile.am

5 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
application.

5 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.

5 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.

5 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.

5 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

5 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.

5 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.

5 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
clips.

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

5 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.

5 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

5 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

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

Conflicts:

gst/videoparsers/Makefile.am
gst/videoparsers/plugin.c

5 years agocamerabin2: change profile to h264
Luciana Fujii Pontello [Tue, 1 May 2012 21:34:36 +0000 (17:34 -0400)]
camerabin2: change profile to h264

5 years agompegvideoparse: Fix rebase of interlaced field
Luciana Fujii Pontello [Tue, 1 May 2012 21:32:07 +0000 (17:32 -0400)]
mpegvideoparse: Fix rebase of interlaced field

5 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.

5 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.

5 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

5 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.

5 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.

5 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