platform/upstream/gstreamer.git
13 years agovdpau: fixup GstFlowReturn handling
Carl-Anton Ingmarsson [Sun, 27 Mar 2011 17:47:43 +0000 (19:47 +0200)]
vdpau: fixup GstFlowReturn handling

Previously the different decoders would discard errounous GstFlowReturns coming
from downstream. Now we properly return these further upstream so that we
properly error out on eg. negotiation problems.

13 years agovdpau: small indentation fix
Carl-Anton Ingmarsson [Sun, 27 Mar 2011 17:40:48 +0000 (19:40 +0200)]
vdpau: small indentation fix

13 years agovdpaumpegdec: don't ignore return value of gst_base_video_decoder_finish_frame
Carl-Anton Ingmarsson [Mon, 6 Sep 2010 15:42:15 +0000 (17:42 +0200)]
vdpaumpegdec: don't ignore return value of gst_base_video_decoder_finish_frame

13 years agodshow: fix list iteration code
Tim-Philipp Müller [Sun, 27 Mar 2011 16:42:56 +0000 (17:42 +0100)]
dshow: fix list iteration code

13 years agodccpserversink: fix list iteration code
Tim-Philipp Müller [Sun, 27 Mar 2011 16:22:52 +0000 (17:22 +0100)]
dccpserversink: fix list iteration code

Fix suboptimal list iteration code, and add some FIXMEs.

13 years agopatchdetect: link against libm
Tim-Philipp Müller [Sat, 26 Mar 2011 12:45:24 +0000 (12:45 +0000)]
patchdetect: link against libm

Link against libm. Include math-compat.h header. Don't link against
orc, since it's not actually used.

https://bugzilla.gnome.org/show_bug.cgi?id=645711

13 years agoUse correct clock when checking whether to write a new PCR
Jan Schmidt [Sat, 26 Mar 2011 05:12:18 +0000 (16:12 +1100)]
Use correct clock when checking whether to write a new PCR

The PCR clocks against the 27MHz SCR clock, so check it correctly
to avoid writing the PCR too often.

Partially fixes: #611046

13 years agoRewrite M2TS packet output
Jan Schmidt [Sat, 26 Mar 2011 04:58:21 +0000 (15:58 +1100)]
Rewrite M2TS packet output

Make sure we only write the bottom 30 bits of the PCR to the m2ts header.
Don't use floating point computation for it, and remove weird bit fiddling
that messes up the PCR in a way I can't find any
justification/documentation for.

Don't accidentally lose PCR packets from the output.

Fix the description for the m2ts-mode property so it's clear it's a flag,
and which setting does what.

Fixes: #611061 #644429
Partially fixes: #645006

13 years agoFix a FIXME, and some whitespace/code style bits.
Jan Schmidt [Sat, 26 Mar 2011 00:14:01 +0000 (11:14 +1100)]
Fix a FIXME, and some whitespace/code style bits.

Also, add a new copyright notice for me.

13 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 25 Mar 2011 21:33:05 +0000 (22:33 +0100)]
Automatic update of common submodule

From 193b717 to 1ccbe09

13 years agoAutomatic update of common submodule
Stefan Kost [Fri, 25 Mar 2011 12:56:43 +0000 (14:56 +0200)]
Automatic update of common submodule

From b77e2bf to 193b717

13 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 25 Mar 2011 08:32:30 +0000 (09:32 +0100)]
Automatic update of common submodule

From d8814b6 to b77e2bf

13 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 25 Mar 2011 08:08:49 +0000 (09:08 +0100)]
Automatic update of common submodule

From 6aaa286 to d8814b6

13 years agoaiffparse: Add float caps to the template caps
Sebastian Dröge [Fri, 25 Mar 2011 07:33:37 +0000 (08:33 +0100)]
aiffparse: Add float caps to the template caps

13 years agodecklink: Fix win32 build
David Schleef [Thu, 24 Mar 2011 23:16:20 +0000 (16:16 -0700)]
decklink: Fix win32 build

13 years agompegtsdemux: ensure cleanup of pes/section filter helper structures
René Stadler [Thu, 24 Mar 2011 20:32:42 +0000 (22:32 +0200)]
mpegtsdemux: ensure cleanup of pes/section filter helper structures

