Commit graph

32 commits

Author SHA1 Message Date
Vincent Penquerc'h
dbecf3e809 schroenc: balance encoder and video format alloc/dealloc
They would leak if just constructing and freeing an object,
and probably crash if going from PLAYING to READY and back
again (though I haven't tested that).
2012-01-12 16:36:19 +00:00
Vincent Penquerc'h
7521b597f4 various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
Sebastian Dröge
935b3828a3 schroenc: Update for basevideoencoder ::get_caps() removal 2011-08-12 12:08:20 +02:00
Sjoerd Simons
04b74947ad schroedinger: Fix set but unused variables
Remove some dead code that triggers "set but unused variables"
from Gcc 4.6.  Fixes #656166

Signed-off-by: David Schleef <ds@schleef.org>
2011-08-08 12:10:13 -07:00
David Schleef
10e23078e5 schroenc: remove shape_output handling 2011-08-03 13:39:33 -07:00
Sebastian Dröge
8ba4f9178f schroenc: Update for GstBaseVideoEncoder::finish() signature change 2011-07-21 08:09:11 +02:00
Sebastian Dröge
62224e66f9 schroedinger: Fix compilation and set-but-not-used compiler warnings 2011-07-13 10:42:36 +02:00
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
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
David Schleef
bcd4baec47 schroenc: Revert previous commit
It appears the patch, which I've been carrying around forever,
had been already applied.
2011-03-23 22:57:10 -07:00
David Schleef
d1a78aa3f9 schroenc: Output element message with frame stats 2011-03-23 21:33:49 -07:00
Tim-Philipp Müller
b9af27719d cog, schroedinger: fix warnings when compiling with -DG_DISABLE_ASSERT 2011-01-08 03:12:11 +00:00
David Schleef
cb3bac56bf schroenc: minor memleak fix 2010-11-27 19:09:51 -08:00
Edward Hervey
52239c16af schroedinger: Remove dead assignments 2010-11-25 18:47:15 +01:00
David Schleef
fe50055715 basevideo: Move common fields/functions to basecodec 2010-10-15 16:30:57 -07:00
Sebastian Dröge
0f6d3e7b4f schro: Fix segfault on EOS 2010-06-02 00:01:14 -07:00
David Schleef
69a5d3c067 schro: fix for base video updates 2010-06-02 00:01:14 -07:00
Benjamin Otte
f96e4f1581 Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Sebastian Dröge
039f7e3dbb schroenc: Only enable framestats code with schro >= 1.0.9 2010-03-09 21:26:14 +00:00
David Schleef
fc484a029b schroenc: Add frame-stats message 2010-03-09 12:35:22 -08:00
Edward Hervey
e56b3ba6dc schroenc: Use guint64 instead of uint64_t. Fixes #599355 2009-10-23 11:18:53 +02:00
Josep Torra
14a83f3b3d schroedinger: fix warnings on macosx snow leopard 2009-10-11 14:02:26 +02:00
Jan Schmidt
f80e4a7181 schroenc: When the source pad isn't linked, use the pad template
For negotiation, use the source pad pad template when it doesn't
have a peer.
2009-10-05 21:13:40 +01:00
Alessandro Decina
2c81532f29 schroenc: move caps related code to gst_schro_enc_set_format. 2009-10-05 16:42:27 +02:00
Alessandro Decina
553ec8c005 Fix schroenc for refcount change in GstBaseVideoEncoder. 2009-10-02 12:14:06 +02:00
Alessandro Decina
1584fd3f3a Make gst_schro_enc_handle_frame return GstFlowReturn. 2009-10-02 12:14:06 +02:00
David Schleef
85eb7ce8f4 schroenc: quiet debugging message in last commit 2009-09-17 18:16:35 -07:00
David Schleef
5dd461d3fc schroenc: Keep track of granule offset 2009-09-17 18:15:28 -07:00
Arek Korbik
f1c4bdf5be schroenc: set right OFFSET and OFFSET_END on header buffers to make oggmux happy
Without this oggmux will just keep buffering output pages in some cases.

Fixes #593024.
2009-08-26 00:26:42 +01:00
David Schleef
969fbce46e schro: Add enum types for schroedinger settings 2009-07-13 18:04:14 -07:00
David Schleef
cf2b2b017f basevideo: move from -base
Also move schroedinger plugin.  This creates a new library,
gstbasevideo-0.10, which will probably be merged back into
gstvideo-0.10 when this is moved back to -base.
2009-07-01 10:56:24 -07:00