Commit graph

9771 commits

Author SHA1 Message Date
David Schleef
ab953ddf2f colorspace: Add dithering
Dithering only happens when a 16-bit-per-channel format is
involved.
2011-02-20 23:03:47 -08:00
Vincent Penquerc'h
c696b54fa7 xviddec: bodge to avoid crashes
It seems xvidcore overreads its input buffer, so a nasty workaround
is to allocate some more memory (16 bytes seem to be enough).
There is no apparent image corruption with these extra bytes set to 0,
valgrind is much happier, and the crashes go away.
It is ugly, and slower though. But then, xviddec is currently
not autoplugged for playback anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=334107
2011-02-21 00:16:33 +00:00
David Schleef
f64b66ab23 colorspace: fix a few formats 2011-02-20 14:15:28 -08:00
David Schleef
6fcdba78a8 colorspace: Add 16-bit-per-channel handling 2011-02-20 12:39:38 -08:00
David Schleef
3192e69c0c colorspace: Fix memleak 2011-02-20 12:17:59 -08:00
David Schleef
5b90c31ca2 basevideocodec: remove parser in favor of baseparse 2011-02-20 12:16:08 -08:00
Tim-Philipp Müller
493082abd7 videoparsers: change plugin filename from libgsth263parse* to libgstvideoparsersbad*
Due to a registry bug you may need to manually remove your
registry file to make the new plugin appear with >0 features.
2011-02-18 15:27:10 +00:00
Tim-Philipp Müller
6e321d2d87 mpegtspacketizer: fix log message printf format 2011-02-18 15:17:17 +00:00
Stefan Kost
7a7e769816 baseparse: trim trailing whitespace 2011-02-18 15:05:31 +02:00
Stefan Kost
81e52d5585 baseparse: use delta-unit flags instead of none 2011-02-18 15:05:03 +02:00
Stefan Kost
99d23b3905 indexing-example: use proper signal names 2011-02-18 15:00:05 +02:00
Olivier Aubert
5ac1c96e84 rsvgoverlay: allow negative values for x/y/width/height 2011-02-18 14:43:08 +02:00
Tim-Philipp Müller
b96cf817a0 videoparsers: fix build
Add includes and link against new libgstbaseparse in the
build tree.
2011-02-18 12:39:55 +00:00
David Schleef
de968b6c7d mpegtsdemux: Fix disting of headers 2011-02-17 14:43:38 -08:00
David Schleef
f2cc779d68 baseparse: update documentation for API changes 2011-02-17 14:43:38 -08:00
David Schleef
0b95d97e63 tests: fix baseparse test 2011-02-17 14:43:38 -08:00
David Schleef
e9ea237d03 videoparsers: Add dirac parser 2011-02-17 14:43:35 -08:00
David Schleef
fedcf43e29 element-maker: do test build with -fPIC 2011-02-17 14:08:09 -08:00
David Schleef
5a1132aaf1 element-maker: Add baseparse template 2011-02-17 14:07:53 -08:00
David Schleef
fa3ff9e5ed baseparse: Create baseparse library 2011-02-17 13:57:56 -08:00
David Schleef
0a786810af dvdsubdec: make up clut values if they weren't set 2011-02-17 13:51:04 -08:00
David Schleef
455aaa3fbd mpegtsmux: fix release_pad
Remove bogus freeing of pad element_private data that we
never set (collectpads uses it, which causes confusion here).
Also, check that our collectpads instance exists before using
it.  Partial fix for #636011.
2011-02-17 13:47:52 -08:00
Janne Grunau
92d5ea2926 mpegtsdemux: use G_GUINT64_FORMAT as format specifier for guint64
fixes compilation on 32bit
2011-02-17 12:51:07 -08:00
David Schleef
df1a470d5d colorspace: Fix memory leak 2011-02-17 12:45:17 -08:00
Janne Grunau
535bf57d1f mpegtsdemux: relicense gstmpegdefs.h, gstmpegdesc.h and gstmpegdesc.c to LGPL only
with permission from the license header:
"""
This library is licensed under 2 different licenses and you
can choose to use it under the terms of either one of them. The
two licenses are the MPL 1.1 and the LGPL.
"""
2011-02-17 17:57:17 +01:00
Janne Grunau
22ecf13e42 mpegtsdemux: add MPEG TS demuxer rewrite from Edward Hervey
with contributions from Miquel Angel Farre Guiu and Zaheer Abbas Merali
2011-02-17 17:56:59 +01:00
Mark Nauwelaerts
2bb835f69a baseparse: tune QUERY_SEEKING response
Even if we currently do not have a duration yet, assume seekable if
it looks like we'll likely be able to determine it later on
(which coincides with needed information to perform seeking).
2011-02-17 14:13:08 +01:00
Mark Nauwelaerts
99baf8ae17 baseparse: tune QUERY_SEEKING response
Even if we currently do not have a duration yet, assume seekable if
it looks like we'll likely be able to determine it later on
(which coincides with needed information to perform seeking).

