Hans de Goede [Mon, 10 Jun 2013 15:00:42 +0000 (17:00 +0200)]
wrappercamerabinsrc: Add video-source-filter during construction
By adding the video-source-filter during construction time, rather then
patching it in later (*), we can greatly reduce the amount of caps involved
in negotation, speeding up pipeline creation.
I wrote this while working on speeding up the startup of cheese. My cheese
has been modified to add a capsfilter, filtering for only the configured
resolution, with that cheese patch + this patch, the pipeline creation time
goes from aprox 1.1 seconds to aprox 350ms. This is with a Logitech 9000
pro camera, which supports lots of different resolutions at many different
framerates per resolution, causing a caps "explosion" if not filtered.
*) Note the code for this is left in, as it is still necessary if the
video-source-filter is changed between a stop + re-start.
https://bugzilla.gnome.org/show_bug.cgi?id=701953
Olivier Crête [Mon, 10 Jun 2013 22:00:13 +0000 (18:00 -0400)]
dashdemux: Make gst-indent happy
Hans de Goede [Mon, 10 Jun 2013 08:05:56 +0000 (10:05 +0200)]
wrappercamerabinsrc: Don't unset the video-source property on pipeline start
check_and_replace_src() was setting self->app_vid_src to NULL, which
means that an app setting the video-source property, and then starting,
stopping and re-starting the pipeline (ie to make changes to the
video-source-filter property) would after the restart no longer have
a video-source.
This patch fixes this by making gst_camerabin_setup_default_element return a
ref to the passed in user_element, rather then returning the user_element as
is, so that that ref can be passed on to the bin, and the app_vid_src ref
stays valid.
https://bugzilla.gnome.org/show_bug.cgi?id=701915
Sebastian Dröge [Sat, 8 Jun 2013 12:48:03 +0000 (14:48 +0200)]
eglglessink: Remove workaround for a bug in the RPi EGL implementation
It's fixed in the latest firmware since a few weeks.
Arthur Shipkowski [Mon, 6 May 2013 20:56:01 +0000 (16:56 -0400)]
dashdemux: Fix issue with get returning a value for max-buffering-time
It was not properly divided by GST_SECONDS. Also fix issue with
max-buffering-time being multiplied by GST_SECONDS every time the
property is retrieved.
https://bugzilla.gnome.org/show_bug.cgi?id=700487
Sebastian Dröge [Fri, 7 Jun 2013 13:18:15 +0000 (15:18 +0200)]
rfb: Link with libgstbase for GstPushSrc
Sebastian Dröge [Fri, 7 Jun 2013 12:01:46 +0000 (14:01 +0200)]
androidmedia: Fix string comparison
Alban Browaeys [Thu, 4 Apr 2013 16:22:52 +0000 (18:22 +0200)]
mpegdemux: accept ID_PRIVATE_STREAM_1 to avoid loosing sync
Current fallback to lost_sync seems to impede a delay to restore
sync. Let the parser parse and skip the private stream.
Here it contains the digital camera brand (in 2010 bytes)
and is repeated twice.
https://bugzilla.gnome.org/show_bug.cgi?id=697283
Ilya Smelykh [Fri, 7 Jun 2013 10:10:08 +0000 (12:10 +0200)]
h264parse: Wait until SPS/PPS before outputting any data
https://bugzilla.gnome.org/show_bug.cgi?id=646327
Chen Jie [Fri, 7 Jun 2013 06:06:56 +0000 (14:06 +0800)]
androidmedia: Hacks for HuaweiMediaPad which reports wrong color format
COLOR_FormatYCbYCr is reported but it is actually COLOR_TI_FormatYUV420PackedSemiPlanar.
Sreerenj Balachandran [Wed, 5 Jun 2013 13:16:36 +0000 (16:16 +0300)]
mpegvideoparser: Fix the pixel-aspect-ratio calculation
Ignore the display_extension values if they are greater than the width/height
values provided by seqhdr and calculate the PAR based on the seqhdr values.T
his is what DVD players are doing.
Thanks to "David Schleef <ds@schleef.org>"
https://bugzilla.gnome.org/show_bug.cgi?id=685103
Sebastian Dröge [Wed, 5 Jun 2013 16:36:40 +0000 (18:36 +0200)]
Back to development
Sebastian Dröge [Wed, 5 Jun 2013 16:10:29 +0000 (18:10 +0200)]
Release 1.1.1
Sebastian Dröge [Wed, 5 Jun 2013 16:28:17 +0000 (18:28 +0200)]
vdpau: Add some missing headers to dist
Sebastian Dröge [Wed, 5 Jun 2013 16:01:10 +0000 (18:01 +0200)]
dash: Add to Makefile.am for make dist
Sebastian Dröge [Wed, 5 Jun 2013 15:49:59 +0000 (17:49 +0200)]
applemedia-nonpublic: Add to the Makefile.am for dist
Sebastian Dröge [Wed, 5 Jun 2013 14:54:57 +0000 (16:54 +0200)]
Update .po files
Edward Hervey [Wed, 5 Jun 2013 13:20:52 +0000 (15:20 +0200)]
mpegtspacketizer: Fix leak
Since we were manually setting GValue to the GValueArray, we also need
to specify how many were set, otherwise all values in the array will
be leaked.
Sebastian Dröge [Wed, 5 Jun 2013 13:15:06 +0000 (15:15 +0200)]
Automatic update of common submodule
From 098c0d7 to 01a7a46
Edward Hervey [Wed, 5 Jun 2013 11:39:14 +0000 (13:39 +0200)]
mpegtspacketizer: Speedup TDT/TOT parsing
Use quarks where needed, makes it 2.5 times faster
Edward Hervey [Wed, 5 Jun 2013 11:21:29 +0000 (13:21 +0200)]
mpegtspacketizer: Fix string leak
The description/text get copied in the structure.
Edward Hervey [Wed, 5 Jun 2013 10:49:09 +0000 (12:49 +0200)]
mpegtspacketizer: Speed up descriptor parsing/packing
descriptors are stored as a GValueArray of GString. The downside is
that there is no way to "pass" ownership of a GValue to a GValueArray
which previously resulted in expensive copy/free of the (already expensive)
GString.
Here we estimate first the size of the GValueArray, then create it,
then directly use the GValue of that array.
Speeds up total SI parsing by ~30%
Edward Hervey [Wed, 5 Jun 2013 09:21:21 +0000 (11:21 +0200)]
mpegtspacketizer: Use gst_value_list_append_and_take_value
Avoids doing the expensive copy of structures/arrays/...
Speeds up parsing SI by about 50%
Edward Hervey [Wed, 5 Jun 2013 09:20:49 +0000 (11:20 +0200)]
mpegtspacketizer: Avoid copying GValueArray
Just give the GValueArray to the container GValue.
Sebastian Dröge [Wed, 29 May 2013 07:25:23 +0000 (09:25 +0200)]
cruft: Add signalprocessor directory
Branko Subasic [Wed, 29 May 2013 06:37:19 +0000 (08:37 +0200)]
docs: removed signalprocessor from docs/libs/Makefile.am
Sebastian Dröge [Tue, 28 May 2013 13:54:33 +0000 (15:54 +0200)]
midiparse: In pull mode drop SEGMENT, CAPS and STREAM_START events
We create and send our own later from another thread.
Sebastian Dröge [Tue, 28 May 2013 13:53:07 +0000 (15:53 +0200)]
midiparse: Push stream-start event before anything else
Stefan Sauer [Tue, 28 May 2013 06:08:42 +0000 (08:08 +0200)]
signalprocessor: ladspa is not using this anymore
When we port lv2, we'll go the same route as the new ladspa plugin.
Stefan Sauer [Tue, 28 May 2013 05:53:37 +0000 (07:53 +0200)]
ladspa: fix typos in launch examples
Stefan Sauer [Mon, 27 May 2013 21:07:16 +0000 (23:07 +0200)]
ladspa: use the registry cache for plugin details
Split the introspection and registration part. This way we only need to open all
plugins when updating the registry. When reading the registry we can register
the elements entierly from the cache.
Miguel Casas-Sanchez [Mon, 27 May 2013 09:20:07 +0000 (11:20 +0200)]
opencv: Add colour image enhancement element based on Retinex algorithm
Add colour image enhancement element based on Retinex algorithm. Two types
exist, namely basic and multiscale; both are described in this article:
Rahman, Zia-ur, Daniel J. Jobson, and Glenn A. Woodell. "Multi-scale retinex
for color image enhancement." Image Processing, 1996. Proceedings.,
International Conference on. Vol. 3. IEEE, 1996
Visually speaking the result looks a bit funny, but is pretty invariable to
lightning changes, which is good for some applications, like image
segmentation.
https://bugzilla.gnome.org/show_bug.cgi?id=700977
Stefan Sauer [Sun, 26 May 2013 12:29:54 +0000 (14:29 +0200)]
audiochannelmix: fill in the author template
The copyright header still contained the author template.
Michael Rubinstein [Sat, 25 May 2013 13:25:56 +0000 (15:25 +0200)]
mpegtsdemux: Free memory behind GString if we don't use it
https://bugzilla.gnome.org/show_bug.cgi?id=700903
Patricia Muscalu [Thu, 23 May 2013 12:32:07 +0000 (14:32 +0200)]
curlsmtpsink: terminate transfer thread properly
If no EOS has been sent, the curl readfunc callback will
return ABORT. The media file in that case will not be properly
finalized.
https://bugzilla.gnome.org/show_bug.cgi?id=700886
Andoni Morales Alastruey [Mon, 8 Apr 2013 14:59:54 +0000 (14:59 +0000)]
directdrawsink: update window width/height when it's not done in WndProc
Andoni Morales Alastruey [Fri, 5 Apr 2013 17:59:41 +0000 (17:59 +0000)]
directdrwasink: call previous WndProc if any
Andoni Morales Alastruey [Fri, 5 Apr 2013 17:26:57 +0000 (17:26 +0000)]
directdrawsink: respect PAR with coordinates
Andoni Morales Alastruey [Thu, 25 Apr 2013 15:35:50 +0000 (15:35 +0000)]
applemedia-nonpublic: fix symbols redefinition for objc files
Andoni Morales Alastruey [Wed, 24 Apr 2013 15:55:12 +0000 (15:55 +0000)]
applemedia: fix duplicated symbols with applemedia
Edward Hervey [Thu, 23 May 2013 12:57:49 +0000 (14:57 +0200)]
mpegtsbase: Post an error message when EOS'ing without source pads
This ensures we don't "hang" when files can't be decoded, or contain
no valid streams.
Edward Hervey [Thu, 23 May 2013 12:56:40 +0000 (14:56 +0200)]
tsdemux: Demote a warning to debug level
We will get it for virtually every first packets.
Edward Hervey [Wed, 1 May 2013 14:37:54 +0000 (16:37 +0200)]
codecparsers: Actually store mpeg video bitrate value
And use the extension also (higher 12 bits)
Miguel Casas-Sanchez [Thu, 23 May 2013 09:04:57 +0000 (11:04 +0200)]
opencv: Add skin color detection element
https://bugzilla.gnome.org/show_bug.cgi?id=700654
Andoni Morales Alastruey [Tue, 7 May 2013 19:45:54 +0000 (21:45 +0200)]
vtdec: simplify caps setting
Andoni Morales Alastruey [Fri, 26 Apr 2013 15:47:26 +0000 (17:47 +0200)]
applemedia: fix H264 streams with b-frames
The decoder output frames in DTS order, even with the flag
kVTDecodeFrame_EnableTemporalProcessing. We store a internal
queue of the decoded frames and push them PTS order.
Andoni Morales Alastruey [Fri, 26 Apr 2013 15:45:31 +0000 (17:45 +0200)]
applemedia: fix segfault with dropped frames
Andoni Morales Alastruey [Fri, 26 Apr 2013 15:40:00 +0000 (17:40 +0200)]
applemedia: improve usage of the VT API
Add timing information to CV samples and pass the GstBuffer
as extra data in the decode function
Andoni Morales Alastruey [Fri, 26 Apr 2013 11:26:03 +0000 (13:26 +0200)]
applemedia: add support for MPEG-1 too
Andoni Morales Alastruey [Thu, 25 Apr 2013 09:30:07 +0000 (11:30 +0200)]
applemedia: add support for MPEG-2 decoding
Andoni Morales Alastruey [Thu, 25 Apr 2013 09:27:13 +0000 (11:27 +0200)]
applemedia: use the best colorformat on each platform
This saves a colorspace conversion before the sink in OS X
Andoni Morales Alastruey [Thu, 25 Apr 2013 09:17:16 +0000 (11:17 +0200)]
applemedia: replace private function with its public variant
FigVideoFormatDescriptionCreateWithSampleDescriptionExtensionAtom
is an un-documented private function which might change its signature
as it already did in the past. Replace it with
CMVideoFormatDescriptionCreate and the also un-documented Extensions
dictionary.
Andoni Morales Alastruey [Wed, 24 Apr 2013 20:22:28 +0000 (22:22 +0200)]
applemedia: remove the unneeded buffer factory
Andoni Morales Alastruey [Wed, 24 Apr 2013 20:15:01 +0000 (22:15 +0200)]
applemedia: don't use the dynamic API for public frameworks
Public frameworks don't need to build the API dynamically, we instead
use the framework directly.
The exception is for VideoToolbox which went public in the 10.8 SDK,
but it's still private in older version of the SDK and iOS. This allow
building the plugin against SDK's where it's not a public framework.
Andoni Morales Alastruey [Wed, 24 Apr 2013 16:53:11 +0000 (18:53 +0200)]
applemedia: move plugins using private frameworks to applemedia-nonpublic
Sebastian Dröge [Mon, 20 May 2013 11:24:07 +0000 (13:24 +0200)]
androidmedia: Fix indention
Chen Jie [Fri, 17 May 2013 12:17:31 +0000 (20:17 +0800)]
androidmedia: fix a minor error in COLOR_FormatYUV420Planar converting
https://bugzilla.gnome.org/show_bug.cgi?id=700521
David Schleef [Sat, 18 May 2013 21:01:22 +0000 (14:01 -0700)]
element-maker: Add transform functions to audiofilter
David Schleef [Sat, 18 May 2013 20:57:11 +0000 (13:57 -0700)]
audiofx: Add plugin, add audiochannelmix
David Schleef [Sat, 18 May 2013 20:56:18 +0000 (13:56 -0700)]
flitetestsrc: audio format is "S16" not "s16"
Tim-Philipp Müller [Sat, 18 May 2013 10:58:14 +0000 (11:58 +0100)]
videosignal: fix CFLAGS order
Thiago Santos [Sat, 18 May 2013 00:23:55 +0000 (21:23 -0300)]
dashdemux: send stream start event
Removes warnings about strict sticky events ordering
Thiago Santos [Fri, 17 May 2013 15:08:10 +0000 (12:08 -0300)]
mssdemux: fix wma pro caps creation
WmaPro is actually wmaversion 3, and can also be found by the
WMAP fourcc.
Some manifests also contain the block_align field as "PacketSize"
in the audio track description, the libav decoders require it
to be present in caps.
Fixes #699921
Thiago Santos [Fri, 17 May 2013 14:37:30 +0000 (11:37 -0300)]
mssdemux: fix assertions when a stream caps can't be created
Fixes two assertions related to cleanup for a pad that couldn't
be exposed because the caps couldn't be identified from the
Manifest
Fixes #699921
Thiago Santos [Wed, 15 May 2013 14:49:22 +0000 (11:49 -0300)]
eagl: fix handling of surface dimension changes
Detect when the eagl surface changed its dimension (when the user rotates
the device for example) and adapt the egl internals to draw to that,
preventing that ios resizes the image again when drawing.
This is particularly harmful when eagl would scale down a image
to draw and the ios screen would scale it back up because the
surface is now bigger than when the element was configured.
Thiago Santos [Wed, 15 May 2013 03:48:53 +0000 (00:48 -0300)]
mssdemux: parse block_align, channels and rate from waveformatex if possible
wma v2 expects block_align, channels and rate fields set to its caps.
This isn't present direclty on the manifests, so mssdemux should parse
it from the waveformatex structure
https://bugzilla.gnome.org/show_bug.cgi?id=699924
Thiago Santos [Wed, 15 May 2013 01:04:19 +0000 (22:04 -0300)]
mssdemux: add bitrate info to audio streams
bitrate info is always present on the QualityLevel xml node as part
of the adaptive selection processing, put it into caps as some
decoders require it (avdec_wmav2 for example)
https://bugzilla.gnome.org/show_bug.cgi?id=699924
Thiago Santos [Tue, 14 May 2013 19:37:16 +0000 (16:37 -0300)]
mssdemux: send stream id and newsegment before pushing data
Fixes sticky events ordering warnings when data is pushed
https://bugzilla.gnome.org/show_bug.cgi?id=699924
Olivier Crête [Thu, 16 May 2013 02:24:29 +0000 (22:24 -0400)]
dashdemux: Announce correct mpegts caps
Olivier Crête [Thu, 16 May 2013 00:03:30 +0000 (20:03 -0400)]
insertbin: Annotate callback scopes
Nicolas Dufresne [Wed, 15 May 2013 23:23:08 +0000 (19:23 -0400)]
mimic: Ensure segment is sent before caps and buffer
https://bugzilla.gnome.org/show_bug.cgi?id=700420
Brendan Long [Wed, 15 May 2013 17:57:07 +0000 (11:57 -0600)]
openal: require OpenAL >= 1.14 to build the OpenAL plugin
For AL_FORMAT_MONO_ALAW_EXT and AL_FORMAT_STEREO_ALAW_EXT.
https://bugzilla.gnome.org/show_bug.cgi?id=700402
Sebastian Dröge [Wed, 15 May 2013 09:38:35 +0000 (11:38 +0200)]
mpegtsmux: Push stream-start event before anything else
Sebastian Dröge [Wed, 15 May 2013 09:37:14 +0000 (11:37 +0200)]
mpegtsmux: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:31:14 +0000 (11:31 +0200)]
mxfdemux: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:28:04 +0000 (11:28 +0200)]
insertbin: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:26:25 +0000 (11:26 +0200)]
schroenc: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:25:07 +0000 (11:25 +0200)]
mpg123audiodec: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:15:24 +0000 (11:15 +0200)]
parser: Fix event handling in unit tests
Sebastian Dröge [Wed, 15 May 2013 09:09:08 +0000 (11:09 +0200)]
gdp: Fix event handling in unit test
gdp elements still needs to be fixed for all the event related
changes and generally properly ported to 1.0.
Sebastian Dröge [Wed, 15 May 2013 09:04:23 +0000 (11:04 +0200)]
baseaudiovisualizer: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:02:29 +0000 (11:02 +0200)]
audiovisualizer: Enable GLib deprecation warnings again
Sebastian Dröge [Wed, 15 May 2013 09:00:46 +0000 (11:00 +0200)]
audiovisualizer: Negotiate as soon as possible when getting the sinkpad caps
Sebastian Dröge [Wed, 15 May 2013 08:54:56 +0000 (10:54 +0200)]
asfmux: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:54:46 +0000 (10:54 +0200)]
asfmux: Send stream-start event
Sebastian Dröge [Wed, 15 May 2013 08:51:54 +0000 (10:51 +0200)]
Automatic update of common submodule
From 5edcd85 to 098c0d7
Sebastian Dröge [Wed, 15 May 2013 08:23:49 +0000 (10:23 +0200)]
autoconvert: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:22:44 +0000 (10:22 +0200)]
shm: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:19:24 +0000 (10:19 +0200)]
curlfilesink: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:18:01 +0000 (10:18 +0200)]
opus: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:14:33 +0000 (10:14 +0200)]
kate: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:12:09 +0000 (10:12 +0200)]
kateenc: Delay segment event until we have caps
Sebastian Dröge [Wed, 15 May 2013 08:02:29 +0000 (10:02 +0200)]
katedec/tiger: Don't queue sticky events that would come before CAPS
Sebastian Dröge [Wed, 15 May 2013 07:47:21 +0000 (09:47 +0200)]
kateparse: Fix event handling
Internal state should only be reset on FLUSH_STOP, not FLUSH_START.
Also forward pre-caps events immediately and don't queue them.
Sebastian Dröge [Wed, 15 May 2013 07:42:58 +0000 (09:42 +0200)]
vo{amr,aac}enc: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 07:41:54 +0000 (09:41 +0200)]
faad/faac: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 07:20:45 +0000 (09:20 +0200)]
hls: Use GstURIDownloader from the library for now to keep everything in a usable state
Nicolas Dufresne [Tue, 14 May 2013 18:32:19 +0000 (14:32 -0400)]
ladspa: Fix compilation issue when lrdf is enabled
https://bugzilla.gnome.org/show_bug.cgi?id=700328
Tim-Philipp Müller [Mon, 13 May 2013 23:14:34 +0000 (00:14 +0100)]
nsf: remove nsf plugin, replaced by gme plugin
https://bugzilla.gnome.org/show_bug.cgi?id=648021
Juan Manuel Borges Caño [Wed, 17 Apr 2013 00:18:58 +0000 (02:18 +0200)]
openal: improved port to 1.0
https://bugzilla.gnome.org/show_bug.cgi?id=698013