In particular, the section_filter would not be cleared for a private section
stream, leaking a GstAdapter. Seen on bug #645502.

13 years agompegtsdemux: don't leak pad name
René Stadler [Thu, 24 Mar 2011 20:10:43 +0000 (22:10 +0200)]
mpegtsdemux: don't leak pad name

As seen on bug #645502.

13 years agoh264parse: free PPS NAL buffers on cleanup
René Stadler [Thu, 24 Mar 2011 19:46:09 +0000 (21:46 +0200)]
h264parse: free PPS NAL buffers on cleanup

Obviously a typo. Fixes bug #645502.

13 years agoh264parse: don't leak all NAL buffers
René Stadler [Thu, 24 Mar 2011 19:44:07 +0000 (21:44 +0200)]
h264parse: don't leak all NAL buffers

gst_buffer_replace() doesn't steal the ref. Partial fix for bug #645502.

13 years agoAutomatic update of common submodule
Stefan Kost [Thu, 24 Mar 2011 16:49:54 +0000 (18:49 +0200)]
Automatic update of common submodule

From 6aec6b9 to 6aaa286

13 years agompegtsdemux: fix stream_info descriptor parsing
Janne Grunau [Thu, 24 Mar 2011 13:51:12 +0000 (14:51 +0100)]
mpegtsdemux: fix stream_info descriptor parsing

13 years agodcaparse: Bump rank to primary+1
Arun Raghavan [Wed, 9 Mar 2011 17:36:14 +0000 (23:06 +0530)]
dcaparse: Bump rank to primary+1

Seems to work fine with a reasonably wide range of media, so bumping
rank.

13 years agoaiffparse: Add support for 32 bit and 64 bit floating point formats
Sebastian Dröge [Thu, 24 Mar 2011 09:08:59 +0000 (10:08 +0100)]
aiffparse: Add support for 32 bit and 64 bit floating point formats

13 years agoaiffparse: The SSND header is 16 bytes large, not 8 + 16 bytes
Sebastian Dröge [Thu, 24 Mar 2011 08:58:45 +0000 (09:58 +0100)]
aiffparse: The SSND header is 16 bytes large, not 8 + 16 bytes

Fixes bug #645568 and playback in pull mode for sample widths > 8 that
are not a multiple of 2 bytes (e.g. 24 bit samples).

13 years agoaiffparse: Use gst_util_uint64_scale_ceil() instead of a custom function
Sebastian Dröge [Thu, 24 Mar 2011 08:29:06 +0000 (09:29 +0100)]
aiffparse: Use gst_util_uint64_scale_ceil() instead of a custom function

13 years agodtsdec: Don't export bitrate if open/variable/lossless
Arun Raghavan [Thu, 24 Mar 2011 08:13:01 +0000 (13:43 +0530)]
dtsdec: Don't export bitrate if open/variable/lossless

libdca returns the bitrate as 1/2/3 for open/variable/lossless files
respectively. This makes sure we don't emit these values.

13 years agoceltdec: Read the additional, optional extra headers from the caps too
Sebastian Dröge [Thu, 24 Mar 2011 08:22:56 +0000 (09:22 +0100)]
celtdec: Read the additional, optional extra headers from the caps too

13 years agoceltdec: Get and use streamheaders from the caps if possible
Sebastian Dröge [Thu, 24 Mar 2011 08:14:10 +0000 (09:14 +0100)]
celtdec: Get and use streamheaders from the caps if possible

This allows playback of files where the streamheader buffers were
dropped for some reason and also sets the srcpad caps earlier.

13 years agoschroenc: Revert previous commit
David Schleef [Thu, 24 Mar 2011 05:53:56 +0000 (22:53 -0700)]
schroenc: Revert previous commit

It appears the patch, which I've been carrying around forever,
had been already applied.

13 years agobasevideo: merge utils header into basevideocodec
David Schleef [Sun, 20 Feb 2011 22:16:18 +0000 (14:16 -0800)]
basevideo: merge utils header into basevideocodec

13 years agoschroenc: Output element message with frame stats
David Schleef [Fri, 31 Dec 2010 02:25:04 +0000 (18:25 -0800)]
schroenc: Output element message with frame stats

