Commit graph

25 commits

Author SHA1 Message Date
Sebastian Dröge cc447af202 diracenc: Update for basevideoencoder ::get_caps() removal 2011-08-12 12:08:32 +02:00
Sjoerd Simons 27f40d8a57 dirac: Fix set but unused variables
Remove some dead code that triggers "set but unused variables" from Gcc
4.6.  Fixes #656164.

Signed-off-by: David Schleef <ds@schleef.org>
2011-08-08 12:09:46 -07:00
David Schleef a4eea10af0 diracenc: Remove unused shape_output code 2011-08-03 13:39:33 -07:00
Sebastian Dröge 1333ef9bbf diracenc: Update for GstBaseVideoEncoder::finish() signature change 2011-07-21 08:09:11 +02:00
Sebastian Dröge 1f50564962 diracenc: Fix compilation by including the new gstbasevideoutils.h header and fixing some set but not used compiler warnings 2011-07-13 10:33:58 +02:00
Mark Nauwelaerts d15b8c7ad3 basevideoencoder: provide proper upstream flow return handling 2011-05-16 20:32:21 +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
Stefan Kost 0387a89cad various (ext): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
2010-10-19 17:13:26 +03:00
David Schleef fe50055715 basevideo: Move common fields/functions to basecodec 2010-10-15 16:30:57 -07:00
Sebastian Dröge 8dddd8e633 dirac: Fixes for base video encoder changes 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
Josep Torra 5f646b2b48 dirac: fix warning in macosx snow leopard 2009-10-11 13:46:00 +02:00
David Schleef 1beac5913d dirac: various fixes
- Work around BaseEncoder bug not tracking frame index early.
 - Fix conversion of UYVY, YUY2, AYUV to internal format.
2009-10-05 17:07:46 -07:00
Jan Schmidt 38b949fe6f diracenc: Fix caps unlinked negotiation
move caps related code to gst_dirac_enc_set_format, and
use the source pad template to get allowed caps when there is
no peer pad.
2009-10-05 21:13:41 +01:00
David Schleef 1ee3b51ee0 dirac: convert to BaseVideoEncoder 2009-10-02 22:10:07 -07:00
Sebastian Dröge f3105eccd2 dirac: Implement preset interface 2009-05-04 12:36:17 +02:00
David Schleef 40b6bdfb6a ext/dirac/gstdiracenc.cc: Set pixel-aspect-ratio correctly in the encoder API, as well as some default gstreamerish c...
Original commit message from CVS:
* ext/dirac/gstdiracenc.cc:
Set pixel-aspect-ratio correctly in the encoder API, as well
as some default gstreamerish colorspace properties.  Also,
apparently, change a bunch of indentation.
2008-11-13 22:30:54 +00:00
David Schleef f99e89d0c5 ext/dirac/gstdiracenc.cc: Fix some memleaks.
Original commit message from CVS:
* ext/dirac/gstdiracenc.cc: Fix some memleaks.
2008-08-30 20:22:01 +00:00
David Schleef 4aeacb6dbd ext/dirac/gstdiracenc.cc: Fix EOS handling. Clean up at object disposal. Handle 4:2:2 and 4:4:4 video.
Original commit message from CVS:
* ext/dirac/gstdiracenc.cc: Fix EOS handling.  Clean up at
object disposal.  Handle 4:2:2 and 4:4:4 video.
2008-08-30 06:30:42 +00:00
Jon Trowbridge 2dacdee67c ext/dirac/gstdiracenc.cc: Update properties for recent dirac changes. Patch from Jonathan Rosser.
Original commit message from CVS:
* ext/dirac/gstdiracenc.cc: Update properties for recent
dirac changes.  Patch from Jonathan Rosser.
2008-06-04 17:02:38 +00:00
Jan Schmidt c35c0acbe6 ext/dirac/gstdiracenc.cc: Fix compilation by casting string constants.
Original commit message from CVS:
* ext/dirac/gstdiracenc.cc:
Fix compilation by casting string constants.
* sys/Makefile.am:
Fix WININET_DIR variable reference.
2008-04-13 20:54:52 +00:00
David Schleef db1ef249b6 ext/dirac/gstdiracenc.cc: Add a bunch of properties cribbed from the encoder program in dirac.
Original commit message from CVS:
* ext/dirac/gstdiracenc.cc: Add a bunch of properties cribbed
from the encoder program in dirac.
2008-03-06 07:03:09 +00:00
David Schleef b387715461 Rewrite Dirac encoder plugin based on Schroedinger gstreamer elements.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/dirac/Makefile.am:
* ext/dirac/gstdirac.cc:
* ext/dirac/gstdiracenc.cc:
Rewrite Dirac encoder plugin based on Schroedinger gstreamer
elements.
2008-03-06 03:16:13 +00:00