Commit graph

10164 commits

Author SHA1 Message Date
Mark Nauwelaerts 4b5623d687 basevideoencoder: invoke subclass start method at state change
While this changes order w.r.t. set_format, which is OK for unstable API,
it has following merits:
* symmetric w.r.t. stop at state change
* in line with other base class practice
* little benefit in invoking 2 subclass virtual methods (set_format and start)
  in immediate succession; all actions in the second could be done in the first
  whereas subclass has no chance to do anything 'global' at activation time
Moreover, current -bad subclass relevant methods either trivially commute
or are either trivially adjusted accordingly.
2011-05-16 20:32:20 +02:00
Mark Nauwelaerts d567fa2834 basevideoencoder: enable clipping by default 2011-05-16 20:32:20 +02:00
Mark Nauwelaerts 3f0824b699 basevideoencoder: reset more state 2011-05-16 20:32:20 +02:00
Mark Nauwelaerts 02a065e406 basevideoencoder: header cosmetic and doc fixes 2011-05-16 20:32:20 +02:00
Mark Nauwelaerts b0c982db5b basevideocodec: remove redundant caps field
... as it is already at hand as the src pad's negotiated caps.
2011-05-16 20:32:20 +02:00
Mark Nauwelaerts 8aa9d83eb4 basevideoencoder: remove unused code 2011-05-16 20:32:19 +02:00
Mark Nauwelaerts 404f491c19 vp8enc: use baseclass event virtual handler 2011-05-16 20:32:19 +02:00
Mark Nauwelaerts 294cecbc69 basevideoencoder: add event virtual method to allow subclass event handling 2011-05-16 20:32:19 +02:00
Mark Nauwelaerts 16c6a49bd4 basevideoencoder: improve GstForceKeyUnit event handling 2011-05-16 20:32:19 +02:00
Mark Nauwelaerts adbbe36408 basevideocodec: debug style fixes 2011-05-16 20:32:19 +02:00
Mark Nauwelaerts 1659e7dfcf basevideocodec: remove unused code cluttering up the place
Also minor debug style fixes.
2011-05-16 20:32:19 +02:00
Mark Nauwelaerts 72a32afc65 basevideoencoder: simplify negotiated checking
... by avoiding some extraneous (un)ref'ing.
2011-05-16 20:32:19 +02:00
Mark Nauwelaerts dd118538e9 basevideoencoder: code cleanup and some debug
Also add some minor locking and remove unused bits.
2011-05-16 20:32:19 +02:00
Pino Toscano 01b7b10d0b shm: Don't use PATH_MAX
PATH_MAX is not defined on GNU Hurd and others. Also fix
format string.
2011-05-16 09:07:57 +02:00
Marc-André Lureau e5fc7a9f13 gst/dccp: fix build on newer mingw
Fix this build error:
  CC     libgstdccp_la-gstdccpplugin.lo
In file included from ../../../gst/dccp/gstdccpclientsrc.h:29:0,
                 from ../../../gst/dccp/gstdccpplugin.c:24:
../../../gst/dccp/gstdccp_common.h:32:0: warning: WINVER redefined [enabled by default]
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:231:0: note: this is the location of the previous definition
In file included from ../../../gst/dccp/gstdccpplugin.c:24:0:
../../../gst/dccp/gstdccpclientsrc.h:58:3: error: unknown type name 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:25:0:
../../../gst/dccp/gstdccpserversink.h:74:3: error: unknown type name 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:26:0:
../../../gst/dccp/gstdccpclientsink.h:67:3: error: unknown type name 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:27:0:
../../../gst/dccp/gstdccpserversrc.h:58:3: error: unknown type name 'uint8_t'
make: *** [libgstdccp_la-gstdccpplugin.lo] Error 1

https://bugzilla.gnome.org/show_bug.cgi?id=650171
2011-05-16 08:53:10 +02:00
Alessandro Decina e21e8ddd4e applemedia: bump the rank of qtkitvideosrc to PRIMARY 2011-05-15 10:04:50 +02:00
Alessandro Decina adc0817b2a hls: fix handling of strol() overflows 2011-05-15 10:02:20 +02:00
Sebastian Dröge 9b23e213cb cruft: Add ext/amrwbenc directory, it's ext/voamrwbenc now 2011-05-14 12:18:19 +02:00
Andoni Morales Alastruey 85703b8886 basevideencoder: Fix use after free after state change transition 2011-05-14 12:08:40 +02:00
Sreerenj Balachandran c0f9c74ca6 facedetect: Remove dead code and some minor doc changes. 2011-05-14 12:08:39 +02:00
Sreerenj Balachandran 3320a03e20 edgedetect: Remove dead code and some minor doc changes 2011-05-14 12:08:39 +02:00
Luis de Bethencourt 5435ae849e coloreffects: Coding style fixes 2011-05-14 12:08:39 +02:00
Sebastian Dröge 2c14a8fbcd aacenc: Integrate into the documentation 2011-05-14 12:08:39 +02:00
Sebastian Dröge f085fa8a97 amrwbenc: Switch to the free vo-amrwbenc library
And rename everything to voamrwbenc instead of amrwbenc.
2011-05-14 12:08:39 +02:00
benjamin gaignard 31d408e22e faac: Detect output format from downstream caps change unit test 2011-05-14 12:08:28 +02:00
Sebastian Dröge 31a65287a2 voaaenc: Fix CFLAGS/LIBS of the unit test 2011-05-14 12:08:28 +02:00
Sebastian Dröge dc7f93c05b voaacenc: Only generate sinkcaps once and in a threadsafe way 2011-05-14 12:08:28 +02:00
Sebastian Dröge adb3ac9237 voaacenc: Add NULL terminator to gst_structure_new() 2011-05-14 12:08:28 +02:00
Sebastian Dröge 41bb35f38c voaacenc: Some minor cleanup 2011-05-14 12:08:28 +02:00
Sebastian Dröge 55d8c52640 voaacenc: Fix CFLAGS and LIBS 2011-05-14 12:08:27 +02:00
benjamin gaignard 988516ca63 voaacenc: Add new plugin for audio AAC encoder based on vo-aacenc lib
Add plugin and unit test.