13 years agopatchdetect: new element
David Schleef [Sat, 26 Feb 2011 08:28:32 +0000 (00:28 -0800)]
patchdetect: new element

Detects Munsell ColorChecker in a video image and automatically
white balances and color corrects based on the detected values.
This element is only a demonstration at this stage, it needs to
be separated into two elements.

13 years agodecklink: Add decklink plugin
David Schleef [Sun, 27 Feb 2011 08:48:19 +0000 (00:48 -0800)]
decklink: Add decklink plugin

Source and sink elements for BlackMagic DeckLink SDI cards.

13 years agolinsys: Add plugin for Linear Systems SDI boards
David Schleef [Fri, 18 Mar 2011 00:38:58 +0000 (17:38 -0700)]
linsys: Add plugin for Linear Systems SDI boards

13 years agosdi: Add raw SDI muxing/demuxing elements
David Schleef [Tue, 14 Sep 2010 18:30:33 +0000 (11:30 -0700)]
sdi: Add raw SDI muxing/demuxing elements

13 years agologoinsert: Fix memleaks, add test
David Schleef [Fri, 18 Mar 2011 02:03:29 +0000 (19:03 -0700)]
logoinsert: Fix memleaks, add test

13 years agologoinsert: Add data property
David Schleef [Mon, 15 Nov 2010 19:37:12 +0000 (11:37 -0800)]
logoinsert: Add data property

13 years agogst-camerabin2-test: Fix premature shutdown
Robert Swain [Wed, 23 Mar 2011 14:49:18 +0000 (15:49 +0100)]
gst-camerabin2-test: Fix premature shutdown

We must wait for camerabin2's stop-capture procedures to finish before quitting
the main loop or firing off the next capture. If we get stuck waiting for
camerabin2 to become idle, this is a bug that needs fixing.

13 years agocamerabin2: Only mark video capture as finished after EOS
Thiago Santos [Wed, 23 Mar 2011 19:32:19 +0000 (16:32 -0300)]
camerabin2: Only mark video capture as finished after EOS

Instead of probing the videosink sinkpad for passing EOS, better
to wait for EOS from the bus.

This makes sure the filesink has already processed it and is
ready to close the file. This is used to notify applications
that camerabin2 is idle and can be shut down.

13 years agobasecamerasrc: camerabin2: wrappercamerabinsrc: Add read-only max-zoom prop
Robert Swain [Fri, 18 Mar 2011 14:49:12 +0000 (15:49 +0100)]
basecamerasrc: camerabin2: wrappercamerabinsrc: Add read-only max-zoom prop

This is not implemented in any of our real sources to which wrappercamerabinsrc
might connect but this is optional and can be implemented at any time. A
limit on the software zoom level using video{crop,scale} would be arbitrary.

13 years agocamerabin2: Improve idle property usage
Thiago Santos [Wed, 23 Mar 2011 15:38:36 +0000 (12:38 -0300)]
camerabin2: Improve idle property usage

Use resource warning messages to notify camerabin2 that a capture
as aborted or couldn't be started, making it decrement the
processing counter and making the idle property more reliable.

13 years agocamerabin2: No need to force audiosrc to null on stop_capture
Thiago Santos [Tue, 22 Mar 2011 15:04:20 +0000 (12:04 -0300)]
camerabin2: No need to force audiosrc to null on stop_capture

Setting the audio source to null isn't needed and it could
make the EOS that is still flowing be dropped if autoaudiosrc
is used because its pads go flushing before the EOS gets pushed
from the real source.

13 years agobasecamerabinsrc: Check if set preview caps are the same
Lauri Lehtinen [Tue, 22 Mar 2011 11:32:48 +0000 (08:32 -0300)]
basecamerabinsrc: Check if set preview caps are the same

Checks if the new received preview-caps are equal to what is
already in use, skips the preview-caps setting logic in case
new caps are same as current ones.

13 years agotests: camerabin2: Adds another 'idle' test
Thiago Santos [Tue, 15 Mar 2011 18:47:21 +0000 (15:47 -0300)]
tests: camerabin2: Adds another 'idle' test

Adds another test that checks that the idle property works
correctly when bogus start-capture calls are made.