Fixes #641047.
2011-02-17 13:00:59 +01:00
Mark Nauwelaerts
a887fc157e faac: remove extraneous buffer unref 2011-02-17 13:00:21 +01:00
Sebastian Dröge
861e06cab8 icles: Completely remove equalizer-test from -bad, it's in -good now 2011-02-16 15:29:29 +01:00
Sebastian Dröge
451bbc4e1b equalizer-test: Initialize debug category after gst_init() to fix segfault 2011-02-16 15:26:44 +01:00
Stefan Kost
b80b6d6426 Automatic update of common submodule
From f94d739 to 1de7f6a
2011-02-14 12:53:49 +02:00
Stefan Kost
7deaade260 docs: remove duplicated rule from Makefile.am
This causes a make warning and might even cause dist-failure. Other modules
don't need to override the target either and if we can fi it in
common/gtk-doc-plugins.mak.
2011-02-14 12:14:12 +02:00
Stefan Kost
eb0d4f2b3f docs: add rsvg plugin to the docs 2011-02-14 11:49:10 +02:00
Stefan Kost
07f797bf39 rsvgdec: add basic doc-blob 2011-02-14 11:49:10 +02:00
Olivier Aubert
a96fb3b472 rsvgoverlay: implement x/y/width/height (absolute and relative) positioning and dimensioning
Signed-off-by: Olivier Aubert <olivier.aubert@liris.cnrs.fr>
2011-02-14 11:49:09 +02:00
Teemu Katajisto
7e9fb16c48 camerabin: application element memory leak fixes
If videobin/imagebin was never set to READY state the ownership
 of elements created and set by application were never taken by
 bin and therefore gst_object_sink is called for these elements
 before unreffing (they may still be in floating state and not
 unreffed properly without sinking first)
2011-02-11 09:22:59 -03:00
Hu Gang
a11b314b1e photography interface: update the noise_reduction type from guint to GstPhotographyNoiseReduction
https://bugzilla.gnome.org/show_bug.cgi?id=616814
2011-02-10 11:49:50 +00:00
Arun Raghavan
3f683e0288 baseparse: Update min/max bitrate before first posting them
This avoids posting an initial min-bitrate of G_UINTMAX and max-bitrate
of 0.

https://bugzilla.gnome.org/show_bug.cgi?id=641857
2011-02-09 18:30:51 +01:00
Arun Raghavan
cfc3f5e43b mpegaudioparse: Post CBR bitrate as nominal bitrate
Even if VBR headers are missing, we can't guarantee that a stream is in
fact a CBR stream, so it's safer to let baseparse calculate the average
bitrate rather than assume a CBR stream. However, in order to make
/some/ metadata available before the requisite number of frames have
been parsed, this posts the bitrate from the non-VBR headers as the
nominal bitrate.

https://bugzilla.gnome.org/show_bug.cgi?id=641858
2011-02-09 18:30:48 +01:00
Luciana Fujii Pontello
fa45b1fe2d camerabin: Always take photo when preview-caps is set
When filename is not set, but preview-caps is set, take the photo and
send its preview.
2011-02-09 13:42:07 +02:00
Luciana Fujii Pontello
2522a672a9 camerabin: Events with select-all in input-selector
When select-all was set, input-selector wasn't handling upstream events.
Now input-selector forwards the event to all of its sink pads. This
changes the input-selector internal to camerabin until it is replaced
with a better solution.
2011-02-09 13:42:06 +02:00
Mark Nauwelaerts
f96dab44cf directdrawsink: avoid aspect-ratio borders overlying other windows
Fixes #632056.
2011-02-08 18:02:29 +01:00
Mark Nauwelaerts
edb15598ed directdrawsink: avoid rendering to invalid area
Based on patch by Havard Graff <havard.graff@tandberg.com>

Fixes #594280.
2011-02-08 18:02:26 +01:00
Thiago Santos
15366355a4 wrappercamerabinsrc: Do not re-set the clock if it is null
Avoids not needed work and doesn't assert when trying to
unref the null reference
2011-02-08 11:24:59 -03:00
Teemu Katajisto
ab2b9079f0 examples: camerabin: fix --no-xwindow option handling in gst-camerabin-test
--no-window flag is false by default and selection based on the option whether
to create XWindow is done before options are parsed. Therefore XWindow is never
created.

https://bugzilla.gnome.org/show_bug.cgi?id=641712
2011-02-08 09:09:29 -03:00
Mark Nauwelaerts
c85e8e8015 amrparse: a valid amr-wb frame should not have reserved frame type index
See #639715.
2011-02-07 19:59:21 +01:00
Mark Nauwelaerts
d6d48cfb70 configure.ac: set GST_LIB_LDFLAGS
Aligns GST_LIB_LDFLAGS with e.g. -base to arrange for proper exports in libs.
2011-02-07 14:06:28 +01:00
Stefan Kost
4915493932 camerabin-tests: fix lookup of UI files
These are uninstalled examples. Pass $srcdir to cpp to build the correct
location for the UI file.
2011-02-07 11:28:23 +02:00
Alexey Fisher
2b4c854146 vp8enc: Add description for bitrate units. 2011-02-04 00:24:04 -08:00