Julien Moutte [Tue, 2 Feb 2010 11:23:24 +0000 (12:23 +0100)]
mpegtsmux: generate SPS/PPS header once and fix overflow
Some H264 packets can be as small as 5 bytes for repeated frames.
In such a situation the output buffer size was not big enough (5*2) to fit the
SPS/PPS header and the start codes. This corrupts the ES stream.
We now generate the SPS/PPS only once which is much more optimal and we now
know the size of the header to calculate the output buffer size more safely.
Grigori Goronzy [Tue, 2 Feb 2010 00:44:20 +0000 (01:44 +0100)]
assrender: instruct libass to use light autohinting
Fixes bug #608753.
Eric Appleman [Tue, 2 Feb 2010 07:53:53 +0000 (08:53 +0100)]
assrender: Don't scan current working directory recursively for fonts
This can take a very long time and also libass will overwrite files
if there's an embedded font with the same filename as an existing file.
Fixes bug #575878 and #608706.
David Hoyt [Tue, 2 Feb 2010 00:26:36 +0000 (16:26 -0800)]
dshowvideosink: don't crash on invalid AM_MEDIA_TYPE
Michael Smith [Thu, 28 Jan 2010 03:06:53 +0000 (19:06 -0800)]
qtmux: for fixed-sample size streams (PCM audio, etc) don't allocate an enormous
buffer that we then won't use at all.
Michael Smith [Wed, 27 Jan 2010 23:37:37 +0000 (15:37 -0800)]
qtmux: handle muxing adpcm correctly.
Michael Smith [Fri, 22 Jan 2010 21:36:04 +0000 (13:36 -0800)]
qtmux: Set the mdia hdlr name field to what quicktime uses. Fix writing it
since it's not null-terminated. Improves compatibility with some hardware
players.
Michael Smith [Fri, 22 Jan 2010 21:30:07 +0000 (13:30 -0800)]
qtmux: endianness in gstreamer is an int, not boolean.
Michael Smith [Sat, 16 Jan 2010 21:17:08 +0000 (13:17 -0800)]
mpeg4videoparse: parse more forms of codec_data
Stefan Kost [Mon, 1 Feb 2010 20:37:39 +0000 (22:37 +0200)]
lv2: code cleanups
More logging and comments. Rename some vars for consistency. Fully init port
struct.
Stefan Kost [Mon, 1 Feb 2010 20:32:32 +0000 (22:32 +0200)]
signalprocessor,lv2,ladspa: move sample-rate to baseclass
We need the sample-rate in baseclass for upcomming timestamp changes.
Stefan Kost [Mon, 1 Feb 2010 20:24:52 +0000 (22:24 +0200)]
lv2: shorter element names
Cut off the protocol part from the uri. Also just g_Strdup, instead of printf
the name.
Stefan Kost [Mon, 1 Feb 2010 15:46:29 +0000 (17:46 +0200)]
jpegparse: provide a getcaps function for src pad and improve setcaps
Previously jpegparse was failing in decodebin as the caps we were setting where not
setting all caps fields. We need the own getcaps function to report what we actualy
accept.
Stefan Kost [Mon, 1 Feb 2010 15:16:16 +0000 (17:16 +0200)]
jpegparse: extract comment and post as metadata
Stefan Kost [Mon, 1 Feb 2010 13:04:28 +0000 (15:04 +0200)]
jpegformat: code cleanups
Move the jpeg marker defines to a header (to be used for jifmux). Rewrite some
comments. Use gst_element_class_set_details_simple(). Add more logging.
Stefan Kost [Sun, 31 Jan 2010 20:21:42 +0000 (22:21 +0200)]
lv2: simpify property registration
Avoid type cheking casts for each property. Use a running index.
Stefan Kost [Sun, 31 Jan 2010 20:16:18 +0000 (22:16 +0200)]
signalprocessor: use the gst-controller, add some basic timestamping
Atleast for FX we now have timestamps and can sync the controller. Still need
timestamps for sources.
Stefan Kost [Sun, 31 Jan 2010 20:14:04 +0000 (22:14 +0200)]
ladspa: simplify property registration
Don't do checking cast for each parameter. Use a running index.
Stefan Kost [Sun, 31 Jan 2010 20:13:06 +0000 (22:13 +0200)]
lv2: use plugin dependency registry api
Stefan Kost [Sun, 31 Jan 2010 20:11:40 +0000 (22:11 +0200)]
lv2: lookup GQuark just once instead for each plugin+1
Stefan Kost [Sun, 31 Jan 2010 20:08:33 +0000 (22:08 +0200)]
ladspa: lookup GQuark just once and not for each plugin+1
Stefan Kost [Sun, 31 Jan 2010 20:07:09 +0000 (22:07 +0200)]
signalprocessor: these are not gtk-doc comments
Stefan Kost [Sun, 31 Jan 2010 20:05:30 +0000 (22:05 +0200)]
ladspa/lv2: link and init to gst-controller
Stefan Kost [Sun, 31 Jan 2010 13:53:27 +0000 (15:53 +0200)]
signalprocessor: new is a c++ keyword, better logging
Use pad instead of new for the pad var. Also use pad as object in to debug
logging.
Tim-Philipp Müller [Sat, 30 Jan 2010 15:19:30 +0000 (15:19 +0000)]
Automatic update of common submodule
From 15d47a6 to 96dc793
Stefan Kost [Fri, 29 Jan 2010 10:25:08 +0000 (12:25 +0200)]
jpegformat: move plugin part to speparate file, so that we can add the jifmux
Stefan Kost [Fri, 29 Jan 2010 09:39:50 +0000 (11:39 +0200)]
docs: update of the plugin docs, adding new introspect data
Arnout Vandecappelle [Wed, 19 Aug 2009 10:22:30 +0000 (12:22 +0200)]
jpegparse: new jpeg parser element. FIxes #583098
Parse JPEG images, extracts its metadata, set caps and
packetize an image per buffer.
Stefan Kost [Thu, 28 Jan 2010 13:00:32 +0000 (15:00 +0200)]
camerabin-example: cleanups for mainloop and state-changes. Fixes #608042
Start camerabin via idle handler to have the mainloop already running. Avoid
some unnecessary state changes. Cleanup the bus usage when restarting.
Stefan Kost [Thu, 28 Jan 2010 12:57:06 +0000 (14:57 +0200)]
camerabin: don't log NULL caps, also downgrade to DEBUG as it is very verbose
This debug log entry was also not ment to be used in the failure case.
Tim-Philipp Müller [Thu, 28 Jan 2010 00:07:14 +0000 (00:07 +0000)]
dataurisrc: add start function so we can error out properly if no uri is set
Also save a set URI after it has been parsed successfully, so that _get_uri()
actually works.
Tim-Philipp Müller [Wed, 27 Jan 2010 23:46:32 +0000 (23:46 +0000)]
dataurisrc: don't post error message when setting the URI failed
There's a gboolean return for that, and the messages don't really
add anything useful.
Tim-Philipp Müller [Wed, 27 Jan 2010 23:39:14 +0000 (23:39 +0000)]
dataurisrc: must release the object lock before using GST_ELEMENT_ERROR
Stefan Kost [Wed, 27 Jan 2010 21:34:34 +0000 (23:34 +0200)]
lv2: add more debug and remove "\n" from debug logging
Stefan Kost [Wed, 27 Jan 2010 21:29:44 +0000 (23:29 +0200)]
lv2: better gobject properties
Use lv2:symbol as a base for the property name and lv2:name for nick and blurb.
Mark Nauwelaerts [Tue, 26 Jan 2010 16:54:28 +0000 (17:54 +0100)]
qtmux: streamline moov data memory storage
In particular, use arrays rather than (double) linked lists.
Mark Nauwelaerts [Thu, 14 Jan 2010 10:50:33 +0000 (11:50 +0100)]
audioparsers: rename baseparse GType name to avoid possible conflicts
Mark Nauwelaerts [Thu, 14 Jan 2010 11:06:03 +0000 (12:06 +0100)]
h264parse: use correct h264_parse prefix in function name
Vincent GENIEUX [Wed, 27 Jan 2010 11:08:48 +0000 (12:08 +0100)]
dvbsrc: fix element shutdown on bad reception
When we have a bad reception, avoid going into an infinite loop by setting a
shutdown flag when shutting down.
Fixes #607747
Thiago Santos [Tue, 26 Jan 2010 16:44:04 +0000 (13:44 -0300)]
qtmux: g_free is NULL safe
Thiago Santos [Mon, 25 Jan 2010 22:06:53 +0000 (19:06 -0300)]
rtpasfpay: Fix packet length semantics
Following the
ed4d08189ea6e19a50e029e60da52d3583c39fbb
commit, this one fixes rtpasfpay to use packet length
as the payloaded data length, but also accepting it
as the full packet size for compatibility with
other implementations due to the lack of clarity of the
spec in this part.
Håkon Skjelten [Thu, 21 Jan 2010 13:51:16 +0000 (10:51 -0300)]
asfmux: Compatibility with WMSP in WMP
Makes the asfmux content compatible with WMSP and does
some hacks to make it playable in WMP, it doesn't accept
data objects with 0 size indicating that we don't know
its size, though the spec says it should be possible.
Fixes #607555
Stefan Kost [Mon, 25 Jan 2010 21:06:59 +0000 (23:06 +0200)]
camerabin-example: remove maemo comment and log filename
The maemo fixme is not needed anymore. Log the choosen filename to help
people finding the files.
Stefan Kost [Mon, 25 Jan 2010 21:04:38 +0000 (23:04 +0200)]
camerabin: ref element before removing from the bin to resurrect
This function is not supposed to dispose the element in the case of failure
as the caller is using the elements name in the error message. Also add
some more input parameter checks in the form of g_return_val_if_fail
Sebastian Dröge [Mon, 25 Jan 2010 11:21:34 +0000 (12:21 +0100)]
Revert "inputselector: Protect g_object_notify() with the object's mutex"
This reverts commit
7e067615ffb5614f068f7753c10dde99afe49c3c, it's causing
deadlocks with playbin2.
Sebastian Dröge [Mon, 25 Jan 2010 11:12:32 +0000 (12:12 +0100)]
dataurisrc: Remove role attribute from links
Sebastian Dröge [Mon, 25 Jan 2010 10:56:33 +0000 (11:56 +0100)]
dataurisrc: Add docs and integrate into build system
Fixes again bug #596885.
Sebastian Dröge [Mon, 25 Jan 2010 10:12:47 +0000 (11:12 +0100)]
dataurisrc: Add data: URI source element
This is slightly based on the WebKit data: URI source
but supports more parts of RFC 2397.
Fixes bug #596885.
Sebastian Dröge [Mon, 25 Jan 2010 06:42:56 +0000 (07:42 +0100)]
dataurisrc: Add directory for data: URI source
Stefan Kost [Mon, 25 Jan 2010 09:36:48 +0000 (11:36 +0200)]
lv2: create valid gobject property names. Fixes #602528
We cannot use the names as we get them from lv2 for the gparamspec name, only
for nick/blurb. Apply same algorithms like elsewhere (ladspa) for name.
Stefan Kost [Mon, 25 Jan 2010 09:49:46 +0000 (11:49 +0200)]
mxf: add a return to fix the build when turning assert off
Stefan Kost [Mon, 25 Jan 2010 09:48:29 +0000 (11:48 +0200)]
Revert "mxf: add a return to fix the build when turning assert off"
This reverts commit
68ca62b369fc1b77adae85d9d805457fe4e3b562.
Stefan Kost [Fri, 22 Jan 2010 15:45:20 +0000 (17:45 +0200)]
mxf: add a return to fix the build when turning assert off
Kipp Cannon [Sun, 24 Jan 2010 19:53:00 +0000 (20:53 +0100)]
inputselector: Protect g_object_notify() with the object's mutex
This works around the thread unsafety of g_object_notify()
Fixes bug #607513.
Alessandro Decina [Fri, 22 Jan 2010 09:48:26 +0000 (10:48 +0100)]
faac: fix warnings under OS X..
Alessandro Decina [Fri, 22 Jan 2010 09:46:51 +0000 (10:46 +0100)]
Don't build osxvideosrc and qtwrapper in Snow Leopard.
QuickTime isn't available anymore in OS X Snow Leopard.
Tim-Philipp Müller [Fri, 22 Jan 2010 02:23:30 +0000 (02:23 +0000)]
pnm: use same media type as other elements
gdkpixbuf and our new typefinder in -base use image/x-portable-*.
Tim-Philipp Müller [Fri, 22 Jan 2010 02:22:56 +0000 (02:22 +0000)]
pnm: make element details a bit more descriptive
Tim-Philipp Müller [Fri, 22 Jan 2010 02:19:24 +0000 (02:19 +0000)]
pnm: add copyright notice
Tim-Philipp Müller [Fri, 22 Jan 2010 02:10:08 +0000 (02:10 +0000)]
pnm: move typefinding into -base
Tim-Philipp Müller [Mon, 11 Jan 2010 01:18:16 +0000 (01:18 +0000)]
tests: refactor weird bus sync handler code in camerabin example
Thijs Vermeir [Thu, 21 Jan 2010 17:11:34 +0000 (18:11 +0100)]
flite: build and dist flite plugin
fixing "make dist"
Sebastian Dröge [Thu, 21 Jan 2010 14:58:11 +0000 (15:58 +0100)]
mxf: Correctly initialize memory
Benjamin Otte [Wed, 20 Jan 2010 12:30:48 +0000 (13:30 +0100)]
[cleanup] Various style and cleanups
Various fixes for gtk-doc warnings and making functions without
arguments take void as parameter.
Benjamin Otte [Wed, 20 Jan 2010 12:29:52 +0000 (13:29 +0100)]
[oss4] Fix compiler warning about unused return value
Tim-Philipp Müller [Wed, 20 Jan 2010 00:54:51 +0000 (00:54 +0000)]
Automatic update of common submodule
From 358cf5c to 15d47a6
Sebastian Dröge [Mon, 18 Jan 2010 09:57:42 +0000 (10:57 +0100)]
cdxaparse: Fix buffer leak
Fixes bug #607285.
David Schleef [Sat, 16 Jan 2010 23:32:47 +0000 (15:32 -0800)]
faac: Fix channel layout
Adjusted the channel mappings to agree with the default channel mappings
in the spec, which is presumably what faac is using. Fixes #607105.
David Schleef [Sat, 16 Jan 2010 23:32:02 +0000 (15:32 -0800)]
flite: handle samplesperbuffer
David Schleef [Sat, 16 Jan 2010 20:43:43 +0000 (12:43 -0800)]
flite: Add flitetestsrc
Flite is a speech synthesizer library (BSD-ish license). This element
negotiates a (possibly) multichannel audio stream, and then continually
outputs buffers naming the number and position of the channel. It's
kinda crappy, but I needed it for testing purposes.
Sebastian Dröge [Sat, 16 Jan 2010 16:02:52 +0000 (17:02 +0100)]
frei0r: Make sure that property names always start with a letter
Otherwise GLib throws assertions
Sebastian Dröge [Sat, 16 Jan 2010 15:52:11 +0000 (16:52 +0100)]
shapewipe: Replace floating point arithmetic in the inner processing loops by integer arithmetic
Sebastian Dröge [Sat, 16 Jan 2010 12:05:58 +0000 (13:05 +0100)]
faac: Only accept specific channel layouts as required by AAC
Fixes bug #607105.
Sebastian Dröge [Sat, 16 Jan 2010 10:41:20 +0000 (11:41 +0100)]
examples: Fix build and signal connection for GtkBuilder stuff
Sebastian Dröge [Sat, 16 Jan 2010 10:26:15 +0000 (11:26 +0100)]
configure: Check for gmodule-export-2.0 for GtkBuilder
Sebastian Dröge [Sat, 16 Jan 2010 10:23:00 +0000 (11:23 +0100)]
icles: Link with GTK+
Sebastian Dröge [Sat, 16 Jan 2010 10:16:05 +0000 (11:16 +0100)]
configure: Require GTK+ >= 2.12 for GtkBuilder
GTK+ 2.12 is already older than 2 years so this shouldn't
be a problem for anybody. Also it's only used in examples.
Javier Jardón [Sat, 16 Jan 2010 05:57:26 +0000 (06:57 +0100)]
tests: Port from libglade to GtkBuilder
Fixes bug #601108.
Julien Moutte [Fri, 15 Jan 2010 20:34:02 +0000 (21:34 +0100)]
mpeg4videoparse: don't set an invalid framerate.
When fixed_vop_rate is not set we can not set a framerate based on
vop_time_increment_resolution as it would most likely be wrong.
Don't set any framerate on the caps in that case.
Thiago Santos [Thu, 14 Jan 2010 11:09:03 +0000 (08:09 -0300)]
qtmux: Actually use new caps info on renegotiation
Following the previous qtmux commit, this patch tries
to use the new info added to the caps to fill the 'trak'
atom's fields and children atoms. This way qtmux will
use the late added 'codec_data' when h264parse adds
it in the following pipeline:
videotestsrc num-buffers=200 ! x264enc byte-stream=true ! \
h264parse output-format=0 ! qtmux ! \
filesink location=test.mov
Thiago Santos [Thu, 14 Jan 2010 02:33:51 +0000 (23:33 -0300)]
qtmux: Do caps renegotiation when it only adds fields
Qtmux can accept caps renegotiation if the new caps is a
superset of the old one, meaning upstream added new info to
the caps. This patch still doesn't make qtmux update any
atoms info from the new info, but at least it doesn't
reject the new caps anymore.
A pipeline that reproduces this use case is:
videotestsrc num-buffers=200 ! x264enc byte-stream=true ! \
h264parse output-format=0 ! qtmux ! \
filesink location=test.mov
Sebastian Dröge [Thu, 14 Jan 2010 11:59:21 +0000 (12:59 +0100)]
assrender: Improve debug output a bit and simplify code
Sebastian Dröge [Thu, 14 Jan 2010 11:56:12 +0000 (12:56 +0100)]
assrender: Make sure that the video buffer is writable before writing to it
Wim Taymans [Thu, 14 Jan 2010 11:47:15 +0000 (12:47 +0100)]
apexsink: change volume property to a double
Change the volume property from int to a double so that playbin2 can use it.
Keep the volume internally as a percent for now with the default 75% mapped to
a volume of 1.0.
some cleanups, add some FIXME and comments.
Fixes #606878
Mark Nauwelaerts [Wed, 13 Jan 2010 18:30:45 +0000 (19:30 +0100)]
qtmux: provide request pads under wider conditions
Fixes #606859.
Thiago Santos [Wed, 13 Jan 2010 13:35:00 +0000 (10:35 -0300)]
qtmux: Only accept avc-sample h264
qtmux and mp4mux should only accept h264 in avc-sample
format
Thiago Santos [Wed, 13 Jan 2010 12:42:12 +0000 (09:42 -0300)]
h264parse: Add stream-format to caps
Adds the new stream-format field to h264parse caps
Fixes #606662
Tim-Philipp Müller [Wed, 13 Jan 2010 00:38:47 +0000 (00:38 +0000)]
build: include cruft.mak and add recently-merged plugins to cruft list
Tim-Philipp Müller [Tue, 12 Jan 2010 23:53:18 +0000 (23:53 +0000)]
mmssrc: post error message in addition to redirect when connect fails
When we can't connect to the server, we should still post a proper
error message on the bus, so that applications that don't handle the
redirect messsage get a proper error message (and a hint to look for
the redirect).
Fixes #606636.
Thiago Santos [Tue, 12 Jan 2010 18:45:14 +0000 (15:45 -0300)]
h264parse: Correctly rewrite all nal prefixes
When converting to byte-stream do not forget to rewrite
all nal prefixes instead of only the first one.
Mark Nauwelaerts [Tue, 12 Jan 2010 18:33:37 +0000 (19:33 +0100)]
faac: improve faac configuration
In particular, align configuration some more with reference binary faac.
Fixes #606726.
Thiago Santos [Tue, 12 Jan 2010 17:51:02 +0000 (14:51 -0300)]
mpegtsmux: Fix mistake on previous commit
Use the correct variables and variable format in the warning
message
Edward Hervey [Tue, 12 Jan 2010 17:55:53 +0000 (18:55 +0100)]
flacparse: Initialize variables.
Fixes build on $#@*( macosx
Edward Hervey [Tue, 12 Jan 2010 16:05:13 +0000 (17:05 +0100)]
tests: Add neonhttpsrc to the list of elements ignored for state-change
Setting neonhttpsrc to PAUSED/PLAYING requires a running http server on
localhost.
Thiago Santos [Tue, 12 Jan 2010 12:58:48 +0000 (09:58 -0300)]
h264parse: remove codec_data if output is bytestream
codec_data should be removed from the src pad caps if the
output is in bytestream format
Fixes #606657
Thiago Santos [Tue, 12 Jan 2010 12:35:24 +0000 (09:35 -0300)]
mpegtsmux: Do not crash on misinterpreted h264
Avoid crashing when bytestream h264 is interpreted as avc format
h264
Fixes #606657
Ðóñëàí Èæáóëàòîâ [Mon, 11 Jan 2010 19:41:57 +0000 (22:41 +0300)]
win32: Include config.h before anything else. Fix mpegdemux LIBADD
Because config.h defines __MSVCRT_VERSION__, which should be defined
before inclusion of any system header.
Also fixes mpegdemux Makefile.am LIBADD typo.
Fixes #606665
Руслан Ижбулатов [Mon, 11 Jan 2010 21:46:27 +0000 (00:46 +0300)]
librfb: port rfbsrc to MinGW
Fixes #606677
Thiago Santos [Mon, 11 Jan 2010 16:20:26 +0000 (13:20 -0300)]
aacparse: Also add stream-format to template caps
Do not forget to add stream-format to template caps
off aacparse
Thiago Santos [Mon, 11 Jan 2010 16:13:41 +0000 (13:13 -0300)]
Rename aac's stream-format 'none' to 'raw'
Renames aac's stream-format from previous commits from none to
raw