This fails currently, but should remind us of fixing it in
the future by defining a proper error reporting from camera
sources to camerabin2

13 years agotests: camerabin2: Sprinkle some 'idle' property checks
Thiago Santos [Tue, 15 Mar 2011 18:34:31 +0000 (15:34 -0300)]
tests: camerabin2: Sprinkle some 'idle' property checks

Adds some checks for 'idle' property in camerabin2 tests

13 years agocamerabin2: Adds new idle property
Thiago Santos [Tue, 15 Mar 2011 18:11:01 +0000 (15:11 -0300)]
camerabin2: Adds new idle property

Adds idle property (just like camerabin1), a boolean that
is true when camerabin2 isn't processing and can be shut down
without losing data.

13 years agotests: camerabin2: Adds tests for new image capture properties
Thiago Santos [Tue, 15 Mar 2011 13:50:54 +0000 (10:50 -0300)]
tests: camerabin2: Adds tests for new image capture properties

Adds tests to check that changing encoder/muxer for image capture
works

13 years agocamerabin2: Adding properties for image capture settings
Thiago Santos [Tue, 15 Mar 2011 13:11:43 +0000 (10:11 -0300)]
camerabin2: Adding properties for image capture settings

Adds properties for selecting image encoder and muxer for
image capture

13 years agocamerabin2: More debug log
Thiago Santos [Mon, 14 Mar 2011 17:33:57 +0000 (14:33 -0300)]
camerabin2: More debug log

Small refactoring and adding more debug log to encodebin related
paths

13 years agobasecamerasrc: Set preview pipeline NULL
Thiago Santos [Mon, 14 Mar 2011 17:30:36 +0000 (14:30 -0300)]
basecamerasrc: Set preview pipeline NULL

Set preview pipeline to NULL when freed to be able to
recreate it on the following lines

13 years agodcaparse: Expose frame size in caps
Arun Raghavan [Wed, 23 Mar 2011 16:32:37 +0000 (22:02 +0530)]
dcaparse: Expose frame size in caps

This exports the size of the frame (number of bytes from one sync point
to the next) as the "frame_size" field in caps.

13 years agodcaparse: Expose block size in caps
Arun Raghavan [Wed, 9 Mar 2011 17:33:10 +0000 (23:03 +0530)]
dcaparse: Expose block size in caps

This sets the "block_size" field on caps as the number of samples
encoded in one frame.

13 years agoqtmux: use running time for synchronization
Mark Nauwelaerts [Tue, 22 Mar 2011 19:53:08 +0000 (20:53 +0100)]
qtmux: use running time for synchronization

See also #432612.

13 years agoh264parse: chain up to parent finalize
Mark Nauwelaerts [Tue, 22 Mar 2011 12:18:03 +0000 (13:18 +0100)]
h264parse: chain up to parent finalize

13 years agoscaletempo: Correctly handle newsegment events with stop==-1
Chris E Jones [Tue, 22 Mar 2011 12:46:42 +0000 (13:46 +0100)]
scaletempo: Correctly handle newsegment events with stop==-1

Fixes bug #645420.

13 years agoconfigure.ac: redundant uses of AC_MSG_RESULT()
Luis de Bethencourt [Tue, 22 Mar 2011 11:34:20 +0000 (12:34 +0100)]
configure.ac: redundant uses of AC_MSG_RESULT()

cleaned the redundant uses of AC_MSG_RESULT() in configure.ac

13 years agoautogen: wingo signed comment
Luis de Bethencourt [Fri, 18 Mar 2011 18:34:57 +0000 (19:34 +0100)]
autogen: wingo signed comment

13 years agozebrastripe: Add new GstVideoFilter2 base class
David Schleef [Mon, 21 Mar 2011 20:31:15 +0000 (13:31 -0700)]
zebrastripe: Add new GstVideoFilter2 base class

An experiment.  Not completely happy with it.

13 years agompegtspacketizer: Handle all ISO8859-x encodings in get_encoding()
Mart Raudsepp [Mon, 21 Mar 2011 18:40:14 +0000 (20:40 +0200)]
mpegtspacketizer: Handle all ISO8859-x encodings in get_encoding()