Fixes bug #647748.
2011-05-14 12:08:27 +02:00
Tim-Philipp Müller 4fcb5d79a2 Back to development 2011-05-14 10:19:57 +01:00
Tim-Philipp Müller 28e08b18ab Release 0.10.22
Highlights:

  - hlsdemux: Add HTTP live streaming parser/demuxer element
  - new elements: h263parse, zebrastripe, patchdetect
  - scenechange: new scene change detection element
  - removed audioparsersbad plugin, it has been moved to -good
  - make opencv plugin work with OpenCV 2.2
  - countless (still experimental) camerabin2 fixes and improvements
  - experimental VP8 RTP payloader/depayloader (RTP payloading not finalised yet)
  - curlsink: add libcurl-based sink element (acts as client, not server)
  - decklink: add decklink plugin
  - linsys: add plugin for Linear Systems SDI boards
  - sdi: add raw SDI muxing/demuxing elements
  - camerabin now relies on muxers to mux based on running time (ie. latest base/good/ugly releases)
  - many other fixes and improvements
2011-05-10 11:42:52 +01:00
Thiago Santos 72574962ef camerabin: Use running time for muxing
This patch removes the audio source buffer probe that was used
to re-timestamp buffers to make them start from 0. As muxers
have been fixed to use running time instead of timestamps, this
is not needed anymore.

Fixes bug #646211
2011-05-06 12:45:28 -03:00
Thiago Santos 834dc9ca63 camerabin: Fix typo 2011-05-05 09:57:17 -03:00
Mark Nauwelaerts e1d9574a9d xvidenc: do not leak peer pad reference 2011-05-04 12:36:01 +02:00
Sjoerd Simons 5ebff49162 xvidenc: Always return reffed caps from _getcaps
Not returning ref caps will leads to crashes and refcounting issues in
upstream elements
2011-05-03 15:47:05 +01:00
Andoni Morales Alastruey 851e9b1f8d hlsdemux: set duration in outgoing buffers
Currently we push each fragment as a single buffer.
2011-05-03 14:39:15 +01:00
Tim-Philipp Müller 7ec71fb446 hlsdemux: fix DURATION query handling
Only answer duration queries in TIME format with a duration
in seconds. Make sure we don't return GST_CLOCK_TIME_NONE as
duration (which is non-0, but still invalid/useless).
2011-05-03 12:01:25 +01:00
Tim-Philipp Müller 0d9dbd4c0f hlsdemux: implement SEEKING query 2011-05-03 11:51:44 +01:00
Tim-Philipp Müller 67c6b53ec4 0.10.21.4 pre-release 2011-04-30 19:47:47 +01:00
Tim-Philipp Müller 04a9b099b7 Update orc-generated disted C backup code to orc 0.4.14 2011-04-30 19:46:40 +01:00
Tim-Philipp Müller 6c361963b1 chopmydata: don't push buffers smaller than min-size on eos
When pushing the remaining data on EOS, don't just push whatever
data is left in the adapter, but only push data that's at least
of min-size.
2011-04-30 19:16:03 +01:00
Tim-Philipp Müller 65f481ca63 chopmydata: don't mess with adapter from non-streaming thread on FLUSH_START
Don't try to push remaining data in the adapter on receiving a FLUSH event,
just flush the adapter. Do this on FLUSH_STOP, however, which is serialized,
unlike FLUSH_START, so we don't mess with the adapter at the same time as
the streaming thread.
2011-04-30 19:08:25 +01:00
Philip Jägenstedt 2084044112 y4mdec: add plugin description
https://bugzilla.gnome.org/show_bug.cgi?id=649005
2011-04-30 18:37:22 +01:00
Edward Hervey 21add205b7 tsdemux: Don't leak bufferlist on streams without pads
https://bugzilla.gnome.org/show_bug.cgi?id=648929
2011-04-29 12:47:34 +02:00
Edward Hervey 565f068049 mpegtsbase: Unref buffers we don't use.
Avoids a massive leak :)

https://bugzilla.gnome.org/show_bug.cgi?id=648929
2011-04-29 12:47:34 +02:00
Edward Hervey c26ca36cf0 mpegtsbase: Don't forget to free the program streams array
https://bugzilla.gnome.org/show_bug.cgi?id=648929
2011-04-29 12:47:34 +02:00
Edward Hervey 390502a093 tsdemux: Free packet buffer even if it doesn't have a payload
This can happen with AFC-only packets. Avoids leaking buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=648929
2011-04-29 12:47:34 +02:00
Sebastian Dröge 7a9aba912f decklink: Check for pthread.h and link with -lpthread 2011-04-28 10:24:50 +02:00