Sebastian Dröge [Thu, 9 Aug 2012 14:19:32 +0000 (16:19 +0200)]
video: Merge upstream stream tags
Sebastian Dröge [Thu, 9 Aug 2012 14:09:46 +0000 (16:09 +0200)]
theoradec: Use new video decoder tag API
Sebastian Dröge [Thu, 9 Aug 2012 14:03:25 +0000 (16:03 +0200)]
docs: Add new video API to the docs
Sebastian Dröge [Thu, 9 Aug 2012 14:02:42 +0000 (16:02 +0200)]
videodecoder: Add API to conveniently handle tags
Sebastian Dröge [Thu, 9 Aug 2012 14:02:15 +0000 (16:02 +0200)]
videoencoder: Add API to conveniently handle tags
Sebastian Dröge [Thu, 9 Aug 2012 13:48:03 +0000 (15:48 +0200)]
audio: Always keep a complete taglist around
Otherwise updates to the tags will cause non-updated
tags to be lost downstream.
Sebastian Dröge [Thu, 9 Aug 2012 13:30:30 +0000 (15:30 +0200)]
docs: Add new audio base classes API to the docs
Sebastian Dröge [Thu, 9 Aug 2012 13:27:33 +0000 (15:27 +0200)]
audioencoder: Add negotiate vfunc that is used to negotiate with downstream
The default implementation negotiates a buffer pool and allocator
with downstream.
Sebastian Dröge [Thu, 9 Aug 2012 13:20:45 +0000 (15:20 +0200)]
audioencoder: Decouple setting of output format and downstream negotiation
This makes the audio encoder base class more similar to the video
encoder base class.
Sebastian Dröge [Thu, 9 Aug 2012 13:07:18 +0000 (15:07 +0200)]
audiodecoder: Add negotiate vfunc that is used to negotiate with downstream
The default implementation negotiates a buffer pool and allocator
with downstream.
Sebastian Dröge [Thu, 9 Aug 2012 13:02:27 +0000 (15:02 +0200)]
audiodecoder: Decouple setting of output format and downstream negotiation
This makes the audio decoder base class more similar to the video
decoder base class.
Sebastian Dröge [Thu, 9 Aug 2012 12:39:18 +0000 (14:39 +0200)]
videoencoder: Add negotiate vfunc that is used to negotiate with downstream
The default implementation negotiates a buffer pool and allocator
with downstream.
Sebastian Dröge [Thu, 9 Aug 2012 12:35:22 +0000 (14:35 +0200)]
videodecoder: Add negotiate vfunc that is used to negotiate with downstream
The default implementation negotiates a buffer pool and allocator
with downstream.
Tim-Philipp Müller [Wed, 8 Aug 2012 23:54:30 +0000 (00:54 +0100)]
tests: fix vorbisdec test
There won't be a tag messages on the bus, because tags
are now sent downstream for sinks to post on the bus,
and there's no sink involved here that would do that.
Secondly, the audio decoder base class only sends the
tags out once it has received some non-header data as
input, which is not something we're providing here.
Sebastian Dröge [Wed, 8 Aug 2012 14:12:20 +0000 (16:12 +0200)]
gst: Set alignment at the correct place of GstAllocationParams
Andoni Morales Alastruey [Wed, 8 Aug 2012 13:07:49 +0000 (15:07 +0200)]
oggdemux: add proper cast for print
Andoni Morales Alastruey [Wed, 8 Aug 2012 12:59:49 +0000 (14:59 +0200)]
videoencoder: add proper format for gsize
Andoni Morales Alastruey [Wed, 8 Aug 2012 12:55:56 +0000 (14:55 +0200)]
rtpbuffer: use proper format for gsize
Sebastian Dröge [Wed, 8 Aug 2012 13:28:52 +0000 (15:28 +0200)]
videoencoder: Always propose a video buffer pool when the subclass didn't provide one
And also request 16-byte aligned buffers if the subclass didn't
set anything else.
Tim-Philipp Müller [Wed, 8 Aug 2012 15:21:22 +0000 (16:21 +0100)]
Back to development
Tim-Philipp Müller [Wed, 8 Aug 2012 14:08:33 +0000 (15:08 +0100)]
Release 0.11.93
Sreerenj Balachandran [Wed, 8 Aug 2012 10:04:32 +0000 (13:04 +0300)]
videoconvert: fix example pipeline in docs
There is no more 'fourcc' typecast for format.
https://bugzilla.gnome.org/show_bug.cgi?id=681436
Sebastian Dröge [Wed, 8 Aug 2012 10:19:31 +0000 (12:19 +0200)]
videofilter: Really add a buffer pool if none was provided
And also use the allocation parameters from the query if any
and if there are none set our own (16-byte alignment) on the
query.
Sreerenj Balachandran [Wed, 8 Aug 2012 09:06:45 +0000 (12:06 +0300)]
videofilter: Fix the crash in propose_allocation
Always set a buffer pool if none is provided and don't
set/unref a NULL buffer pool on the query.
https://bugzilla.gnome.org/show_bug.cgi?id=681436
Tim-Philipp Müller [Wed, 8 Aug 2012 09:19:20 +0000 (10:19 +0100)]
Silence some 'variable may be used uninitialized' compiler warnings
when compiling with -DG_DISABLE_ASSERT
Tim-Philipp Müller [Wed, 8 Aug 2012 09:11:48 +0000 (10:11 +0100)]
No statements with side-effects in g_assert() or g_return_*() please
Tim-Philipp Müller [Wed, 8 Aug 2012 08:06:30 +0000 (09:06 +0100)]
Update .gitignore
Olivier Crête [Tue, 7 Aug 2012 20:58:21 +0000 (13:58 -0700)]
theoradec: Drop ignored headers
Instead of finishing an empty frame, call drop_frame as we're
ignoring the header frame.
Руслан Ижбулатов [Mon, 6 Aug 2012 13:28:06 +0000 (17:28 +0400)]
docs: Add proper libraries to GST_LIBS instead (-base)
Руслан Ижбулатов [Mon, 6 Aug 2012 11:23:51 +0000 (15:23 +0400)]
discoverer: Add source-setup signal for GstDiscoverer
https://bugzilla.gnome.org/show_bug.cgi?id=681260
Sebastian Dröge [Sat, 4 Aug 2012 10:28:45 +0000 (12:28 +0200)]
tagdemux: Add stream-id to stream-start event
Sebastian Dröge [Sat, 4 Aug 2012 10:16:44 +0000 (12:16 +0200)]
oggdemux: Add stream-id to the stream-start event
Tim-Philipp Müller [Sun, 5 Aug 2012 16:25:59 +0000 (17:25 +0100)]
tests: remove custom tcase_skip_broken_test define which is now in core
Tim-Philipp Müller [Sun, 5 Aug 2012 16:21:31 +0000 (17:21 +0100)]
tests: silence FIXMEs when running videoscale unit test
Tim-Philipp Müller [Sun, 5 Aug 2012 15:37:55 +0000 (16:37 +0100)]
Automatic update of common submodule
From 94ccf4c to 668acee
Tim-Philipp Müller [Sun, 5 Aug 2012 13:39:01 +0000 (14:39 +0100)]
video: make sure g-i doesn't parse orc-generated video-orc.h file
It's not public API.
Tim-Philipp Müller [Sat, 4 Aug 2012 22:29:27 +0000 (23:29 +0100)]
pbutils: use generic marshaller for discoverer's "discovered" signal
If this change causes build issues, run git clean -x -d -f; ./autogen.sh
Tim-Philipp Müller [Sat, 4 Aug 2012 22:09:06 +0000 (23:09 +0100)]
encodebin: use generic marshaller for signal
Tim-Philipp Müller [Sat, 4 Aug 2012 23:41:10 +0000 (00:41 +0100)]
adder: send CAPS event downstream fixing not-negotiated errors
Make sure to send a CAPS event downstream when we get our
first input caps. This fixes not-negotiated errors and
adder use with downstream elements other than fakesink.
Even gst-launch-1.0 audiotestsrc ! adder ! pulsesink works now.
Also, flag the other sink pads as FIXED_CAPS when we receive
the first CAPS event on one of the sink pads (in addition to
setting those caps on the the sink pads), so that a caps query
will just return the fixed caps from now on.
There's still a race between other upstreams checking if
caps are accepted and sending a first buffer with possibly
different caps than the first caps we receive on some other
pad, but such is life.
Also need to take into account optional fields better/properly.
https://bugzilla.gnome.org/show_bug.cgi?id=679545
Tim-Philipp Müller [Sat, 4 Aug 2012 21:25:08 +0000 (22:25 +0100)]
tests: add adder test to check that caps are sent downstream
Tim-Philipp Müller [Sat, 4 Aug 2012 19:45:02 +0000 (20:45 +0100)]
videoscale: fix 4-tap scaling for 64-bpp formats
Fix invalid memory access caused by broken pointer arithmetic.
If we have a uint16_t *tmpbuf and add n * dest->stride to it, we
skip twice as much as we intended to because dest->stride is in
bytes and not in pixels. This made us write beyond the end of
our allocated temp buffer, and made the unit test crash.
Tim-Philipp Müller [Sat, 4 Aug 2012 18:08:20 +0000 (19:08 +0100)]
videoscale: sprinkle some G_GNUC_INTERNAL
Not sure it actually makes any difference for plugins though.
Tim-Philipp Müller [Sat, 4 Aug 2012 17:51:12 +0000 (18:51 +0100)]
videoscale: make 4tap scanline funcs static
Tim-Philipp Müller [Sat, 4 Aug 2012 18:33:32 +0000 (19:33 +0100)]
riff: fix build on big endian systems
Thiago Santos [Sun, 29 Jul 2012 03:49:31 +0000 (00:49 -0300)]
appsrc: send caps event when the user updates appsrc caps
As buffer don't have caps anymore, the caps event needs to be pushed
before buffers are pushed.
Tim-Philipp Müller [Wed, 1 Aug 2012 16:46:46 +0000 (17:46 +0100)]
tag: fix month/day extraction in ID3v2 tags
We were passing month/day in the wrong order to
gst_date_time_new_ymd().
René Stadler [Mon, 30 Jul 2012 23:19:36 +0000 (01:19 +0200)]
discoverer: fix discover_uri returning finalized info object
Tim-Philipp Müller [Sat, 28 Jul 2012 10:54:38 +0000 (11:54 +0100)]
tag: fix up EXIF writer for GstBuffer -> GstSample
Tim-Philipp Müller [Sat, 28 Jul 2012 10:13:12 +0000 (11:13 +0100)]
audiocdsrc: update for TOC API change
Sebastian Dröge [Fri, 27 Jul 2012 21:59:31 +0000 (23:59 +0200)]
tag: Update for taglist/tag event API changes
Wim Taymans [Fri, 27 Jul 2012 13:21:51 +0000 (15:21 +0200)]
update for new variable names
Sebastian Dröge [Fri, 27 Jul 2012 10:58:40 +0000 (12:58 +0200)]
streamsynchronizer: Unblock streams on FLUSH_START events
Wim Taymans [Fri, 27 Jul 2012 10:19:04 +0000 (12:19 +0200)]
videoconvert: small cleanups
Make function pointers NULL when nothing needs to be done.
Pass target pixels to dither and matrix functions so that we can later make
them operate on the target buffer memory directly.
Edward Hervey [Thu, 26 Jul 2012 16:36:53 +0000 (18:36 +0200)]
video: Make all frame_number guint32
Unifies the code and ensures that:
* subclasses needing to use the frame_number on a void* field will
always work
* wraparounds will be automatically taken care of if we have to deal
with more than 2**32 frames
Wim Taymans [Thu, 26 Jul 2012 13:40:45 +0000 (15:40 +0200)]
audio-format: fix shift for 18 bits samples
The 18bits of the sample are in the LSB so we need to shift them 14 positions to
bring them to 32 bits.
Mark Nauwelaerts [Thu, 26 Jul 2012 12:28:26 +0000 (14:28 +0200)]
video{de,en}coder: delay input caps processing until processing data
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680614
Mark Nauwelaerts [Thu, 26 Jul 2012 12:27:38 +0000 (14:27 +0200)]
audio{de,en}coder: delay input caps processing until processing data
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680614
Arnaud Vrac [Wed, 25 Jul 2012 23:52:25 +0000 (01:52 +0200)]
video-frame: fix invalid plane id on video frame mapping error
Mark Nauwelaerts [Wed, 25 Jul 2012 13:51:45 +0000 (15:51 +0200)]
audioencoder: avoid setting output caps twice
... which may not be handled or appreciated well downstream,
e.g. muxers only performing header setup once.
Mark Nauwelaerts [Wed, 25 Jul 2012 12:56:35 +0000 (14:56 +0200)]
vorbisenc: adjust to modified audioencoder getcaps helper API
Mark Nauwelaerts [Wed, 25 Jul 2012 12:56:20 +0000 (14:56 +0200)]
audioencoder: also consider filter caps in getcaps
Mark Nauwelaerts [Wed, 25 Jul 2012 12:55:56 +0000 (14:55 +0200)]
audioconvert: prefer channels of base caps when fixating
... which in turn prefers to preserve input channels when converting.
Mark Nauwelaerts [Wed, 25 Jul 2012 12:53:28 +0000 (14:53 +0200)]
videoencoder: minor doc fix
Mark Nauwelaerts [Wed, 25 Jul 2012 10:29:36 +0000 (12:29 +0200)]
Revert "audioencoder: plug caps ref leak"
This reverts commit
08ff5899a77337eb8cd674e6d36d267220c56d32.
Was not a leak to begin with as we did not have ownership of caps.
Mark Nauwelaerts [Wed, 25 Jul 2012 09:54:58 +0000 (11:54 +0200)]
audioencoder: plug caps ref leak
Mark Nauwelaerts [Wed, 25 Jul 2012 09:54:35 +0000 (11:54 +0200)]
audiodecoder: hold caps ref while needed
Mark Nauwelaerts [Wed, 25 Jul 2012 09:54:14 +0000 (11:54 +0200)]
audioencoder: correctly compare audio info positions
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680553
Vivia Nikolaidou [Tue, 24 Jul 2012 18:37:15 +0000 (18:37 +0000)]
docs: Add new function to the docs
Vivia Nikolaidou [Tue, 24 Jul 2012 18:34:26 +0000 (18:34 +0000)]
win32: Update exported symbols list
Vivia Nikolaidou [Tue, 24 Jul 2012 18:02:08 +0000 (18:02 +0000)]
theoraenc: Call video_encoder_negotiate() once configured
Vivia Nikolaidou [Tue, 24 Jul 2012 17:23:56 +0000 (17:23 +0000)]
videoencoder: Expose _negotiate function
This is to be called by encoders once they have set the output format
in order for (re)negotiation to be triggered as early as possible.
https://bugzilla.gnome.org/show_bug.cgi?id=679878
Mark Nauwelaerts [Tue, 24 Jul 2012 12:48:20 +0000 (14:48 +0200)]
audiodecoder: only arrange to reconfigure if data provided
... otherwise audio format need not be known already.
Wim Taymans [Tue, 24 Jul 2012 12:36:58 +0000 (14:36 +0200)]
oggdemux: don't copy empty packets
Don't try to copy empty packets, which contain a repeated frame in theora.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680520
Sreerenj Balachandran [Wed, 11 Jul 2012 13:27:11 +0000 (16:27 +0300)]
video-blend: Doc fix
Marc Leeman [Wed, 18 Jul 2012 11:19:26 +0000 (13:19 +0200)]
gst-rtsptransports: no warning Transport end with semicolumn
Mark Nauwelaerts [Tue, 24 Jul 2012 09:53:09 +0000 (11:53 +0200)]
audiodecoder: minor doc fix
Wim Taymans [Tue, 24 Jul 2012 10:25:08 +0000 (12:25 +0200)]
audiovisualizer: fixate caps completely
Call gst_caps_fixate() to make sure that the caps are completely fixated before
using them as the final caps in negotiation.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680162
Wim Taymans [Tue, 24 Jul 2012 10:02:34 +0000 (12:02 +0200)]
xvimagesink: calculate target rectangle correctly
Use the negotiated size and PAR to center the image into the target window.
See https://bugzilla.gnome.org/show_bug.cgi?id=680093
Wim Taymans [Tue, 24 Jul 2012 09:23:30 +0000 (11:23 +0200)]
x11: match FORCE_ASPECT_RATIO default value
Set the default value for FORCE_ASPECT_RATIO correctly
Robert Swain [Tue, 24 Jul 2012 09:13:23 +0000 (11:13 +0200)]
docs: Improve gstvideo and add GstVideoFrame
Some items have been removed that are no longer in the headers
Edward Hervey [Tue, 24 Jul 2012 08:45:58 +0000 (10:45 +0200)]
decodebin2: Mark streams as complete on CAPS event but don't block
This allows the following use-cases to expose the group and pads
before an ALLOCATION query comes through:
* Single stream use-cases
* Multi stream use-cases where all streams sent the CAPS event before
the first ALLOCATION query
Some cases will still make the initial ALLOCATION query fail though,
which isn't optimal, but not fatal (it will recover when pads are
exposed, a RECONFIGURE event is sent upstream and elements can
re-send an ALLOCATION query which will reach downstream elements).
https://bugzilla.gnome.org/show_bug.cgi?id=680262
Robert Swain [Tue, 24 Jul 2012 07:35:10 +0000 (09:35 +0200)]
docs: Build GstVideoFrame gtk docs
Wim Taymans [Tue, 24 Jul 2012 07:26:42 +0000 (09:26 +0200)]
tests: add audio and video orc tests
Wim Taymans [Tue, 24 Jul 2012 07:09:22 +0000 (09:09 +0200)]
videotestsrc: prefix orc functions with video_test_src_orc
Jens Georg [Mon, 23 Jul 2012 21:08:13 +0000 (23:08 +0200)]
pbutils: Update ownership annotation of gst_container_add_profile
https://bugzilla.gnome.org/show_bug.cgi?id=680488
Christian Fredrik Kalager Schaller [Mon, 23 Jul 2012 16:50:07 +0000 (18:50 +0200)]
Update spec file with latest changes
Wim Taymans [Mon, 23 Jul 2012 15:30:50 +0000 (17:30 +0200)]
volume: prefix orc functions with volume_orc_
Wim Taymans [Mon, 23 Jul 2012 15:27:46 +0000 (17:27 +0200)]
adder: prefix orc functions with adder_orc_
Wim Taymans [Mon, 23 Jul 2012 15:24:13 +0000 (17:24 +0200)]
audioconvert: prefix orc functions with audio_convert_orc_
Wim Taymans [Mon, 23 Jul 2012 15:19:56 +0000 (17:19 +0200)]
videoconvert: prefix orc functions with video_convert_orc_
Wim Taymans [Mon, 23 Jul 2012 15:16:34 +0000 (17:16 +0200)]
audio: prefix orc_* functions with audio_orc_*
To avoid potential conflicts in other modules when statically linking
Wim Taymans [Mon, 23 Jul 2012 15:13:29 +0000 (17:13 +0200)]
videoscale: ranem gst_video_scale_orc -> video_scale_orc
So that functions are not exported
Wim Taymans [Mon, 23 Jul 2012 15:10:08 +0000 (17:10 +0200)]
video: rename gst_video_orc_* to video_orc_*
Because then the functions would not be exported
Wim Taymans [Mon, 23 Jul 2012 15:03:53 +0000 (17:03 +0200)]
videoscale: prefix orc functions with gst_video_scale_orc
See https://bugzilla.gnome.org/show_bug.cgi?id=680025
Wim Taymans [Mon, 23 Jul 2012 14:56:35 +0000 (16:56 +0200)]
orc: prefix orc functions with gst_video_orc_
See https://bugzilla.gnome.org/show_bug.cgi?id=680025
Wim Taymans [Mon, 23 Jul 2012 14:52:33 +0000 (16:52 +0200)]
orc: rename to video-orc*
Robert Swain [Mon, 23 Jul 2012 12:23:39 +0000 (14:23 +0200)]
video-frame: Add missing closing brakcets on flag macros
Wim Taymans [Mon, 23 Jul 2012 11:58:07 +0000 (13:58 +0200)]
video-frame: add macros to get frame flags
Wim Taymans [Mon, 23 Jul 2012 11:32:59 +0000 (13:32 +0200)]
video-frame: use interlacing buffer flags
Also use the buffer flags to enhance the GstVideoInfo flags in the case where
there was metadata on the buffers.
Sebastian Dröge [Mon, 23 Jul 2012 10:06:16 +0000 (12:06 +0200)]
videoencoder: Hold the stream lock when reconfiguring the element