... according to ETSI EN 300 468, "Selection of character table"

13 years agompegtsdemux: do not try to parse packets containing section data as PES
Janne Grunau [Mon, 21 Feb 2011 10:44:01 +0000 (11:44 +0100)]
mpegtsdemux: do not try to parse packets containing section data as PES

13 years agompegtsdemux: add stream types for DSM CC A, B, C, D
Janne Grunau [Mon, 21 Feb 2011 10:42:54 +0000 (11:42 +0100)]
mpegtsdemux: add stream types for DSM CC A, B, C, D

13 years agompegtsdemux: fix playback if PMT is seen before PAT
Janne Grunau [Mon, 21 Mar 2011 17:54:46 +0000 (18:54 +0100)]
mpegtsdemux: fix playback if PMT is seen before PAT

The stream for the PMT pid has to be cleared since the version checking
in the packetizer won't emit the same PMT again otherwise.

13 years agoh264parse: Set parsed=true in the srcpad caps
Andreas Frisch [Mon, 21 Mar 2011 15:51:16 +0000 (16:51 +0100)]
h264parse: Set parsed=true in the srcpad caps

Fixes bug #645412.

13 years agompeg2enc: Lower the rank to MARGINAL
Edward Hervey [Mon, 21 Mar 2011 09:38:58 +0000 (10:38 +0100)]
mpeg2enc: Lower the rank to MARGINAL

The rationale is that it can't be properly used right now when using
it to encode mpeg2video because of the needs-to-be-rewritten properties
and format negotiation. Other encoders will negotiate in a much saner
fashion.

One such example is that when you pick mpeg2enc for mpeg2video, the
default value for the 'format' property is "Generic MPEG-1", which is
completely wrong if downstream caps are mpeg2. The whole negotiation
code needs some serious loving before this plugin can be bumped back
up to a higher rank.

13 years agofpsdisplaysink: add "frames-dropped" and "frames-rendered" properties
Benjamin Gaignard [Wed, 16 Mar 2011 08:50:34 +0000 (09:50 +0100)]
fpsdisplaysink: add "frames-dropped" and "frames-rendered" properties

https://bugzilla.gnome.org/show_bug.cgi?id=643469

13 years agodvbsuboverlay: Remove some unused variables in the I420 blending function
Sebastian Dröge [Fri, 18 Mar 2011 08:33:26 +0000 (09:33 +0100)]
dvbsuboverlay: Remove some unused variables in the I420 blending function

13 years agodvbsuboverlay: Fix using alpha values in blitting.
Raimo Järvi [Thu, 17 Mar 2011 18:19:27 +0000 (20:19 +0200)]
dvbsuboverlay: Fix using alpha values in blitting.

Use each pixel's own alpha value instead of average alpha value when
calculating color components. Fixes bug #639763.

13 years agovp8: fix LIBADD order in Makefile.am
Tim-Philipp Müller [Thu, 17 Mar 2011 16:34:02 +0000 (16:34 +0000)]
vp8: fix LIBADD order in Makefile.am

13 years agompegaudioparse: add FIXME for making the base class use xing seek tables better
Tim-Philipp Müller [Wed, 16 Mar 2011 15:53:13 +0000 (15:53 +0000)]
mpegaudioparse: add FIXME for making the base class use xing seek tables better

13 years agoshm: Don't use "sun" as a variable name, breaks on Solaris
Olivier Crête [Thu, 17 Mar 2011 20:41:52 +0000 (16:41 -0400)]
shm: Don't use "sun" as a variable name, breaks on Solaris

Seems like the Solaris compiler has -Dsun=1, so don't use
sun as a variable name

Patch by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>

https://bugzilla.gnome.org/show_bug.cgi?id=645053

13 years agoshm: Check for MSG_NOSIGNAL macro
Olivier Crête [Thu, 17 Mar 2011 19:27:39 +0000 (15:27 -0400)]
shm: Check for MSG_NOSIGNAL macro

Don't build the plugin is MSG_NOSIGNAL is not defined

https://bugzilla.gnome.org/show_bug.cgi?id=645053

13 years agoshmsink: Keep shmsink referenced while there are still buffers around
Sjoerd Simons [Wed, 16 Mar 2011 18:52:24 +0000 (18:52 +0000)]
shmsink: Keep shmsink referenced while there are still buffers around

