Commit graph

9893 commits

Author SHA1 Message Date
David Schleef e319b82842 linsys: Add plugin for Linear Systems SDI boards 2011-03-23 21:33:48 -07:00
David Schleef ec6e7c42e2 sdi: Add raw SDI muxing/demuxing elements 2011-03-23 21:33:48 -07:00
David Schleef 9ed93db1d0 logoinsert: Fix memleaks, add test 2011-03-23 21:33:48 -07:00
David Schleef 7405d643dd logoinsert: Add data property 2011-03-23 21:33:48 -07:00
Robert Swain 4b18a73332 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.
2011-03-23 16:50:12 -03:00
Thiago Santos d2e1f1bdc6 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.
2011-03-23 16:50:12 -03:00
Robert Swain 6a686316d5 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.
2011-03-23 16:48:11 -03:00
Thiago Santos aa7b962891 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.
2011-03-23 16:13:32 -03:00
Thiago Santos 6913db30f8 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.
2011-03-23 16:13:32 -03:00
Lauri Lehtinen 2da37d966d 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.
2011-03-23 16:13:32 -03:00
Thiago Santos 19429aa797 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
2011-03-23 16:13:32 -03:00
Thiago Santos ccd3fd8da5 tests: camerabin2: Sprinkle some 'idle' property checks
Adds some checks for 'idle' property in camerabin2 tests
2011-03-23 16:13:32 -03:00
Thiago Santos 3dc9a0e9c6 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.
2011-03-23 16:13:32 -03:00
Thiago Santos 8318174cfc tests: camerabin2: Adds tests for new image capture properties
Adds tests to check that changing encoder/muxer for image capture
works
2011-03-23 16:13:32 -03:00
Thiago Santos 19628ec3f3 camerabin2: Adding properties for image capture settings
Adds properties for selecting image encoder and muxer for
image capture
2011-03-23 16:13:32 -03:00
Thiago Santos 223697c2b9 camerabin2: More debug log
Small refactoring and adding more debug log to encodebin related
paths
2011-03-23 16:13:32 -03:00
Thiago Santos a50dca2752 basecamerasrc: Set preview pipeline NULL
Set preview pipeline to NULL when freed to be able to
recreate it on the following lines
2011-03-23 16:13:32 -03:00
Arun Raghavan ec23bc2768 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.
2011-03-23 22:42:16 +05:30
Arun Raghavan e83f53dbed dcaparse: Expose block size in caps
This sets the "block_size" field on caps as the number of samples
encoded in one frame.
2011-03-23 22:42:16 +05:30
Mark Nauwelaerts c558a066fb qtmux: use running time for synchronization
See also #432612.
2011-03-22 20:53:08 +01:00
Mark Nauwelaerts 82a152533d h264parse: chain up to parent finalize 2011-03-22 13:50:27 +01:00
Chris E Jones 1c4f32b279 scaletempo: Correctly handle newsegment events with stop==-1
Fixes bug #645420.
2011-03-22 13:46:42 +01:00
Luis de Bethencourt 2ccd506d0b configure.ac: redundant uses of AC_MSG_RESULT()
cleaned the redundant uses of AC_MSG_RESULT() in configure.ac
2011-03-22 13:37:56 +01:00
Luis de Bethencourt 437ebc6fe4 autogen: wingo signed comment 2011-03-22 13:28:52 +01:00
David Schleef a02c4d6c4c zebrastripe: Add new GstVideoFilter2 base class
An experiment.  Not completely happy with it.
2011-03-21 13:42:37 -07:00
Mart Raudsepp b69450af92 mpegtspacketizer: Handle all ISO8859-x encodings in get_encoding()
... according to ETSI EN 300 468, "Selection of character table"
2011-03-21 19:57:39 +01:00
Janne Grunau 3ebc8a43e2 mpegtsdemux: do not try to parse packets containing section data as PES 2011-03-21 19:30:17 +01:00
Janne Grunau bf046719a2 mpegtsdemux: add stream types for DSM CC A, B, C, D 2011-03-21 19:27:08 +01:00
Janne Grunau 74a8e966f5 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.
2011-03-21 19:24:08 +01:00
Andreas Frisch 5867b69aa3 h264parse: Set parsed=true in the srcpad caps
Fixes bug #645412.
2011-03-21 16:52:02 +01:00
Edward Hervey 261431ef17 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.
2011-03-21 10:42:59 +01:00
Benjamin Gaignard 8c48375817 fpsdisplaysink: add "frames-dropped" and "frames-rendered" properties
https://bugzilla.gnome.org/show_bug.cgi?id=643469
2011-03-18 12:46:32 +00:00
Sebastian Dröge bdf51f12d2 dvbsuboverlay: Remove some unused variables in the I420 blending function 2011-03-18 09:33:26 +01:00
Raimo Järvi 9e7d1ba888 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.
2011-03-18 09:27:08 +01:00
Tim-Philipp Müller 9c554b7378 vp8: fix LIBADD order in Makefile.am 2011-03-17 20:52:07 +00:00
Tim-Philipp Müller d8f5745186 mpegaudioparse: add FIXME for making the base class use xing seek tables better 2011-03-17 20:52:07 +00:00
Olivier Crête 81b0d87746 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
2011-03-17 16:41:52 -04:00
Olivier Crête e2445e26ff 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
2011-03-17 16:41:39 -04:00
Sjoerd Simons 1634a9f262 shmsink: Keep shmsink referenced while there are still buffers around 2011-03-16 18:53:27 +00:00
Sjoerd Simons ca9d60702f shm: Allow ShmPipe to save a data pointer for applications 2011-03-16 18:53:19 +00:00
Sjoerd Simons f6efb3e397 shm: Keep the ShmPipe alive as long as there are blocks left 2011-03-16 18:53:10 +00:00
Olivier Crête a646afcf88 shmsrc: Only connect to sink in PLAYING in live mode 2011-03-16 18:52:57 +00:00
Olivier Crête a2b6dfa37e shmsrc: Keep GstPoll for whole src lifetime 2011-03-16 18:52:57 +00:00
Lasse Laukkanen fbe4f5f610 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.
2011-03-15 09:18:31 -03:00
Sebastian Dröge 48e8c093dc 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.
2011-03-14 18:26:53 +01:00
Tim-Philipp Müller 0276663d0c 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.
2011-03-14 12:42:33 +00:00
Tim-Philipp Müller 70e71562b7 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
2011-03-14 12:42:33 +00:00
Andreas Frisch aac497b635 mpegtsmux: remove unused variable 2011-03-14 12:42:33 +00:00
Thiago Santos ba878f7427 camerabin2: Set queues to silent
Optimize a little by setting queues to silent
2011-03-11 18:41:16 -03:00
Thiago Santos b2f39d1844 camerabin2: Refactoring encodebin usage
Refactor some common code regarding encodebin usage in camerabin2
2011-03-11 18:40:52 -03:00