13 years agoshm: Allow ShmPipe to save a data pointer for applications
Sjoerd Simons [Wed, 16 Mar 2011 18:51:50 +0000 (18:51 +0000)]
shm: Allow ShmPipe to save a data pointer for applications

13 years agoshm: Keep the ShmPipe alive as long as there are blocks left
Sjoerd Simons [Wed, 16 Mar 2011 18:51:02 +0000 (18:51 +0000)]
shm: Keep the ShmPipe alive as long as there are blocks left

13 years agoshmsrc: Only connect to sink in PLAYING in live mode
Olivier Crête [Thu, 10 Mar 2011 00:34:39 +0000 (19:34 -0500)]
shmsrc: Only connect to sink in PLAYING in live mode

13 years agoshmsrc: Keep GstPoll for whole src lifetime
Olivier Crête [Thu, 10 Mar 2011 00:34:25 +0000 (19:34 -0500)]
shmsrc: Keep GstPoll for whole src lifetime

13 years agocamerabin: Add an assertion to preview pipeline generation
Lasse Laukkanen [Tue, 15 Mar 2011 12:15:35 +0000 (09:15 -0300)]
camerabin: Add an assertion to preview pipeline generation

Adds an assertion in case the preview pipeline is NULL and also
explicitly initializes preview caps to NULL for clarity.

13 years agodcaparse: Add depth and endianness to the caps
Sebastian Dröge [Mon, 14 Mar 2011 17:25:25 +0000 (18:25 +0100)]
dcaparse: Add depth and endianness to the caps

Some decoders can only handle specific endianness or a fixed
depth and this allows better negotiation.

Fixes bug #644208.

13 years agompegtsmux: fix broken pad caps refcount handling
Tim-Philipp Müller [Mon, 14 Mar 2011 12:39:23 +0000 (12:39 +0000)]
mpegtsmux: fix broken pad caps refcount handling

gst_caps_make_writable() takes ownership of the caps passed in, but
the caller doesn't own a ref to the caps here, because GST_PAD_CAPS
doesn't return a ref. Looks like the code relied on a caps leak
elsewhere for this to work properly.

13 years agompegtsmux: don't error out if downstream fails to handle the newsegment event
Tim-Philipp Müller [Mon, 14 Mar 2011 12:33:29 +0000 (12:33 +0000)]
mpegtsmux: don't error out if downstream fails to handle the newsegment event

If downstream doesn't handle the newsegment event, don't error out (esp.
not without posting a proper error message on the bus), but just continue.
If there's a problem, we'll find out when we start pushing buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=644395

13 years agompegtsmux: remove unused variable
Andreas Frisch [Fri, 11 Mar 2011 14:40:44 +0000 (14:40 +0000)]
mpegtsmux: remove unused variable

13 years agocamerabin2: Set queues to silent
Thiago Santos [Fri, 11 Mar 2011 21:23:22 +0000 (18:23 -0300)]
camerabin2: Set queues to silent

Optimize a little by setting queues to silent

13 years agocamerabin2: Refactoring encodebin usage
Thiago Santos [Fri, 11 Mar 2011 19:20:52 +0000 (16:20 -0300)]
camerabin2: Refactoring encodebin usage

Refactor some common code regarding encodebin usage in camerabin2

13 years agotests: camerabin2: Fix number of iteration of tests
Thiago Santos [Fri, 11 Mar 2011 20:07:03 +0000 (17:07 -0300)]
tests: camerabin2: Fix number of iteration of tests

There are 3 taglist tests, not 2

13 years agocamerabin2: Some memleak fixes
Thiago Santos [Fri, 11 Mar 2011 13:32:35 +0000 (10:32 -0300)]
camerabin2: Some memleak fixes

13 years agobasecamerasrc: wrappercamerabinsrc: camerabin2: Expose/add floating point
Robert Swain [Tue, 8 Mar 2011 08:43:58 +0000 (09:43 +0100)]
basecamerasrc: wrappercamerabinsrc: camerabin2: Expose/add floating point
zoom property

13 years agowrappercamerabinsrc: Remove dead definition
Robert Swain [Fri, 4 Mar 2011 14:53:42 +0000 (15:53 +0100)]
wrappercamerabinsrc: Remove dead definition

This definition is unused in this code.

13 years agowrappercamerabinsrc: Avoid clearing recording caps
Thiago Santos [Thu, 10 Mar 2011 14:38:18 +0000 (11:38 -0300)]
wrappercamerabinsrc: Avoid clearing recording caps

When recording 2 videos in sequence with the same video-capture-caps,
the second video would get a not-negotiated error because the
src caps were being cleared without any intention of
renegotiating it back to the requested capture caps.

This patch avoids this caps reset procedure unless a new
caps was set.

13 years agodiracparse: Add correct template caps and element details
Sebastian Dröge [Fri, 11 Mar 2011 13:37:06 +0000 (14:37 +0100)]
diracparse: Add correct template caps and element details

13 years agoexamples: fix LDADD/LIBS path order for camerabin2 example
Tim-Philipp Müller [Fri, 11 Mar 2011 10:40:40 +0000 (10:40 +0000)]
examples: fix LDADD/LIBS path order for camerabin2 example

13 years agocamerabin2: don't leak element name strings
Tim-Philipp Müller [Fri, 11 Mar 2011 10:34:23 +0000 (10:34 +0000)]
camerabin2: don't leak element name strings

Don't leak string copy returned by gst_element_get_name(). Also, check
for certain elements by checking the plugin feature / factory name, not
the assigned object name.

13 years agobuild: remove more tarkin/theoraexp build cruft
Tim-Philipp Müller [Fri, 11 Mar 2011 10:26:01 +0000 (10:26 +0000)]
build: remove more tarkin/theoraexp build cruft

13 years agotheora,tarkin: Remove ancient unused code
David Schleef [Thu, 10 Mar 2011 21:39:40 +0000 (13:39 -0800)]
theora,tarkin: Remove ancient unused code

13 years agoqtmux: provide for PTS metadata when so configured
Mark Nauwelaerts [Thu, 10 Mar 2011 15:03:58 +0000 (16:03 +0100)]
qtmux: provide for PTS metadata when so configured

... and not only when sort-of feeling like it.
In any case, if it turns out all really is in order,
and presumably DTS == PTS, then no ctts will be produced anyway.

13 years agoqtmux: also track original PTS buffer timestamp in reorder dts-method
Mark Nauwelaerts [Thu, 10 Mar 2011 15:02:42 +0000 (16:02 +0100)]
qtmux: also track original PTS buffer timestamp in reorder dts-method

13 years agocamerabin2: Force EOS on audio src
Thiago Santos [Wed, 9 Mar 2011 17:53:26 +0000 (14:53 -0300)]
camerabin2: Force EOS on audio src

We can't rely on audio sources pushing EOS when going PAUSED->READY
because this is a basesrc bahavior and when used inside autoaudiosrc
the ghostpad goes flushing before the real source pushes the EOS,
so it is dropped.

13 years agowrappercamerabinsrc: No need for starting segment
Thiago Santos [Fri, 4 Mar 2011 09:06:16 +0000 (06:06 -0300)]
wrappercamerabinsrc: No need for starting segment

13 years agogstcamerabin2: Set encodebin's videorate and audiorate properties
Thiago Santos [Fri, 4 Mar 2011 09:09:43 +0000 (06:09 -0300)]
gstcamerabin2: Set encodebin's videorate and audiorate properties

Listen to encodebin's element-added signal to be able to set
skip-to-first on both audiorates and videorates.

13 years agocamerabin2: Handle audio elements states
Thiago Santos [Tue, 15 Feb 2011 17:58:28 +0000 (14:58 -0300)]
camerabin2: Handle audio elements states

Audio elements are put into bin only when needed, so we need
to be careful with their states as camerabin2 won't manage
them if they are outside the bin.

Also we should reset their pad's flushing status before
starting a new capture.

13 years agocamerabin2: tests: Update tests to check for audio streams
Thiago Santos [Fri, 21 Jan 2011 15:47:57 +0000 (12:47 -0300)]
camerabin2: tests: Update tests to check for audio streams

Add a check that resulting recorded video files have audio streams.